list_recent_conversations
List recent chat and coding sessions by date, newest first with metadata only, to locate a conversation or coding session by when it happened before opening its full record.
Instructions
List the user's recent sessions — chats AND coding sessions (Claude Code, opencode, Copilot CLI, Codex; main sessions, not sub-agents) — from the last few days by default, newest first, metadata only. Chat rows (type "chat"): id, title, source, created_at, updated_at, message_count. Code rows (type "code"): id, project_name, git_branch, source, started_at, ended_at, turn_count, summary (up to 200 chars). Defaults to the last 7 days and both kinds. Use it to find something by when it happened (e.g. yesterday's chat → since = yesterday's date, kind = chat), then open a chat with get_conversation id= or a coding session with get_code_session id=; both return long results in parts. Results are dated records of what sessions did, not the current state of a PR or issue; check that live.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Only results from the last N days, a whole number 1-365 (e.g. 1 = the last 24 hours). Ignored when since is given. Default 7. | |
| kind | No | Which rows to list: "chat", "code" (coding sessions) or "all" (default). E.g. "code" for yesterday's coding session. | |
| limit | No | Max rows to return across both kinds, a whole number 1-100 (default 30). E.g. 10. | |
| since | No | Only results from this time on. ISO date "2026-09-24" (read as 00:00 UTC that day) or ISO datetime "2026-09-24T09:30:00Z" (no offset = UTC). For "yesterday" pass yesterday's date. Wins over days. | |
| source | No | Only rows from this source: one of chatgpt, claude, claude-code, codex, copilot-cli, grok, opencode. Chat sources filter chats, code sources (claude-code, opencode, copilot-cli, codex) filter coding sessions. E.g. "chatgpt". |