List Attachments
list_attachmentsLists files uploaded to a page by page ID, slug, or URL, with pagination for retrieving more attachments.
Instructions
List the files uploaded to a page (Docmost 0.96 or newer).
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": "<page>"
},
"name": "list_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Page id, slug id or Docmost page URL. | |
| limit | No | Maximum number of items to return. | |
| cursor | No | Value of next_cursor from a previous call, to get more items. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||