add_state_transition
Adds a state transition between two animation states in an Unreal Engine Animation Blueprint, using a Boolean condition to control when the transition triggers.
Instructions
Add a transition between two animation states.
Args: anim_blueprint_name: Animation Blueprint name state_machine_name: State machine name from_state: Source state name to_state: Destination state name condition_variable: Bool variable to use as transition condition condition_value: Expected value to trigger transition (True/False)
KB: see knowledge_base/05_ANIMATION_SYSTEM.md#overview Example: add_state_transition(anim_blueprint_name="/Game/MCP_Test/BP_Example", state_machine_name="ExampleName", from_state="ExampleName", to_state="ExampleName")
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>",
"state_machine_name": "<state_machine_name>",
"from_state": "<from_state>",
"to_state": "<to_state>"
},
"name": "add_state_transition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_state | Yes | ||
| from_state | Yes | ||
| condition_value | No | ||
| condition_variable | No | ||
| state_machine_name | Yes | ||
| anim_blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |