elements_reparent
Moves selected SVG elements into an existing group or layer in source document order; rejects cycles and ancestor-descendant selections.
Instructions
Moves bounded SVG elements under one existing group or layer in source document order. It rejects cycles and ancestor-descendant selections.
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": {
"expectedRevision": "<expectedRevision>",
"ids": "<ids>",
"parentId": "<parentId>",
"path": "<path>",
"workspaceId": "<workspaceId>"
},
"name": "elements_reparent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| path | Yes | ||
| parentId | Yes | ||
| workspaceId | Yes | ||
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| revision | Yes | ||
| backupCreated | Yes |