Inspect or restart the Mathematica kernel
mathematica_kernel_statusCheck local Mathematica kernel status (pid, uptime, call count), restart to clear in-memory state, or interrupt it via restart.
Instructions
Report whether the local Mathematica kernel is running (pid, uptime, call count), restart it, or interrupt it. Restarting clears all in-memory state. Interrupt is implemented as a restart because a batch math.exe cannot be reliably interrupted.
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": "mathematica_kernel_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Action to perform (default "status"). | status |