Submit sitemap
Tell Google where a sitemap is, or resubmit it. Owner or Full user.
MCP tool google_search_console_write → submit_sitemap
write
Submits a sitemap URL in the Sitemaps report. Submitting only tells Google where the file is; it is fetched right away, but the listed URLs may take time to be crawled and some never are. Redirects are not followed, so give the exact URL. You need Owner or Full user permission. It reaches no one and is undone by removing the sitemap, so it runs without asking first.
Parameters
| Name | Type | Description |
|---|---|---|
| property string required | string | Property as Search Console lists it: sc-domain:example.com for a Domain property, https://example.com/ for a URL-prefix property. |
| sitemap_url string required | string | Exact sitemap URL, e.g. https://example.com/sitemap.xml. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "google_search_console_write",
"arguments": {
"operation": "submit_sitemap",
"arguments": {
"property": "property",
"sitemap_url": "https://example.com"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"property": "sc-domain:example.com",
"sitemap": "https://example.com/sitemap.xml",
"status": "submitted"
},
"isError": false
}