notebook_run_cell
Execute a notebook cell's code on its kernel, optionally write outputs back, and return stdout, results, and images for GPU training workflows.
Instructions
Execute a notebook cell's code on the kernel; optionally write outputs back.
Returns stdout/results and any images. Only 'code' cells are executed.
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>",
"index": "<index>"
},
"name": "notebook_run_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| index | Yes | ||
| timeout | No | ||
| write_output | No |