List Wiki comments
wiki_comments_listComments on a page id, auto-paginated (drains the next_cursor internally).
Instructions
Comments on a page id, auto-paginated (drains the next_cursor internally).
Capped at the configured item cap unless limit is given. Pair with
pages_get_meta (its attributes.comments_count tells you how many exist).
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": {
"page_id": "<page_id>"
},
"name": "wiki_comments_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Return everything, ignoring the cap. A long listing is better taken in pieces: `limit`, then `next`. | |
| next | No | Go on from where an earlier call stopped, with the `next` it returned: the token carries its listing; give what is required again, and nothing else but the limit. | |
| limit | No | Max comments to return; omitted means the configured cap of a tool (YCLI__HTTP__MAX_TOOL_ITEMS). | |
| page_id | Yes | Numeric page id, from ``pages_get_meta`` or a page ref. | |
| order_by | No | Sort field: ``created_at``. | |
| status_filter | No | Keep only the comments in this state. | |
| order_direction | No | Sort direction for ``order_by``. |