list_sessions
Retrieve a list of active code interpreter sessions, optionally limiting the number returned. Use this to review or manage existing execution environments.
Instructions
List all code interpreter sessions
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": "list_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxResults | No | Maximum number of sessions to return |