comments
List all comments on a page, retrieve a single comment by ID, or create new comments and replies using page and discussion IDs.
Instructions
Manage page comments.
Actions (required params -> optional):
list (page_id): all comments on a page
get (comment_id): single comment
create (content -> page_id for new discussion, discussion_id for reply)
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": {
"action": "<action>"
},
"name": "comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| content | No | Comment content (for create) | |
| page_id | No | Page ID | |
| comment_id | No | Comment ID (for get action) | |
| discussion_id | No | Discussion ID (for replies) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||