structure
Rearrange Inkscape objects: delete, duplicate, group/ungroup, change z-order, clone, or reparent them to a parent at a specific index while preserving visual position.
Instructions
Rearrange objects. op: delete | duplicate | group | ungroup | pop_out (out of its group) |
raise | lower | top | bottom (z-order) | clone | unclone | reparent (move into parent at
index, keeping the visual position). group takes optional new_id and label.
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": {
"op": "<op>",
"ids": "<ids>"
},
"name": "structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| ids | Yes | ||
| index | No | ||
| label | No | ||
| new_id | No | ||
| parent | No | ||
| expected_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |