list_branches
Lists branch names and types in a ROOT TTree or RNTuple so you can choose branches for reads, statistics, or histograms before querying data.
Instructions
List branch names and types in a ROOT TTree or RNTuple. Use before selecting branches for reads, statistics or histograms. Does not modify files.
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": {
"path": "<path>",
"tree_name": "<tree_name>"
},
"name": "list_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path | |
| pattern | No | Optional glob pattern | |
| tree_name | Yes | Tree name |