add_state_machine
Adds a state machine node to an Animation Blueprint to organize animation states and transitions between them.
Instructions
Add a State Machine to an Animation Blueprint's AnimGraph.
State Machines define animation states (Idle, Walk, Run, Jump) and transitions between them.
Args: anim_blueprint_name: Animation Blueprint name state_machine_name: Name for the state machine node
KB: see knowledge_base/05_ANIMATION_SYSTEM.md#overview Example: add_state_machine(anim_blueprint_name="/Game/MCP_Test/BP_Example")
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": {
"anim_blueprint_name": "<anim_blueprint_name>"
},
"name": "add_state_machine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state_machine_name | No | MainStateMachine | |
| anim_blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |