Set Page Cover
set_page_coverSet or clear a page cover from a preset or page image attachment; updates metadata only, keeping the page body intact. Requires Docmost 0.98+.
Instructions
Set a page cover from a built-in preset or an image attachment of that page; remove=true clears it. Exactly one choice is required. Changes only metadata, keeping the body intact. Needs Docmost 0.98+.
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": "set_page_cover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Page id, slug id or Docmost page URL. | |
| preset | No | Built-in color, gradient or texture. | |
| remove | No | Remove the cover. | |
| position | No | Vertical position, 0 to 100 percent. | |
| attachment_id | No | Image attachment id belonging to this page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||