read_notebook_file
Read .nb files from disk as outline, markdown, wolfram, plain, or JSON without opening a kernel session, enabling notebook inspection before evaluating.
Instructions
Read a .nb file from disk without opening a kernel session for it. modes: outline (headings only) | markdown | wolfram (code cells only) | plain | json. Use notebooks(action='open') instead when you intend to evaluate anything.
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>"
},
"name": "read_notebook_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | outline | |
| path | Yes | ||
| limit | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |