Run a Search Console query
search_console_queryQuery Google Search Console performance data by query, page, country, device, date, and search appearance, with filters, search types, and paging to analyze search traffic.
Instructions
Any Search Console question: raw searchanalytics.query by query, page, country, device, date or searchAppearance, with filters, search type (web, image, video, news, Discover) and paging.
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": "search_console_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site as a domain or Search Console URL, e.g. "example.com" or "sc-domain:example.com". Optional when the credentials see one site. | |
| type | No | Search type, default web. | |
| period | No | Named date range ending on the last settled day. Default last_28_days. | |
| filters | No | All filters must match (AND). | |
| end_date | No | End date YYYY-MM-DD. Defaults to the last settled day (Search Console lags 2 to 3 days). | |
| row_limit | No | Rows to return, default 100, max 25000. | |
| start_row | No | Row offset for paging. | |
| data_state | No | final (default) or all to include fresh, still-changing data. | |
| dimensions | No | Group by these. Empty for site totals. | |
| start_date | No | Start date YYYY-MM-DD. Overrides period. | |
| aggregation_type | No |