arrange_items
Group, ungroup, clip, compound, or reorder Adobe Illustrator objects to control stacking and structure. Move items into layers or above and below others, then return the resulting items.
Instructions
Structure and stacking. action: "group" (refs → one group at the frontmost item's place, order kept; name) · "ungroup" (groups → their items; clipping released unless release_clip:false) · "clip" (refs → clipping group; mask = the frontmost item or mask ref; must be a path/compound) · "compound" (paths → compound path) · "release_compound" · "front" | "forward" | "backward" | "back" (z-order, relative order kept) · "move_into" (target: "layer:Name" (created if missing) or a group; position "front" (default) | "back") · "move_above" | "move_below" (target item). Returns the resulting items.
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": {
"action": "<action>",
"refs": "<refs>"
},
"name": "arrange_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask | No | ||
| name | No | ||
| refs | Yes | ||
| action | Yes | ||
| target | No | ||
| position | No | ||
| release_clip | No |