notebook_context
Retrieves a focused, dependency-aware context slice for a specific cell in a Jupyter notebook, including optional markdown and configurable cell count.
Instructions
Return a focused, dependency-aware context slice for a given cell.
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>",
"focus_cell_id": "<focus_cell_id>"
},
"name": "notebook_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| focus_cell_id | Yes | ||
| max_cells | No | ||
| include_markdown | No |