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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Action to perform (default "status"). | status |