Search Console: Request
gsc_requestCalls a Search Console API endpoint that lacks a dedicated tool, returning raw GET responses for sites, sitemaps, or URL inspection paths.
Instructions
Escape hatch: call a Search Console API endpoint that has no dedicated tool. The path must be under /webmasters/v3/ (sites, sitemaps, searchAnalytics) or /v1/urlInspection/, with the property URL-encoded as one segment, e.g. GET /webmasters/v3/sites/sc-domain%3Aexample.com. Returns the raw response, unshaped — prefer the dedicated tools, which resolve the property and name the fields. Writes are DISABLED: only GET is permitted, so the POST-only search analytics and URL inspection endpoints are reachable only through their dedicated tools. Set GSC_ALLOW_WRITES=1 to allow other methods.
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": {
"path": "<path>"
},
"name": "gsc_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body for POST/PUT. | |
| path | Yes | Path on searchconsole.googleapis.com, e.g. "/webmasters/v3/sites" or "/webmasters/v3/sites/https%3A%2F%2Fwww.example.com%2F/sitemaps". | |
| query | No | Query parameters, e.g. {"sitemapIndex": "https://www.example.com/sitemap.xml"}. | |
| method | No | HTTP method. | GET |