get_time_stats
Analyze message activity patterns by hour, weekday, or day to determine peak activity times using timezone-aware bucketing.
Instructions
Get message count distribution bucketed by hour, weekday, or day. Use for "when are people most active" type questions. Timezone-aware bucketing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID | |
| type | Yes | Bucket granularity | |
| start_time | No | Start time (Unix seconds) | |
| end_time | No | End time (Unix seconds) | |
| format | No | Output format: text (default) or json | |
| timezone | No | Timezone for bucketing (default Asia/Shanghai) |