remove_state_machine_state
Removes a specified state from an AnimationNodeStateMachine using the AnimationTree node path and state name, helping clean up unused animation states.
Instructions
Remove a state from 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": {
"node_path": "<node_path>",
"state_name": "<state_name>"
},
"name": "remove_state_machine_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes | Path to the AnimationTree | |
| state_name | Yes | State to remove |