Apply Effect
apply_effectAdd an effect by match name (see find_effects) and set parameters by name, match name or 1-based index. If any parameter fails the effect is removed.
Instructions
Add an effect by match name (see find_effects) and set parameters by name, match name or 1-based index. If any parameter fails the effect is removed.
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": {
"layer_id": "<layer_id>",
"match_name": "<match_name>"
},
"name": "apply_effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| params | No | ||
| layer_id | Yes | ||
| match_name | Yes |