remove_state_machine_state
Remove a state from a Godot AnimationTree state machine, including its connected transitions (undo does not restore them).
Instructions
Remove a state from an AnimationTree state machine (Godot also drops transitions touching it; undo does not restore them)
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 | ||
| state_name | Yes | ||
| state_machine_path | No |