set_blend_tree_node
Adds or replaces an animation node in a Godot blend tree state and optionally connects its output to another node's input port.
Instructions
Add or replace a node inside a blend tree state and optionally wire its output into another node's input port
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>",
"blend_tree_state": "<blend_tree_state>",
"bt_node_name": "<bt_node_name>",
"bt_node_type": "<bt_node_type>"
},
"name": "set_blend_tree_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| animation | No | ||
| node_path | Yes | ||
| connect_to | No | ||
| position_x | No | ||
| position_y | No | ||
| bt_node_name | Yes | ||
| bt_node_type | Yes | ||
| connect_port | No | ||
| blend_tree_state | Yes | ||
| state_machine_path | No |