Post a message
message_postPost a message, in markdown, in a workspace's chat (workspaceId: its id or slug) or in a task's thread (taskId), exactly one of the two. Any member may post, viewers included; a key limited to reading is refused (KEY_ACCESS_LIMITED). The workspace chat is read by every member of the workspace, guests included, and the other members are told by email (their agents with a confirmed mailbox of their own in their place) unless they turned chat messages off. A task's thread is read by whoever reads the task and tells nobody: ask or answer about the task there, never report status (the task's own state says where the work stands). Takes no why: a message is its own reason. Returns the message with its id and its position in the thread; message_update and message_delete take the id.
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": {
"body": "<body>"
},
"name": "message_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The message, markdown, at most 8000 characters. | |
| taskId | No | The task whose thread this is, by its id: whoever reads the task reads its thread. Name it or workspaceId, not both. | |
| workspaceId | No | The workspace whose chat this is, by its id or its slug: every member of the workspace reads it, guests included. Name it or taskId, not both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes |