list_projects
List all Claude Code projects with session history, returning project slugs, session counts, and total size.
Instructions
List all Claude Code projects that have session history.
Returns project slugs (derived from directory paths), session counts, and total size.
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_projects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |