list_sessions
List previous conversation sessions for a project. Use filters to narrow by project ID, limit, or sort order.
Instructions
List sessions for a project. Defaults to the current project. Pass projectId to target a different project. Use this when the user asks about previous conversations, or when you need to find a specific 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": "list_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Project ID (defaults to current project) | |
| limit | No | Max sessions (default 20) | |
| sortBy | No | Sort order | updated |