create_statetree
Create a StateTree asset with a specified schema and content path. Use this tool to generate behavior trees for AI characters in Unreal Engine.
Instructions
Create a new StateTree asset with the specified schema.
Args: asset_path: Content path for the new asset (e.g. "/Game/AI/ST_MyTree") schema_class: Schema class name (e.g. "MassStateTreeSchema", "StateTreeComponentSchema", "StateTreeAIComponentSchema")
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": {
"asset_path": "<asset_path>",
"schema_class": "<schema_class>"
},
"name": "create_statetree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_path | Yes | ||
| schema_class | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |