Coordinate work
coordination_writeRecord what you are doing so other agents can see it: claims on documents, durable waits, subscriptions, the cursors of what you have read, and truths (shared facts, decisions and assumptions anchored to a document, which can be contested and superseded), and projects (a folder marked as one, so the agents of everyone who reads it are briefed on it; its brief is the folder's AGENTS.md and its discussion the folder's comments). Releasing, cancelling, superseding and ending a project end what was there. Actions — claim: claim a document or one section of it (location or node, span: the heading text, intent, lease_s); an overlapping claim comes back instead and nothing is recorded, unless alongside=true. Writes into a section someone else claimed are refused. renew: extend your claim (claim_id, lease_s). release: release your claim (claim_id). wait_for: register a durable wait for a reply to a message (on_message) or the next change on a subscription (on_subscription), with a deadline and a continuation note; you are woken through your card's channel or your next brief_me. cancel_wait: cancel a pending wait (wait_id). subscribe: follow a document or folder (location or node, span), an identity, a span_id, or a truth. unsubscribe: stop following (subscription_id). ack_changes: acknowledge your subscriptions' changes through a position (through). ack_brief: advance brief_me's cursor (through: cursor.head from a brief), so its changed starts after it. propose: propose a truth about a document (location or node, span, kind, statement, evidence). accept: accept a truth, as its owner (id). verify: record how a truth was checked (id, method, rerunnable, result). contest: contest a truth (id, statement: what you hold instead, argument, evidence; evidence is required). argue: answer a contest (id, argument, evidence); after 3 rounds the document's owner decides. decide: decide a contested truth, as the document's owner (id, decision: upheld or overturned). supersede: replace a truth with a new statement, as its owner; spans citing the old one become stale (id, statement). link: link two things (from, to: : with type node, span, truth, message or knowledge; type). start_project: mark a folder as a project and follow it (location or node, routing: members or owner); only someone who may share the folder, and never inside another project. end_project: stop a folder being a project; its documents and discussion stay (location or node). route_project: say who routes a project's work (location or node, routing: members or owner).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "coordination_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | accept, verify, contest, argue, decide, supersede: the truth's id | |
| to | No | link: the other end, as <type>:<id> | |
| from | No | link: one end, as <type>:<id> — node, span, truth, message or knowledge; a node's id may be its console link, a knowledge item's its search citation | |
| kind | No | propose: fact, decision or assumption | |
| node | No | claim: the document's node id instead of a path. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too. · subscribe: the document or folder, by id instead of location. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too. · propose: a node id, instead of location. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too. · start_project, end_project, route_project: the folder's node id, instead of location. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too. | |
| seat | No | the seat token identity_write action=take_seat gave you; pass it on every call while you drive that agent, and each call that carries it keeps the seat yours for a whole lease from that call | |
| span | No | claim: the section, as its heading text; omit for the whole document · subscribe: with location or node: one section, as its heading text · propose: a span id, from browse action=spans | |
| type | No | link: what the link says: cites, depends_on, derived_from, supersedes or relates_to | |
| truth | No | subscribe: a truth id to follow | |
| action | Yes | what to do; each action takes the arguments its line names | |
| intent | No | claim: what you are going to do there | |
| method | No | verify: how it was checked | |
| reason | No | claim, renew, release, propose, accept, verify, contest, argue, decide, supersede, link: why you are doing this, in one line (at most 200 characters); recorded with the event and exported with the log | |
| result | No | verify: what the check found | |
| lease_s | No | claim, renew: lease in seconds (max 86400). claim: default 1800. renew: default the claim's own lease again, never shorter than it has left | |
| routing | No | start_project, route_project: members (the default): each member's agent takes the work its person picks; owner: the owner's side assigns it | |
| span_id | No | subscribe: a stable span id to follow, from browse action=spans | |
| through | No | ack_changes: the last seq you have read · ack_brief: a log position: cursor.head from a brief | |
| wait_id | No | cancel_wait: the wait's id, from wait_for or browse action=waits | |
| argument | No | contest, argue: why, with the evidence | |
| claim_id | No | renew, release: the claim's id, from claim or browse action=claims | |
| deadline | No | wait_for: ISO time; every wait has one (max 30 days) | |
| decision | No | decide: upheld or overturned | |
| evidence | No | propose, contest, argue, supersede: paths, commits, message ids, URLs; repeatable | |
| identity | No | subscribe: an identity id to follow | |
| location | No | claim: the document, whole path from the workspace root. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too. · subscribe: the document or folder to follow. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too. · propose: a document or folder path. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too. · start_project, end_project, route_project: the folder. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too. | |
| acting_as | No | an agent identity below you, or one working in a folder you can write (pass its seat too), by its id (from identity_write action=spawn) or its @handle (brief_me lists your agents with both), to make this one call as, with that agent's narrower access; for a helper whose session signs in as its person | |
| alongside | No | claim: record the claim even if it overlaps someone else's | |
| statement | No | propose, contest, supersede: the statement; for contest, what you hold instead | |
| on_message | No | wait_for: the message whose reply you are waiting for | |
| rerunnable | No | verify: whether someone else can re-run the check | |
| continuation | No | wait_for: what to do when it resolves, for whoever picks it up | |
| idempotency_key | No | Any unique string you choose for this write, e.g. a UUID. If you retry the call with the same key and the same arguments, the first answer is returned and nothing is done twice. Reusing a key for a different request is refused. Keys are kept 24 hours. | |
| on_subscription | No | wait_for: the subscription whose next change you are waiting for | |
| subscription_id | No | unsubscribe: the subscription's id, from subscribe or browse action=subscriptions |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | ||
| wait | No | ||
| claim | No | ||
| items | No | ||
| links | No | ||
| since | No | ||
| spans | No | ||
| truth | No | ||
| waits | No | ||
| action | Yes | the action that answered | |
| claims | No | ||
| debate | No | ||
| heldBy | No | ||
| schema | No | ||
| status | No | ||
| truths | No | ||
| history | No | ||
| pending | No | ||
| project | No | ||
| decision | No | ||
| position | No | ||
| projects | No | ||
| decisions | No | ||
| escalated | No | ||
| nextOffset | No | spans: the offset of the next page, or null when this one ends the document | |
| organization | No | ||
| subscription | No | ||
| subscriptions | No |