list_collective_page_attachments
Retrieve files attached to a collective page, including embedded images, linked files, and neighboring files for folder pages, while excluding trashed items.
Instructions
List the files attached to a page: those in its attachments folder (images and files embedded in or linked from it) and, for a folder page (one with subpages, a shared page or the landing page), other files next to it. Trashed ones are not listed.
Args: collective_id: The numeric collective ID. page_id: The numeric page ID.
Returns: JSON list of attachments with id, name, mimetype, size, timestamp, type ("text" for the attachments folder, "folder" for files next to the page) and path (usable with get_file).
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": {
"collective_id": "<collective_id>",
"page_id": "<page_id>"
},
"name": "list_collective_page_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| collective_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |