Reset Compute Session
reset_compute_sessionClears the cached SAS compute session for a compute context, discarding WORK tables, macro variables, and librefs. The next compute call starts a fresh session automatically.
Instructions
Reset (delete) the cached compute session for a compute context.
The server keeps one reusable SAS compute session per user and compute
context so repeat calls skip the slow session spin-up; SAS state (WORK
tables, macro variables, assigned librefs) therefore persists across
execute_sas_code and list_compute_* calls. Call this to discard
that state — the next compute tool call transparently creates a fresh
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_compute_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compute_context_name | No | Compute context whose session to reset. Defaults to the server's configured execution context (the one ``execute_sas_code`` uses). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||