clear_session
Clear a Python REPL session's state and history to reset the execution environment and remove previous code outputs.
Instructions
Clear a REPL session's state and history.
Args:
session_id: Session ID to clear
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": "clear_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |