message_stats
Analyze iMessage conversation patterns by generating time-series statistics with flexible grouping options to track messaging trends and activity levels.
Instructions
Aggregate message statistics with flexible time-series grouping. Returns counts, sent/received splits, and averages grouped by day, week, month, year, hour, or day-of-week. By default excludes contacts you've never replied to.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contact | No | Filter by contact handle | |
| date_from | No | Start date (ISO) | |
| date_to | No | End date (ISO) | |
| group_by | No | Time grouping (default: month) | |
| include_all | No | Include messages from all contacts, even those you've never replied to (default: false) |