Send messages and comments
message_writeSay something to other agents and people in this organization. A message or comment cannot be unsent once read. Use comments for authorized review feedback, clarification questions and disagreements on shared content; continue the existing thread for the same issue. Messages are typed; a comment sits on a document or folder in the threads people use in the editor. Cross-agent handoffs use shared folder docs plus a typed send (optional wait), not a separate room surface. Two agents answering each other without new evidence are refused further rounds (loop_detected). Actions — send: send a typed message (kind: question, answer with reply_to any message you can read, finding, request, handoff, commitment, with that kind's field) to identities, exact names or role:; location anchors it to a document, where its readers can see it in the console; wait=true with a deadline registers a wait for the reply. decline: say no to a message addressed to you; whoever asked is woken by it (message_id, note). ack: ack a finding, handoff, answer or commitment addressed to you so it leaves brief_me Waiting on you / Answered for you (message_id, optional note); a question or request is declined or answered instead. close: close a message you sent (message_id, outcome done or broken for a commitment, note). comment: comment on a document or folder with authorized feedback or a new question (location, body); optional span or exact quote anchors passage-specific feedback; omit both for general discussion; @handle / @"Name" in body or to: notifies that identity's inbox. reply_comment: reply in a comment thread to answer feedback, continue a discussion or report a fix with evidence (thread, body); status=taken says you took its work on, by a date (by, default seven days), status=reported says it is done, with where it is (link); @mentions and to: notify inboxes the same way as comment. resolve_comment: resolve an addressed or explicitly closed comment thread when authorized, as its author or an editor of the document (thread); a reply alone does not establish resolution.
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": "message_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | send: commitment / request: when, as an ISO date (2026-11-08) or a date-time with a zone (2026-11-08T17:00:00Z) · reply_comment: reply_comment status=taken: the date you will have it by (default seven days from today) | |
| to | No | send: identity id, an agent's @handle, exact name, or role:<capability>; repeatable · comment, reply_comment: identity id, @handle, exact name, or role:<capability> to notify in their inbox; repeatable | |
| body | No | comment, reply_comment: the comment's text; @handle, @"Display Name" or a uuid after @ notifies that identity's inbox | |
| kind | No | send: what the message is; each kind has its field | |
| link | No | reply_comment: reply_comment status=reported: the document or folder the work is in. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too. | |
| node | No | send: the node it is about, by id. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too. | |
| note | No | decline, ack, close: decline, close: a short note to the other side; ack: optional note recorded on your recipient row | |
| 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 | send: the section it is about, as its heading text · comment: the span id it is about, from browse action=spans | |
| wait | No | send: register a durable wait for the reply, woken through your card's channel | |
| what | No | send: commitment: what you commit to. A person reads this field on its own in the console, without the thread: it is clearest as a sentence or two that stands alone, with longer detail in a document named in evidence | |
| quote | No | comment: the exact text it is about, when you have no span id | |
| action | Yes | what to do; each action takes the arguments its line names | |
| answer | No | send: answer: the answer itself, first. A person reads this field on its own in the console, without the thread: it is clearest as a sentence or two that stands alone, with longer detail in a document named in evidence | |
| packet | No | send: handoff: the packet itself | |
| reason | No | send, decline, ack, close: why you are doing this, in one line (at most 200 characters); recorded with the event and exported with the log | |
| status | No | reply_comment: reply_comment: say you took the thread's work on, or report it done; taken is refused while someone else holds the thread until its date | |
| thread | No | reply_comment, resolve_comment: the thread's root id | |
| finding | No | send: finding: what you found. A person reads this field on its own in the console, without the thread: it is clearest as a sentence or two that stands alone, with longer detail in a document named in evidence | |
| outcome | No | close: closed (default), or done or broken for a commitment | |
| request | No | send: request: what you need, from whom. A person reads this field on its own in the console, without the thread: it is clearest as a sentence or two that stands alone, with longer detail in a document named in evidence | |
| summary | No | send: handoff: what is being handed over. A person reads this field on its own in the console, without the thread: it is clearest as a sentence or two that stands alone, with longer detail in a document named in evidence | |
| deadline | No | send: with wait: when to stop waiting (ISO) | |
| evidence | No | send: what supports this — doc paths, commit hashes, message ids, URLs; repeatable | |
| location | No | send: the document or folder it is about. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too. · comment: the document or folder path. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too. | |
| question | No | send: question: what you are asking. A person reads this field on its own in the console, without the thread: it is clearest as a sentence or two that stands alone, with longer detail in a document named in evidence | |
| reply_to | No | send: the message this replies to | |
| 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 | |
| message_id | No | decline, ack, close: decline, ack, close, message, thread: the message's id, from browse action=inbox, brief_me or send | |
| cannot_share | No | send: answer: you hold more on this that the asker's chain may not see; the platform says so for you | |
| continuation | No | send: with wait: a note to your future self about what to do when it resolves | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loop | No | ||
| wait | No | ||
| action | Yes | the action that answered | |
| thread | No | resolve_comment: the thread resolved | |
| comment | No | ||
| message | No | ||
| comments | No | ||
| messages | No | ||
| replayed | No | ||
| truncated | No | inbox: more are waiting past this page | |
| nextOffset | No | inbox: the offset that shows them | |
| already_resolved | No | resolve_comment: it was resolved before this call |