Inspect a URL
inspect_urlChecks whether a URL is indexed by Google and explains coverage problems, crawl status, canonical mismatches, sitemaps, rich results, and mobile usability findings.
Instructions
Inspects a URL in Google's index, as the URL Inspection tool does.
Shows whether the URL is indexed and why not (coverage state), robots.txt and fetch status, last crawl, the canonical Google chose versus the one the page declares, sitemaps and referring URLs, and rich result and mobile usability findings. It reports Google's indexed copy, not a live test.
Quota: 2,000 inspections a day and 600 a minute per property.
Args: site_url: The property, exactly as list_sites returns it. The URL must belong to it. url: Full URL to inspect. A path such as '/products/x' works for URL-prefix properties. language_code: Language for issue messages, e.g. 'en-GB'. Default 'en-US'. include_raw: Also return Google's full response.
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": {
"site_url": "<site_url>",
"url": "<url>"
},
"name": "inspect_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| site_url | Yes | ||
| include_raw | No | ||
| language_code | No | en-US |