style
Set CSS properties on Inkscape objects by ID, including groups; use null to remove a property. Children inherit group values unless overridden, so inspect them if a change does not apply.
Instructions
Set CSS style properties on objects, e.g. {"fill": "#4B80AD", "font-size": "11pt", "stroke-width": "0.5", "opacity": "0.8"}. A null value removes the property. Applies to groups too (children inherit unless they override — inspect them if a colour does not take).
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": {
"ids": "<ids>",
"props": "<props>"
},
"name": "style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| show | No | ||
| props | Yes | ||
| expected_revision | No |