Add Shape Modifier
add_shape_modifierAdd trim_paths, repeater or round_corners to a shape group (group_index, default 1). params maps property names or match names to values. Returns the modifier's path and property names for set_keyframes.
Instructions
Add trim_paths, repeater or round_corners to a shape group (group_index, default 1). params maps property names or match names to values. Returns the modifier's path and property names for set_keyframes.
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>",
"modifier": "<modifier>"
},
"name": "add_shape_modifier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| layer_id | Yes | ||
| modifier | Yes | ||
| group_index | No |