webmaster_get_query_history
Retrieve up to 31 days of Yandex Webmaster query performance data, including impressions, clicks, and average positions for all or selected queries.
Instructions
Read at most 31 days of aggregate or selected-query indicators.
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>",
"date_from": "<date_from>",
"date_to": "<date_to>"
},
"name": "webmaster_get_query_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_to | Yes | ||
| host_id | Yes | ||
| query_id | No | ||
| date_from | Yes | ||
| query_indicator | No | ||
| device_type_indicator | No | ALL |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||