modify_anim_state_graph
Apply a batch of structural operations to an animation state graph as one undoable transaction. Manage layers, states, transitions, conditions, and parameters in a single call.
Instructions
Apply a validated batch of structural operations to an anim state graph as one undoable transaction. Add operations may omit id to allocate one; generated ids and the resulting graph are returned. State deletion also deletes attached transitions. Parameter deletion is rejected while conditions use it. Use layer.update defaultStateId to change a layer default before removing its old default state.
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": {
"assetId": "<assetId>",
"operations": "<operations>"
},
"name": "modify_anim_state_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetId | Yes | Anim state graph asset id | |
| operations | Yes |