run_actions
Run raw Inkscape actions on selected object IDs, e.g., object-align or transform-rotate. File, export, window, and quit actions are blocked.
Instructions
Escape hatch: run raw Inkscape actions (e.g. "object-align:left last", "transform-rotate:30")
after selecting select ids. File, export, window and quit actions are blocked. Extensions
(org.inkscape.*) always act on the whole document, so they can't be combined with select.
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": {
"actions": "<actions>"
},
"name": "run_actions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No | ||
| select | No | ||
| actions | Yes | ||
| preview | No |