remove_statetree_state
Remove a state and its children from a StateTree asset by providing the asset path and state identifier via name, GUID, or index path.
Instructions
Remove a state and all its children from the tree.
Args: asset_path: Content path to the StateTree asset state: State index path state_name: State name state_guid: State GUID
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": "remove_statetree_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | ||
| asset_path | Yes | ||
| state_guid | No | ||
| state_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |