behavior_tree_create
Create a BehaviorTree asset bound to an existing Blackboard, optionally building its node graph from a JSON spec and adding blackboard keys.
Instructions
Create a BehaviorTree asset bound to an existing Blackboard, optionally building its node graph from a BehaviorTreeBuilder JSON spec (26 node types: Selector/Sequence/SimpleParallel composites, MoveTo/Wait/etc tasks, Blackboard/Cooldown/etc decorators, services). Optionally adds keys to the blackboard first.
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": {
"path": "<path>",
"name": "<name>",
"blackboard_path": "<blackboard_path>"
},
"name": "behavior_tree_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | Keys to ensure on the blackboard first. | |
| name | Yes | Asset name, e.g. BT_Enemy. | |
| path | Yes | Content directory. | |
| tree | No | BehaviorTreeBuilder JSON spec (see docs/superpowers/specs/2026-03-19-behavior-tree-builder-design.md). | |
| blackboard_path | Yes | Existing BlackboardData asset path. |