Reset Sage Session
reset_sage_sessionClear all variables and state in the current SageMath workspace to start a fresh computation session.
Instructions
Reset the SageMath session state for the current MCP session
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": "reset_sage_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 |