get_recent_sessions
Retrieve recent sessions newest first to obtain session IDs for inspecting model context windows. Use this starting point before calling other get_* tools.
Instructions
List recent sessions, newest first: [{session_id, prompt, model_id, created_at, ...}].
Call this first to discover session_ids for the other get_* tools. Non-owners see only their own sessions; the owner token sees all.
limit: max rows to return (default 10), newest first.
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": "get_recent_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No |