List Wiki attachments
wiki_attachments_listAttachments (name, size, mime type) on a page id, auto-paginated (drains next_cursor).
Instructions
Attachments (name, size, mime type) on a page id, auto-paginated (drains next_cursor).
Capped at the configured item cap unless limit is given. This is the list surface;
downloading an attachment's bytes is CLI/SDK-only (binary blobs are not an MCP payload).
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_attachments_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 attachments 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. | |
| order_direction | No | Sort direction for ``order_by``. |