add_state_machine_state
Adds a new state to an AnimationNodeStateMachine. Specify the state name and optionally assign an animation to it.
Instructions
Add a state to an AnimationNodeStateMachine
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": {
"path": "<path>",
"state_name": "<state_name>"
},
"name": "add_state_machine_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | AnimationTree node path | |
| animation | No | Animation name to assign to this state | |
| state_name | Yes | Name for the new state |