evaluate_selection
Evaluate the currently selected cells in a Mathematica notebook to process and display results directly from your selection.
Instructions
[ADVANCED] Evaluate the currently selected notebook cell or cells.
Prefer execute_code(style="notebook") for fresh execution.
Use evaluate_selection only for explicit notebook-selection workflows.
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": "evaluate_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sync | No | none | |
| max_wait | No | ||
| notebook | No | ||
| sync_wait | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |