mcp
v0.0.1-beta.17348Product Brain — MCP server for AI-assisted product knowledge management
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
session Session — Lifecycle & Facilitation
Start here. When the person says "Start my Product Brain session.", call start. Session lifecycle, wrapup review, and work package facilitation. - **start**: Begin a tracked write session for attribution. **This is the ONLY call that creates a session** — write tools (capture, entries action=update/accept, relations) require it. Its reply is the briefing; then `orient task="<what you are doing>"` loads the context for a task. - **close**: End the current session. Records structured data (entries created, modified, relations). Run `session action=wrapup-review` before closing. - **status**:…
| Parameter | Type | Description |
|---|---|---|
action * | string | 'start': begin a tracked session. 'close': end the session and record activity. 'status': check current session state. 'wrapup-review': list this session's drafts before closing. 'resume': load sessio… |
betEntryId | string | For 'resume': work package entry ID. Required. |
preview | string | Start: serve this workspace draft, like direction@4; facts after a semicolon. |
role | string | For 'start': role to act as this session, by the '<PREFIX>-<n>' id a start reply prints beside the role name — only needed if you hold more than one; the error lists your roles if omitted. |
sessionId | string | The sessionId `session action=start` returned. Pass it on every write: the connection does not remember your session between calls. |
team | string | For 'start': the team the role is held in, by its 'TEAM-<n>' id — only needed with role, when you hold that role in more than one team; a refusal that names the way in prints it. |
entries Entries
Write entries on the Chain: the entry lifecycle after capture. Reads live on `context`. - **update**: Change fields on an existing entry (publishes whenever the entry is not draft — includes archived, not just current entries; autoPublish is accepted but ignored). - **accept**: Accept a draft entry onto the Chain. Runs the possible-clash check first. - **move**: Relocate an entry to a different collection; pass canonicalKey too for an atomic move+retype. - **verify**: Mark verified (lightweight, no scan — see `quality action=verify-chain`). - **replace**: one accepted entry replaces anoth…
| Parameter | Type | Description |
|---|---|---|
action * | string | 'update': change fields on an existing entry (draft by default). 'accept': accept a draft entry onto the Chain. 'move': relocate an entry to a different collection (pass `canonicalKey` too for an atom… |
autoPublish | boolean | For 'update': accepted for backward compatibility but IGNORED — draft vs. published is decided by the entry's own accepted/active status, never by this flag. |
canonicalKey | string | For 'update': semantic type (e.g. 'decision', 'tension'); only changeable on draft entries. For 'move': optional atomic move+retype target. |
changeNote | string | For 'update': short human-readable rationale for WHY this change was made. Recorded on the history event, and on the version an accepted entry's save publishes. If omitted, the history names the field… |
changeReason | string | For 'update': Change reason — required when the update changes a promise field of an accepted entry. Recorded on the history event, and on the version an accepted entry's save publishes. |
changedByEntry | string | For 'update': the entry this update answers; needs changeReason. Either a possible clash's other entry or a draft changing this one. |
coherencyAcknowledgement | object | For 'update'/'accept': your answer when an entry links to nothing. |
data | object | For 'update': fields to update (merged with existing data). |
entryId | string | Entry ID, e.g. '<PREFIX>-<n>'. Required for: update, accept, move, verify, still-true, replace (the entry being replaced). |
name | string | For 'update': new display name. |
newEntryId | string | For 'replace': the accepted entry that replaces entryId (required). |
order | number | For 'update': new sort order. |
preview | boolean | For 'accept': if true, validates the accept without writing — returns what would happen. |
qualityOverrideReason | string | For 'update'/'accept': why a text keeps or passes after its checklist failed; on update, at least 12 characters. Your name is kept with it. |
reason | string | For 'accept' with replaces, and for 'replace': why, one line of at most 200 characters (required). |
replaces | string | For 'accept': the accepted entry of the same kind this one replaces; it is archived. |
sessionId | string | The sessionId `session action=start` returned. Pass it on every write: the connection does not remember your session between calls. |
sourceExcerpt | string | For 'update': verbatim excerpt from the source backing this entry's claims. Write-once. |
sourceRef | For 'update': link or path of this entry's source; null clears it. | |
status | string | For 'update': draft|archived ONLY — 'accepted' is set via 'accept', never 'update'; 'active'/'deprecated' are legacy read-only words, refused on write. Workflow values use `workflowStatus` instead. |
steeringOverrideReason | string | For 'update'/'accept': why it stands alone, at least 12 characters. Your name is kept with it. |
toCollection | string | For 'move': target collection slug, e.g. 'decisions', 'rules'. |
workflowStatus | string | For 'update': collection workflow state. Valid values are collection-specific and server-owned — discover via `collections action=describe`. Invalid values are rejected with the valid set. |
relations Relations
Create and delete relations between entries, each written only on request with exactly the verb you send. Read relations with the read-only `context action=find`. Each level links to the one above: A work package validates an accepted key result or KPI. A key result hangs on an accepted objective with part_of. An objective hangs on an accepted strategy with part_of. A strategy hangs on an accepted vision with part_of. A vision hangs on an accepted purpose with part_of.
| Parameter | Type | Description |
|---|---|---|
action * | string | 'create': link two entries. 'batch-create': create multiple relations (validates every item before writing any). 'delete': remove a relation. |
from | string | For 'create'/'delete': source entry ID. |
move | boolean | For 'create' with part_of: move the entry off the parent it already hangs on, in one write. |
preview | boolean | For 'create': if true, checks the relation and writes nothing. |
relations | array | For 'batch-create': array of {from, to, type}. |
sessionId | string | The sessionId `session action=start` returned. Pass it on every write: the connection does not remember your session between calls. |
to | string | For 'create'/'delete': target entry ID. |
type | string | Relation type, for create, delete and each batch-create item. |
context Context
Read the Chain. Every action is a read except incremental, which records the brief run it steers. - **get**: Full entries by ID: data, labels, relations, history. entryIds reads up to 20. - **batch**: get with entryIds. - **history**: Audit trail for an entry. - **list**: Browse entries by collection, status, tag or label; collections action=list names the slugs. - **search**: Full-text search; scope by collection or status. - **find**: An entry's direct relations, both ways; not text search. - **people**: The workspace's members: name, email, status, role. Max 200. - **outcome**: A key resul…
| Parameter | Type | Description |
|---|---|---|
action * | string | 'get': entries in full by ID (entryIds: up to 20). 'batch': get with entryIds. 'history': audit trail for an entry. 'list': browse entries with filters (current entries by default). 'search': full-tex… |
briefType | string | Compound query type for 'brief' action. 'steering': 7d changes + structural aggregation (part_of, depends_on, constrains) + incremental delta + workspace readiness. 'confidence': 7d changes + active b… |
canonicalKey | string | For 'accountable'/'preflight': one kind, e.g. tension. |
collection | string | For 'list'/'search': collection slug, e.g. 'glossary', 'tensions'. Required for 'preflight'. |
cursor | number | For 'accountable'/'tasks': nextCursor of an earlier page. |
direction | string | For 'chain': 'outgoing' follows relations from source, 'incoming' to source (default outgoing). For 'find': incoming|outgoing|both (default both). |
entryId | string | The entry ID for the actions that read one entry; optional for 'gather' (entry-graph mode). |
entryIds | array | For 'get'/'batch': up to 20 entry IDs. |
label | string | For 'list': a label slug, across all collections. |
limit | integer | For 'readings'/'accountable': max rows (default and maximum 200). |
links | array | For 'preflight': proposed links. |
mapEntryId | string | For 'gather': journey map entry ID for journey-aware context. Returns context organised by journey stage. Takes precedence over entryId when both are supplied. Example: '<PREFIX>-<n>'. |
maxHops | number | Relation traversal depth (1=direct only, 2=default, 3=wide net, 4=deep chain walk) |
maxResults | number | Max entries to return in gather task mode (default 10) |
mode | string | For gather: 'search' (default) or 'graph' (enhanced with provenance paths). Ignored when mapEntryId is provided. |
query | string | For 'search': search text. |
relationType | string | Relation type filter. For 'chain': optional filter to traverse only this relation type. For 'cross-cut': required — scans all relations of this type across the workspace. Examples: 'part_of', 'infor… |
roleId | string | For 'accountable'/'tasks': the role's id. |
sessionId | string | The sessionId `session action=start` returned. Pass it on every write: the connection does not remember your session between calls. |
since | string | For 'changes': ISO 8601 timestamp — returns entries/relations modified since this time. For 'brief' briefType='delta': optional custom timestamp. Example: '2026-03-24T00:00:00Z'. |
skill | string | Skill name for 'incremental' action — identifies which skill's brief history to compare against. Examples: 'preflight', 'shaping', 'review'. Required when action is 'incremental'. |
status | For 'list': defaults to current entries (active/accepted/current); use status='draft' to discover drafts. One lifecycle or category value (draft|accepted|active|current|archived|deprecated|past|discar… | |
strategy | string | For gather task mode: 'keyword' (text search, default) or 'hybrid' (vector plus text). |
tag | string | For 'list': filter by internal tag. |
task | string | For 'gather': the task in plain words; loads its binding rules and supporting context. |
collections Collections
Manage knowledge collections and workspace labels. Eleven actions: - **list**: Browse all collections — glossary, decisions, rules, tensions, etc. Returns slug, name, description, and field schema. Use before capture to see what exists. - **describe**: Full documentation for a single collection. Returns field help text, option decision guides, usage guidance, examples, and cross-references. Use when you need to understand a collection's purpose, field semantics, or option values. - **update**: Update a collection's purpose, navGroup, fields, or (non-system only) stageLabelMap; its name, des…
orient Orient
Task-grounded context loader. Call `session action=start` first; it opens the session and hands you the briefing. Pass `task` to load the governance and context for a specific task. Orient is advice for captures, relations, accepts, ticks and questions; workflow checkpoints and organisation-structure writes (membership, ownership, parent) still require an oriented session. Purpose, vision and strategy highlights are always served in full; a grounding status flags when other context was reduced. Set depth with `tier` or `mode`; `rules` adds each rule's whole body.
| Parameter | Type | Description |
|---|---|---|
action | string | 'task': task-grounded context loader, the only action. |
invocationPath | string | For 'task': how this orient was invoked. Defaults to 'manual-orient' (the direct `orient task=...` call shape) when omitted. |
mode | string | For 'task': full (default), or brief: a compact summary (tier=summary). |
rules | boolean | For 'task': true adds each rule's whole body under its line. |
sessionId | string | The sessionId `session action=start` returned. Pass it on every write: the connection does not remember your session between calls. |
startupSignals | object | For 'task': best-effort startup signals — changedPaths/reviewedArtifactRefs/branchName/worktreeName. All optional; omit fields you don't know. |
task | string | For 'task': natural-language task description for task-scoped context. When provided, orient returns scored, relevant entries for the task. |
tier | string | For 'task': payload depth: summary (~10 KB), standard (~256 KB, the default) or full (no cap). An explicit tier wins. |
capture Capture
The tool for creating a single knowledge entry. Creates an entry and returns a quality scorecard — all in one call. Provide a name and description; `collection` is optional — the kernel classifies when omitted and files a low-confidence pick as a draft with one line saying so. An agent capturing several atoms from one text calls this once per atom. **Explicit data:** When you know the schema, pass `data: { field: value }` to set fields directly. A value in `data` is kept as sent; `description` is the entry's text and fills the collection's prose field only when `data` leaves it empty (the…
| Parameter | Type | Description |
|---|---|---|
action | string | Create a single knowledge entry. |
canonicalKey | string | Semantic type, e.g. 'decision' or 'vision'; set from the collection if omitted. |
collection | string | Collection slug, e.g. 'tensions', 'rules', 'decisions'. |
context | string | Extra context, appended to the description: stored only when the description is, not when data carries the prose field. |
data | object | Explicit field values; user-provided wins over inferred. |
description | string | The detail, in Markdown. For a key result, open with what counts toward it; at most 4000 characters. |
links | array | Links written with the entry; each returns written or refused with a reason, and a refusal fails nothing. |
name | string | A kind prefix is dropped. At most 40 characters for an objective, key result or KPI, 80 for a decision, tension, insight, task, question, work package or SOP, 110 bytes for a rule, 250 for any other k… |
ownerRoleEntryId | string | Owning role (rung-2); you must hold it; its team is the one you hold it in (root first, else the shallowest). |
preview | boolean | If true, validates without writing. |
sessionId | string | The sessionId `session action=start` returned. Pass it on every write: the connection does not remember your session between calls. |
sourceExcerpt | string | Verbatim excerpt from the source backing this entry's claims. |
sourceRef | string | URI or path of the source document backing this entry. |
suggestOnly | suggestOnly was removed: call capture with preview: true to check a capture without writing. | |
team | string | For a role: the team it is born in. For a team: its parent team. Entry ID or ref; defaults to the root team. |
why | string | Why this entry exists. |
quality Quality
Assess, re-evaluate, and verify entry/work package quality. Four actions: - **check**: Read the entry's server quality verdict (tier + criteria) — it does not re-score. - **re-evaluate**: Trigger a fresh quality evaluation. Returns heuristic verdict immediately, schedules LLM evaluation in background. - **verify-chain**: Verify knowledge entries against the actual codebase (codeMapping drift, cross-references) — absorbs `verify`. Produces a trust report with a trust score. - **spine-check**: Checks the direction, purpose to key results, for duplicates, unlinked entries and a strategy that…
| Parameter | Type | Description |
|---|---|---|
action * | string | 'check': read the entry's server quality verdict (tier + criteria). 're-evaluate': trigger fresh evaluation. 'verify-chain': verify entries against the codebase (codeMapping drift, cross-references) â… |
collection | string | For 'verify-chain': collection slug to verify (default: glossary). |
context | string | For re-evaluate: evaluation context |
entryId | string | For 'check'/'re-evaluate': entry ID, e.g. 'TEN-graph-db', '<PREFIX>-<n>'. |
mode | string | For 'verify-chain': 'report' = read-only trust report (default). 'fix' = also update drifted codeMapping statuses. |
refresh | boolean | For 'spine-check': force a new run even if a fresh verdict already exists. Default false — a plain call NEVER re-triggers work just to read the last result; it auto-schedules only when no run is alr… |
sessionId | string | The sessionId `session action=start` returned. Pass it on every write: the connection does not remember your session between calls. |
story | boolean | For 'spine-check': also run the one-story judgment (never scheduled; result labelled [unvalidated]). |
workflows Workflows
Chainwork workflow discovery, start/resume, checkpointing, and run inspection. Four actions: - **list**: Browse available workflows — retro, shape-a-bet, implementation-review, process-change. - **start**: Start or resume a workflow. Call with workflowId (e.g. 'implementation-review', 'retro', 'shape', 'process-change'). Returns the first (or current) round instructions and the exact checkpoint call to use when the round is complete. Use this when the user says 'run implementation review', 'run retro', 'shape this', or 'process change' — it is the tool entry point for running a workflow.…
| Parameter | Type | Description |
|---|---|---|
action * | string | 'list': browse available workflows. 'start': start or resume a workflow — returns first (or current) round and next-step checkpoint call. 'checkpoint': record round output or final summary. 'get-run… |
isFinal | boolean | If true, finalize an existing durable workflow run from its terminal round and create the summary chain entry. |
output | The round's output — either legacy synthesized text or a typed workflow run payload. | |
ownerRoleEntryId | string | For 'checkpoint' (isFinal): owning role (rung-2). |
ownerTeamEntryId | string | For 'checkpoint' (isFinal): owning team (rung-2). |
restart | boolean | If true, start a new durable run from the workflow's first round in the current session. |
roundId | string | Round ID for checkpoint, e.g. 'what-went-well' |
runId | string | Workflow run ID: for get-run, which run to load; for checkpoint, target this run (avoids session drift — pass runId from get-run). |
sessionId | string | The sessionId `session action=start` returned. Pass it on every write: the connection does not remember your session between calls. |
summaryDescription | string | Optional override for the final chain entry description. Defaults to the final round output text. |
summaryEntryId | string | Link an existing entry as the run's summary instead of creating one. Used by facilitated workflows (e.g. shape) where the primary record is created by the specialized tool. |
summaryName | string | Optional name for final chain entry. If omitted, the workflow summary template is used. |
workflowId | string | Workflow ID for start, checkpoint, or get-run, e.g. 'retro', 'implementation-review' |
workspace Workspace
Diagnostics, session identity, and usage for the current workspace. Six actions: - **check**: Verify connectivity — workspace, collections, entries, latency. - **whoami**: Session identity — workspace ID, slug, name. - **status**: Workspace readiness — checks (pass/fail), gaps, stats (entries, relations, orphans). - **audit**: Session audit log — last N backend calls with summary. - **self-test**: Validate all registered tool schemas. - **usage**: LLM usage and cost summary — spend, tokens, model/feature breakdown.
| Parameter | Type | Description |
|---|---|---|
action * | string | 'check': connectivity and workspace stats. 'whoami': session identity. 'status': workspace readiness. 'audit': session audit log. 'self-test': validate all tool schemas. 'usage': LLM usage and cost su… |
limit | number | For 'audit': how many recent calls to show (max 50, default 20). |
periodDays | number | For 'usage': number of days to look back (default 30, max 90). |
sessionId | string | The sessionId `session action=start` returned. Pass it on every write: the connection does not remember your session between calls. |
feedback Feedback — Submit & Triage
Submit Product Brain feedback from any agent, including with a read-only key and no session. list reads back your own workspace's feedback (all statuses, no gate). Vendor operators can also queue (triage), note, group, and change queue status.
| Parameter | Type | Description |
|---|---|---|
action * | string | submit requires message; list returns your own workspace's feedback (all statuses); queue is the vendor triage queue (system admins only) and accepts filters; note requires feedbackId+note; group requ… |
answer | string | status only: the one sentence the reporter reads under their report, dated (at most 240 characters). |
before | number | Queue-only upper createdAt window bound (exclusive) in epoch milliseconds. A time-window FILTER, not the pager — use cursor to page. |
category | string | Submit/queue category; submit defaults to other. |
client | string | Optional submit client label. |
command | string | Optional submit command context; argument values are scrubbed server-side. |
cursor | string | Opaque pagination cursor from a previous list/queue response (continueCursor); omit for the first page. |
feedbackId | string | Required for note/status: target feedback ID. |
feedbackIds | array | Required for group: 1–100 target feedback IDs. |
full | boolean | list/queue only: return untruncated messages; allowed only when limit <= 5. |
groupId | Group filter, or required group destination; null explicitly clears grouping. | |
limit | integer | list/queue row limit, default 50, maximum 100. |
message | string | Required for submit: the product feedback text (at most 10,000 characters). |
note | string | Required for note: replacement triage note (at most 4,000 characters). |
route | string | Optional submit route context. |
sessionId | string | The sessionId `session action=start` returned. Pass it on every write: the connection does not remember your session between calls. |
since | number | Queue-only lower createdAt window bound (inclusive) in epoch milliseconds. |
status | string | list/queue filter (any status, including 'screening'); the status action's required target value excludes 'screening' (system-only). |
tensionId | string | status only: the tension the report joined, its display id TEN- and a number (vendor-only, never shown to the reporter). |
workspaceId | string | Queue-only filter (vendor cross-workspace triage); omitted means all workspaces. Has no effect on list — your own workspace is always injected server-side. |
conflicts Possible clashes
List possible clashes; propose; a person answers.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
choice | string | |
issueId | string | resolve or propose: id from list. |
mode | string | list: all adds answered and snoozed ones. |
reason | string | |
sessionId | string | The sessionId `session action=start` returned. Pass it on every write: the connection does not remember your session between calls. |
target | string | |
verdict | string |
question Question
Routed questions — ask a role with `toRole` on create and the question is assigned to it at once. With no role named, your own team's Team Lead holds it; a Team Lead named without a team is your own team's. Six actions: - **create**: ask a question from text; `toRole` assigns it to that role at once; `toTeam`: The team whose Team Lead holds it; only for Team Lead, which is held in every team. - **assign**: reassign to a role (`toRole` required, `toTeam` as on create); the asker may, once, while a team lead holds it. - **answer**: writes `text` on the question as its answer, in full; `answer…
| Parameter | Type | Description |
|---|---|---|
action * | string | 'create': ask a question; toRole assigns it to that role at once. With no role named, your own team's Team Lead holds it; a Team Lead named without a team is your own team's. (generic entry creation a… |
answerEntryId | string | 'answer': Link an entry beside the answer text; it resolves the question. Never instead of the text. |
blocks | array | 'create': entry ids this question is blocking (repeatable). |
entryId | string | Target question's id (human TEN-nnn form or a raw entry id). Required for every action except 'create'/'list'. |
mine | boolean | 'list': true for every question you asked, any status; omit for what you owe. |
reason | string | 'force-close': required reason. |
role | string | 'list': role id (not with mine). |
sessionId | string | The sessionId `session action=start` returned. Pass it on every write: the connection does not remember your session between calls. |
team | string | 'list': Team Lead rows' team; no role: one you lead (TEAM-n); not with mine. |
text | string | 'create': the question text. 'answer': The answer in full, at most 4,000 characters. 'add': the line to add. |
toRole | string | The role (ROL-nnn or a raw entry id): optional on 'create', required on 'assign'. |
toTeam | string | 'create' and 'assign', with toRole (TEAM-nnn or a raw entry id): The team whose Team Lead holds it; only for Team Lead, which is held in every team. |
role Role
Workspace roles — who holds a role, where it sits and what it owns. Eight actions: - **seat**: put a person in this role, by person id or email, or by `newPersonName` for someone with no login yet (a placeholder person, created once per exact name). The role's home team is used; name `teamId` only for Team Lead. A held role refuses a second holder and names the holder; the person keeps their other roles in the team. Needs the team's Team Lead. With `replace`, the lead above replaces a team's Team Lead in one write. The lead directly above a team also decides who leads it. With `onMyAuthorit…
| Parameter | Type | Description |
|---|---|---|
action * | string | 'seat': put a person in this role. 'unseat': take this role from a person. 'release_move' / 'accept_move' / 'refuse_move': move a role or team to a team with another Team Lead. 'move_work': move every… |
childId | string | 'release_move' / 'accept_move' / 'refuse_move': the role or team that moves, by chain id or entry id. |
dryRun | boolean | 'move_work': list the role's open items, 200 a page with how many are listed, and change nothing. |
fromRoleId | string | 'move_work': the role whose open work moves, by chain id or entry id. |
newPersonName | string | 'seat': the name of a person who has no login yet; a placeholder person is created once and reused for the same exact name. Refused when the name belongs to someone with an account. |
onMyAuthority | boolean | 'seat', Team Lead only: as the team's Team Lead, seat a second Team Lead who holds the seat on your authority until you unseat them. |
page | integer | 'move_work' with dryRun: the page to list, from 1. |
person | string | 'seat' / 'unseat': an existing person, by person id or exact email. For 'seat', give this or newPersonName, not both. |
replace | string | 'seat', Team Lead only: the holder you replace as the lead above. They are unseated in the same write. |
roleId | string | The role, by the human chain id `chain.getEntry` or `pb get` would print for it, or a raw entry id. |
sessionId | string | The sessionId `session action=start` returned. Pass it on every write: the connection does not remember your session between calls. |
teamId | string | 'seat' / 'unseat': the team, by chain id or entry id. Only needed for Team Lead, which lives in every team; any other role is seated in its home team. 'release_move': the team it moves to. 'give_right… |
toRoleId | string | 'move_work': the receiving role; without it, the nearest Team Lead of the old role's home team. |
why | string | 'refuse_move': why the move is refused; it becomes a tension for the old team's Team Lead. |
people People
People in the workspace. Two actions: - **invite**: send a login link to `email`. Give `person` (a placeholder's id, as `role action=seat` printed it) to invite that person in place: they keep every role they hold. Or give `newPersonName` to invite someone new. A person who already has a login or an invite is refused. Needs a workspace owner or admin. - **remove**: take `person` out of the team `teamId`; every role they hold there goes with it. To take one role, use `role action=unseat`. Needs the team's Team Lead.
| Parameter | Type | Description |
|---|---|---|
action * | string | 'invite': send a login link by email. 'remove': take a person out of a team. |
email | string | 'invite': where the login link goes. Required for 'invite'. |
newPersonName | string | 'invite': the name of a new person to invite, instead of person. |
person | string | 'invite': a placeholder's person id, instead of newPersonName. 'remove': the person, by person id or exact email. |
sessionId | string | The sessionId `session action=start` returned. Pass it on every write: the connection does not remember your session between calls. |
teamId | string | 'remove': the team, by chain id or entry id. Required for 'remove'. |
outcome Outcome
Key result and KPI outcomes: record the measured readings behind a number. - **record**: Record a reading — evidence, not a verdict; any connector may record one. Read with the read-only `context` tool: `context action=outcome entryId="..."` (the derived view, its objective and sibling key results), `context action=readings entryId="..."` (the readings).
| Parameter | Type | Description |
|---|---|---|
action * | string | 'record': record a reading (evidence, not a verdict). Reads live on context: action=outcome and action=readings. |
asOf | string | 'record': when the world was in this state, as a parseable date (default: now). Back-dating a backfill is legitimate — it shows up as asOf earlier than recordedAt. |
correctsReadingId | string | 'record': required with kind='correction' — the reading id this replaces. Refused if that row is already superseded. |
count | number | 'record': The number counted |
entryId | string | The key result or KPI, by its chain id. Required. |
kind | string | 'record': measurement | estimate | correction (default: measurement). |
note | string | 'record': free-text note recorded with the reading. |
recordedByRoleId | string | 'record': the accountable role (default: the entry's reporter, then its owner). |
sessionId | string | The sessionId `session action=start` returned. Pass it on every write: the connection does not remember your session between calls. |
source | string | 'record': Where the number comes from (required for a KPI) |
total | number | 'record': Out of how many |
value | number | 'record': the measured value; or leave it out and give count and total. |
valueText | string | 'record': verbatim as-reported form when the source was not clean, e.g. '~62%'. Display only. |