document_pages
List, add, update, delete, or reorder Inkscape 1.4 pages by stable page ID. Changes require the current document revision to apply safely.
Instructions
Lists or safely changes explicit Inkscape 1.4 pages by stable page ID. Mutations require the current document revision.
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": {
"action": "<action>",
"path": "<path>",
"workspaceId": "<workspaceId>"
},
"name": "document_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| path | Yes | ||
| patch | No | ||
| action | Yes | ||
| pageId | No | ||
| pageIds | No | ||
| workspaceId | Yes | ||
| expectedRevision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | Yes | ||
| revision | Yes |