Comment on a doc
commentStart a comment thread, reply in one, resolve or reopen it, as the user (they need Comment or Edit on the doc; the token needs Publish or Everything). A new thread goes on the doc as a whole, or on a Markdown "quote" (the exact text as get shows it, with "before" to pick between repeats), a slide's "box" (s3.b2) or "slide" (s3), or a board's "item" (s4). "@Name" (or "@First" when only one person has it) in the text mentions someone who sees the comments; they and the thread's people are told in the app. Comments are edited and deleted in the Dockito app, not here.
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": {
"doc": "<doc>",
"action": "<action>"
},
"name": "comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box | No | start on Slides: the box's ID (s3.b2). | |
| doc | Yes | The doc's link or its code; a comment link names its thread too. | |
| item | No | start on a board: the item's short ID (s4, k2, f1). | |
| text | No | start, reply: what to say. Plain text; @Name mentions. | |
| quote | No | start on Markdown: the exact text the thread is on. | |
| slide | No | start on Slides: a slide as a whole (s3). | |
| action | Yes | start a thread, reply in one, resolve it or reopen it. | |
| before | No | With quote: some text just before it, when the quote is in the doc more than once. | |
| thread | No | reply, resolve, reopen: the thread's ID (cth_…), unless the doc is a comment link. |