effects
Apply or remove editable live styling such as drop shadows, glows, rounded corners, feathering, blur, offset, roughen, zigzag, pucker/bloat, and transforms on Illustrator items.
Instructions
Live effects on items (editable later in Illustrator; lengths in session units, opacity 0-100). add: [{type, …}] in order: drop_shadow {x, y, blur, color, opacity, blend} · outer_glow / inner_glow {blur, color, opacity, blend; inner: from "edge"|"center"} · round_corners {radius} · feather {radius} · blur {radius} · offset {distance, joins} · roughen {size, detail, smooth} · zigzag {size, ridges, smooth} · pucker_bloat {amount: <0 pucker, >0 bloat} · transform {x, y, scale, scale_x, scale_y, rotate, copies} · {xml: raw LiveEffect XML}. clear:true first removes all effects (paths/groups keep their fill and stroke). Effects can't be read back; path_ops expand bakes them. Returns {count, items (box incl. effects)}.
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": {
"refs": "<refs>"
},
"name": "effects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | ||
| refs | Yes | ||
| clear | No |