Reply to a comment thread
reply_commentAdd a reply to an inline comment thread using its thread ID; the connected user authors it. Use it to respond to page comments and return the new comment.
Instructions
Adds a reply to an inline comment thread (a thread id from list_comments). The reply is authored by the connected user. Requires a write-scoped token and a signed-in account that can read the page. Not available on a public site. Returns the new comment.
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 | The reply, plain text (@username mentions are kept as written) | |
| threadId | Yes | Comment thread id, from list_comments |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | Yes |