stop_session
Stops and removes an isolated sandbox session to free resources when code execution is complete.
Instructions
Stops and removes the sandbox completely. Use when done with a session.
Args:
session_id: ID returned by create_session.
Returns:
JSON with success status.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>"
},
"name": "stop_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||