list_sessions
Lists conversation sessions with their status to monitor active, idle, or unloaded work. Use scope to view managed sessions, all sessions, pending TODOs, and handoff notes.
Instructions
会話の一覧と状態を返す。scope="managed"(既定)は監視役が管理している会話(保留 pending・終わった done は状態を読みに行かず、名前・状態・note・cwd だけの小さい行。managed は付かない)と、TODO(todos。条件がそろっているかを due に。true / false / null=分からない。済んだものは includeArchived のときだけ)と、引き継ぎメモ handoff.md の先頭(handoff)。scope="all" はこの PC の会話を新しい順に。status は notLoaded(読み込まれていない・一覧に無い)/ idle(止まっている)/ active(動いている。activeFlags に waitingOnApproval・waitingOnUserInput)/ systemError。監視役でない会話から呼んでもよい。
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 |
|---|---|---|---|
| cwd | No | scope=all のとき、この作業フォルダの会話だけ | |
| limit | No | ||
| scope | No | managed | |
| includeArchived | No | 終わった・アーカイブした会話も含める(managed では済んだ TODO も) |