get_analytics
Retrieve website traffic metrics including requests, bandwidth, and cache hit ratio for a specified date range.
Instructions
Get traffic analytics for a website — requests, bandwidth, and cache hit ratio. Example: 'Show analytics for my website'.
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": {
"site_id": "<site_id>"
},
"name": "get_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_to | No | End date (YYYY-MM-DD). Defaults to today. | |
| site_id | Yes | The website ID (UUID) | |
| date_from | No | Start date (YYYY-MM-DD). Defaults to 30 days ago. |