Create tracked queries
create_tracked_queriesCreate monitored queries for each query, engine, and country combination, with scheduled checks, cost preview, and skipped duplicate or unsupported cases before confirmation.
Instructions
Start 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. | |
| queryTexts | Yes | ||
| checkFrequency | Yes | ||
| organizationId | Yes | ||
| queryClusterIds | No | ||
| confirmationToken | Yes |