reset_sage_session
Clear all variables and state in a SageMath workspace to start fresh. Use when the current session needs isolation or recovery.
Instructions
Reset the SageMath session state for the current MCP session
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 |