add_statetree_parameter
Add a parameter to a StateTree asset, specifying its name and property type via the asset path.
Instructions
Add a tree-level parameter.
Args: asset_path: Content path to the StateTree asset name: Parameter name type: Property type ("bool", "int32", "float", "FVector", "FName", "FString", etc.)
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>",
"name": "<name>",
"type": "<type>"
},
"name": "add_statetree_parameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | Yes | ||
| asset_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |