Get Cell Data
get_cell_dataRetrieve full runtime data for one or more notebook cells, including source code, errors, and variables. Omit cell IDs to inspect all cells and detect missing IDs.
Instructions
Get full runtime data for one or more cells.
Includes source code, errors, and variable information. If cell_ids is empty, returns data for all cells.
A requested id that resolves to nothing (deleted or mistyped) is reported
in missing_cell_ids rather than silently omitted — the write tools
refuse an absent id, so an unqualified empty payload here would hide the
same mistake.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell_ids | No | Cell IDs from get_cell_map. Empty = all cells. Accepts a single ID, a native array, or a JSON-encoded array — a harness may deliver either of the latter two as a string. | |
| server_url | No | Optional server URL override. | |
| session_id | No | Session ID from list_active_notebooks. Optional if an active session is bound. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||