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.
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. | |
| 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. |