Claude Code sessions across accounts
sanecode_sessionsList the recent Claude Code conversations in each account: title, project folder, when it was last active, and whether it stopped on a usage limit (and when that resets). Titles and folders only, never the conversation's content.
Use it when: the user asks "which sessions stopped?", "what was I working on in work?", "is the migration still running?"; before sanecode_continue_in_account with a session title; after sanecode_activity, to see where things stand.
Don't use it for: reading what a conversation said (SaneCode doesn't read conversations); what SaneCode did (use sanecode_activity).
Returns one line per session, newest first, for example: "work · 'Migrate API to Hono' · D:/app · active 12 min ago · stopped on its limit, resets today 19:00". "Active N min ago" is when its last message was written: a few minutes means it's probably still working; "stopped on its limit" means it's waiting for that reset. Free.
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": "sanecode_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Sessions per account, newest first. Default 5. | |
| account | No | Only this account's sessions. Leave out for every account. |