google_resolve_links
Resolve Google redirect result links to real URLs by sending link_tokens and retrying not-ready rows after retry_after_seconds. Accepts 1–25 rows per call and returns resolved links without tokens.
Instructions
Get the real URLs of Google results whose link is a google.com/goto redirect. Send the organic results of search_google that carry a link_token, 1 to 25 per call; other fields come back unchanged. Rows come back in the order sent. A resolved row has the result's own URL in link and no link_token. A not-ready row has link_token and retry_after_seconds (1 or more): wait that many seconds, then send the row again with its latest link_token, which can differ from the one sent. A failed row has link_token and error: do not send it again. A token sent early is not an error; the row comes back not ready with the wait that is left. The top-level retry_after_seconds is the shortest wait among the not-ready rows, or null when no row is waiting. One call makes one request and does not wait. Polling this way, all ten links of a page are usually known 45 to 70 seconds after the search; once the result page is about 160 seconds old, one call returns every remaining link. Costs no credits.
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": {
"results": "<results>"
},
"name": "google_resolve_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | 1 to 25 result rows that each have a link_token. Organic results from search_google can be sent as they are: other fields are returned unchanged. |