ai_applyEffect
Applies a Live Effect via XML to Illustrator items or the current selection, such as Drop Shadow, Gaussian Blur, Round Corners, Offset Path, or plugin effects, targeting a named document.
Instructions
Illustrator: apply a Live Effect via its XML definition to items/selection — e.g. , "Adobe Gaussian Blur", "Adobe Round Corners", "Adobe Offset Path", plugin 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": {
"xml": "<xml>"
},
"name": "ai_applyEffect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | ||
| items | No | Item names; omit to use the current selection. | |
| document | No | Document name; omit for the active document. |