Submit a sitemap
gsc_submit_sitemapRegister a sitemap with Google Search Console and ping Google to crawl it. Use it to submit new sitemaps or re-submit existing ones to refresh them.
Instructions
Submit (or re-submit) a sitemap to Google Search Console for a property. This is a WRITE action: it registers the sitemap and pings Google to crawl it. Requires the full webmasters OAuth scope — if the saved credential is read-only, re-run the OAuth flow from the README requesting the full scope. Idempotent: re-submitting the same sitemap URL just refreshes it.
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>",
"feedpath": "<feedpath>"
},
"name": "gsc_submit_sitemap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedpath | Yes | Full URL of the sitemap to submit, e.g. https://example.com/sitemap.xml. Must be within the property. | |
| site_url | Yes | The Search Console property. Use the exact form shown by gsc_list_sites: a Domain property is 'sc-domain:example.com'; a URL-prefix property is the full origin with a trailing slash, e.g. 'https://example.com/'. |