kernel
Manage Mathematica kernel sessions by checking state, restarting to clear all definitions, aborting slow evaluations, listing subkernels, or reaping finished ones.
Instructions
Kernel administration. actions: state | restart | abort | subkernels | reap. 'restart' clears ALL definitions and closes subkernels properly; prefer abort() for a merely slow evaluation.
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": "kernel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | state |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |