List Docmost page attachments
list_attachmentsLists files and images uploaded to a specific page, newest first, with ID, name, type, size, uploader, and URL for reviewing or retrieving page media.
Instructions
Lists the files and images uploaded to a page, newest first, with each file's id, name, type, size, uploader and URL.
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": {
"pageId": "<pageId>"
},
"name": "list_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results to return; defaults to 20. | |
| cursor | No | nextCursor from the previous call, to fetch the next results. | |
| pageId | Yes | Page id, slug id, or the full page URL copied from the browser. |