ai_modifyItems
Modify Illustrator items by name or current selection: set fill, stroke, opacity, position, size, rotation, visibility, lock state, z-order, grouping, duplication, deletion, and blend mode.
Instructions
Illustrator: modify items (by name or selection) — fill, stroke, strokeWidth, opacity, moveBy [dx,dy], position [x,y], resize % [x,y], rotate deg, rename, hide/show, lock/unlock, zOrder (front|back|forward|backward), group, ungroup, delete, duplicate, blendMode.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ai_modifyItems"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fill | No | ||
| name | No | ||
| items | No | Item names; omit to use the current selection. | |
| action | No | ||
| hidden | No | ||
| locked | No | ||
| moveBy | No | ||
| resize | No | ||
| rotate | No | ||
| stroke | No | ||
| zOrder | No | ||
| opacity | No | ||
| document | No | Document name; omit for the active document. | |
| position | No | ||
| blendMode | No | ||
| strokeWidth | No |