list_global_subscripts
List subscript keys under a global path in IRIS. Use to navigate hierarchical data with options for recursion, depth, and value display.
Instructions
List subscript keys under a global path using the IRIS node iterator (ZORDER-style). Args: ctx: The context of the tool call. global_name: top global without ^ (e.g. BTHo). subscripts: path into the global, e.g. ["DufT", 3] for ^BTHo("DufT",3,... recursive: if True, each line is a full path from the start node; max_depth is how many subscript levels to descend below the starting path (1 = only immediate children). max_depth: how many subscript levels to descend below the starting path (1 = only immediate children). max_nodes: maximum number of nodes to return (default: 2000). include_values: if True, include the values of the nodes.
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": {
"global_name": "<global_name>"
},
"name": "list_global_subscripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| global_name | Yes | ||
| subscripts | No | ||
| recursive | No | ||
| max_depth | No | ||
| max_nodes | No | ||
| include_values | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |