Comment on a Rootr document
rootr_comment_documentAdd comments to Rootr documents with optional block anchoring or threaded replies. Requires an ACCOUNT key; workspace-scoped keys result in a 403 error.
Instructions
Add a comment to a Rootr (루터) document (optionally anchored to a block, or as a reply via parentId). Comments carry a user identity, so this requires an ACCOUNT key (PAT) — a workspace-scoped key (including remote-connector tokens) gets a 403; fall back to rootr_append in that case.
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": {
"target": "<target>",
"body": "<body>"
},
"name": "rootr_comment_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Comment text (markdown) | |
| target | Yes | Document path (starting with "/") or node id | |
| blockId | No | Block id to anchor the comment to | |
| parentId | No | Parent comment id, to reply in a thread |