Get Cell Map
get_cell_mapGet a lightweight map of notebook cells showing IDs, names, code previews, and runtime state. Use it as the entry point to navigate and locate cells before reading or editing.
Instructions
Get a lightweight map of cells showing previews.
Returns cell IDs, names, code previews, and runtime state. This is the starting point for navigating a notebook.
A preview does NOT record the edit_cell read baseline — it updates only
this tool's own change-detection snapshot. Read a cell's full source with
get_cell_data before editing it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_cell_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_url | No | Optional server URL override. | |
| session_id | No | Session ID from list_active_notebooks. Optional if an active session is bound. | |
| preview_lines | No | Number of lines to show per cell (default: 3). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||