get-popular-queries
Retrieve a site's search queries ranked by total shows or clicks, with optional date range and device filters.
Instructions
Get popular search queries for a site. Use when the user wants the top queries for a site by shows or clicks. Do not use it for the day-by-day totals of all queries; call get-query-history. Do not use it for pages in search; call get-insearch-samples.
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": {
"host_id": "<host_id>",
"order_by": "<order_by>"
},
"name": "get-popular-queries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Results limit (default: 100) | |
| offset | No | Offset | |
| date_to | No | End date YYYY-MM-DD | |
| host_id | Yes | Host ID | |
| order_by | Yes | Sort by shows or clicks | |
| date_from | No | Start date YYYY-MM-DD | |
| device_type | No | Device filter |