get_statetree_states
Retrieve the StateTree state hierarchy as a JSON tree. Control depth and filter states by name to inspect task and transition counts.
Instructions
Get state hierarchy as a JSON tree. Each state shows name, type, ID, task/transition counts.
Use max_depth to limit recursion (0=roots only, 1=roots+children, -1=unlimited). Use name_filter for case-insensitive substring match on state names.
Args: asset_path: Content path to the StateTree asset max_depth: Maximum depth to recurse (-1 for unlimited) name_filter: Only include states whose name contains this substring
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | ||
| asset_path | Yes | ||
| name_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |