get_conversation_history
Retrieve paginated Claude Code conversation history with optional filters for session, date range, and message types, enabling targeted data access.
Instructions
Get paginated conversation history (use after exploring with list_projects/list_sessions for targeted data)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of conversations to return (default: 20) | |
| offset | No | Number of conversations to skip for pagination (default: 0) | |
| endDate | No | End date in ISO format (optional) | |
| timezone | No | Timezone for date filtering (e.g., "Asia/Tokyo", "UTC"). Defaults to system timezone. | |
| sessionId | No | Specific session ID to get history for (optional) | |
| startDate | No | Start date in ISO format (optional) | |
| messageTypes | No | Filter by specific message types. Defaults to ["user"] to reduce data volume. Use ["user", "assistant"] to include Claude responses. |