document_page_adjust
Crop, expand, or toggle SVG page orientation with explicit physical margins, preserving object geometry during page size changes.
Instructions
Crops, expands or changes page orientation with explicit physical margins, preserving object geometry.
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>",
"expectedRevision": "<expectedRevision>",
"path": "<path>",
"unit": "<unit>",
"workspaceId": "<workspaceId>"
},
"name": "document_page_adjust"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| unit | Yes | ||
| action | Yes | ||
| anchor | No | top_left | |
| margins | No | ||
| workspaceId | Yes | ||
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| revision | Yes | ||
| warnings | Yes | ||
| backupCreated | Yes |