post_comment
Comment on a range of characters in the published plan. Use it after get_room, counting characters in its body. Returns the comment with the quoted text the range covered, or 400 when the range is outside the plan.
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": {
"id": "<id>",
"author": "<author>",
"body": "<body>",
"start": "<start>",
"end": "<end>"
},
"name": "post_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | the room id, from get_rooms | |
| end | Yes | the character after the last one in the range | |
| body | Yes | the comment, up to 4,000 characters | |
| start | Yes | the first character of the range, counting from 0 | |
| author | Yes | the display name to comment under |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The comment id. | |
| body | Yes | The text. | |
| at_ms | Yes | When it was posted. | |
| anchor | Yes | Where in the plan a comment points. A range over the published body in CHARACTERS, plus the text it covered when the comment was made. The server validates the range against the body it holds, and reports when a later revision has moved the text from under the comment. | |
| author | Yes | Who wrote it. | |
| status | Yes | A comment's lifecycle. | |
| resolved_by | No | Who resolved it, when resolved. | |
| resolved_at_ms | No | When it was resolved. |