analyze_sessions
Extract and analyze conversation messages from Claude Code sessions with filters for time, role, and project to gain insights.
Instructions
Extract and analyze messages from sessions with filtering
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": "analyze_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days_back | No | Days back to analyze (max 7) | |
| role_filter | No | Filter messages by role (user, assistant, both, tool) | both |
| project_filter | No | Optional filter to specific project | |
| include_tools | No | Include tool usage messages |