action_activate
Activates or creates an Action or Smart Bone Action on a specified layer, syncing the current document action; pass an empty name to return to Mainline.
Instructions
Enter or create an Action / Smart Bone Action on a layer (synced with SetCurrentDocAction; pass '' to return to Mainline).
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": {
"actionName": "<actionName>"
},
"name": "action_activate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | No | Numeric depth-first layer ID (from layer_list) | |
| layerName | No | Exact layer name | |
| layerUuid | No | Layer UUID | |
| actionName | Yes | Action/Bone name, or '' to return to Mainline |