evaluate_cell
Re-run a specific cell in a Mathematica notebook to update its output. Use when you need to refresh an existing cell's result.
Instructions
[ADVANCED] Re-evaluate an existing cell in a notebook.
Prefer execute_code(style="notebook") for fresh execution.
Use evaluate_cell only when you already have a notebook cell and need to
re-run that specific 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": {
"cell_id": "<cell_id>"
},
"name": "evaluate_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sync | No | none | |
| cell_id | Yes | ||
| max_wait | No | ||
| notebook | No | ||
| sync_wait | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |