Create tracked queries
create_tracked_queriesStart tracking queries: every combination of queryTexts x engines x countries (at most 100) becomes a tracked query, checked now and then on checkFrequency with nPasses passes, each check spending budget. Combinations the project already tracks, repeated ones and Google AI Mode in unsupported countries are skipped and reported. Requires a confirmationToken: call preview_operation with tool "create_tracked_queries" and these arguments first, show the returned plan (what is created, what it costs) to the user, and call this tool only after the user explicitly agrees. Pass a fresh requestId and reuse it if you retry.
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": {
"organizationId": "<organizationId>",
"projectId": "<projectId>",
"queryTexts": "<queryTexts>",
"engines": "<engines>",
"countries": "<countries>",
"checkFrequency": "<checkFrequency>",
"nPasses": "<nPasses>",
"confirmationToken": "<confirmationToken>"
},
"name": "create_tracked_queries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Optional two-letter language the engines should answer in | |
| engines | Yes | ||
| nPasses | Yes | Answers captured per check; more than 1 only for AI engines. Each pass counts as one check against your plan; a Claude pass counts as five. | |
| countries | Yes | ISO 3166-1 alpha-2 codes, e.g. ["US", "ES"] | |
| projectId | Yes | ||
| requestId | No | Optional idempotency key, 8-255 printable characters. Reuse it only to retry this same call. | |
| locationId | No | Optional Google city id from search_cities, to track local results of that city instead of the whole country (for example a shop's town). Only with engines google_serp and google_shopping, and with exactly one country, the city's. Omit it for country-level queries. | |
| queryTexts | Yes | ||
| checkFrequency | Yes | ||
| organizationId | Yes | ||
| queryClusterIds | No | ||
| confirmationToken | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| failed | No | Always present, empty list included: read it rather than inferring success from the status code. | |
| successful | No | Tracked queries created by this call, one entry per query text, engine and country combination. |