update_elements
Change existing Inkscape SVG elements by ID, updating only the specified properties while merging style shorthands into existing styles. Set transform to an empty string to clear it.
Instructions
Change existing elements. Each update is {"id": ..., }; only the given keys change. Style shorthands merge into the existing style. Set transform to "" to clear it.
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": {
"updates": "<updates>"
},
"name": "update_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No | ||
| preview | No | ||
| updates | Yes |