interrupt_sage_session
Stop a running Sage computation immediately while preserving all variables defined so far. Use it to halt long or stuck math operations without losing workspace state.
Instructions
Interrupt a running Sage computation while keeping variables defined so far
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | Workspace to use, as a name or a portable handle. Workspaces have independent variables. A name is scoped to this MCP session; a handle returned by start_sage_session (workspace_token) reaches the same workspace across reconnects and is a bearer credential -- keep it secret. Omit for 'default'. | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Session cleared |