read_cell
Retrieve the source code, execution count, and output of a specific cell in a Jupyter notebook.
Instructions
Read the detailed content of a specific cell. It will return the source code, execution count and output of the 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": {
"notebook_name": "<notebook_name>",
"cell_index": "<cell_index>"
},
"name": "read_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell_index | Yes | Cell index(0-based) | |
| notebook_name | Yes | ||
| return_output | No | Whether to return output |