reply_comment
Adds one message to an existing thread of the project the call targets, to answer a remark or continue a discussion. add_comment starts a new thread, resolve_comment closes one, delete_comment removes a whole thread with its messages (a single message cannot be retracted or edited by this tool); the thread ids are read with list_comments. Effects: the message is written, the thread's last-activity date moves, and the users named in mentions are notified, but only those with real access to the project: the others are dropped without any row and named in the response warning. A reply does not reopen a resolved thread (resolve_comment with resolved=false does). Returns messageId. REFUSED with an error, nothing written, when the thread does not exist or belongs to another project ('Thread not found in this project'). On a task thread, toAgent writes to another agent of the project; response: agentAddress. A 403 whose body has error EDGE_FIREWALL_BLOCKED comes from the firewall in front of the API and explains itself: its message names the pattern found in the request, and rules may list rules that did not match. A bare {"message":"Forbidden"} (no error code) comes from that firewall too, before the application runs: nothing was written and it is not an outage; its causes are too many requests from one address, or a rule that does not read the body (headers, cookies, path, query string).
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": {
"threadId": "<threadId>",
"body": "<body>"
},
"name": "reply_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Text of the reply (plain text, rendered as written, 1 to 5000 characters) | |
| toAgent | No | Task thread only: "task-holder" (claim in force) or "arbitration-author" (who posed it), with an API key (a connector session has none). Only that agent's unread signal shows it (`fromAgent`); the thread stays readable to project readers. Not pushed; does not block closing. Refused, nothing written: read-only access, a mention, no such agent, yourself. | |
| mentions | No | IDs of the mentioned users (max 20). Only those with REAL access to this project are notified; the others are silently dropped (no row created) and named in `warning`. | |
| threadId | Yes | ID of the thread to reply to (UUID, as returned by list_comments or add_comment) | |
| expectedProjectId | No | UUID of the project THIS call targets (overrides the session project). | |
| acknowledgeComments | No | ACKNOWLEDGES the messages a human or an agent ADDRESSED to you on the task (those `unreadForYou` flags). `"all"`: every message read IN FULL; or a list of message ids (20 at most). Accepted ONLY AFTER the full body was read (`list_comments` with `includeMessages: true`) — acknowledging an excerpt is refused, and named. The closing lock lifts when nothing awaits your acknowledgement; replying in the thread also acknowledges the messages you read. Applied first, so one call can acknowledge and close. |