Get chat analytics
get_analyticsSummarize a website's chat activity over a specified period, including messages, leads, escalations, and visitor countries.
Instructions
Summarise one website's chat activity over a period: conversations, messages, leads captured, escalations, and the countries visitors came from.
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": "get_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days back to measure (1-90, default 30). | |
| website_id | No | Numeric id of the website, from list_websites. Omit to use the account's primary website. |