read_notebook_graph
Reads the block graph of an .ntop notebook—IDs, functions, input wiring, and literal values—with text, section, variable, and leaf filters to inspect structure before editing.
Instructions
Read the block graph (IDs, functions, input wiring, literal values) of an .ntop notebook.
Args: notebook_path: Path to the .ntop notebook. filter_text: Optional substring filter matched against block ID, name, function, type, or section. section_name: Optional notebook section name filter (case-insensitive substring). variables_only: If True, return only promoted variable blocks (core.var<...>). include_leaves: If True, also include raw anonymous leaf blocks (func == ""). limit: Maximum number of blocks to return (default 150).
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": {
"notebook_path": "<notebook_path>"
},
"name": "read_notebook_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| filter_text | No | ||
| section_name | No | ||
| notebook_path | Yes | ||
| include_leaves | No | ||
| variables_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |