chat_analytics
Analyze a WhatsApp chat to measure message volume, reply speed, message types, tone, topics, group roles, and capture gaps over a selected time range.
Instructions
How a conversation works, from the numbers: who writes how much and when, reply speed both ways, message length, emoji, stickers, media, voice notes, quotes, deferred replies, formality, alphabet mix, requests and promises, phrases typical for this chat compared to my other chats, roles in a group, and what the bridge cannot see.
chat: JID, phone number or name (the phone and LID chats of one person are merged). after/before: unix seconds, YYYY-MM-DD or ISO 8601. sections: subset of volume, reply_speed, length, emoji, stickers, reactions, media, voice, quotes, deferrals, formality, script, topics_tasks, phrases, group_roles, capture_gaps. detail: brief, normal or full. refresh: ignore the cache. report: also write a Markdown report to exports_dir. Returns summary, meta and sections ({n, low_data, data, examples}); examples are masked and never contain secret-looking text.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chat": "<chat>"
},
"name": "chat_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| after | No | ||
| before | No | ||
| detail | No | normal | |
| report | No | ||
| account | No | Account from list_accounts when several WhatsApp numbers are set up; default: default | |
| refresh | No | ||
| sections | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||