sessions_list
Find Claude Code sessions by tag, title, first prompt, or conversation text; search the current project, its subfolders, or all projects before reading one.
Instructions
Find Claude Code sessions of this project: id, title, date, tags, cwd, first prompt.
tag keeps those with that tag; query matches title, label and first
prompt; contains matches any user or assistant text. all_projects
searches every folder instead of this project and its subfolders. Read one
with sessions_read.
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": "sessions_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| query | No | ||
| contains | No | ||
| all_projects | No |