Submit a sitemap to Search Console
submit_sitemapSubmits (or re-submits) an existing sitemap URL to Google Search Console for a property, the same action as "Add a new sitemap" in the Sitemaps report. It does not create or host a sitemap: the file must already be published and reachable at the URL you pass; this only registers it with Google or asks Google to fetch it again after new content went live. Every sitemap URL must be on the property host or a subdomain of it. Up to 20 sitemaps per call. Submitting is idempotent and queues a download; it does not index anything by itself, and Google reports parse warnings/errors only after it has fetched the file, so a freshly submitted sitemap normally comes back pending. Requires a Google account connected with full Search Console access (a read-only connection is refused before anything is sent). If a rate limit or a permission refusal stops a batch after some sitemaps were accepted, the accepted ones are still reported and the rest are listed in notAttempted, with stopReason. Use list_sitemaps to see what is already submitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteUrl | Yes | ||
| sitemapUrls | Yes | Absolute URLs of already-published sitemaps, e.g. ["https://example.com/sitemap_index.xml"]. Each must be on the property host or a subdomain of it. Max 20. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| failed | No | ||
| actions | No | ||
| message | No | ||
| results | No | ||
| siteUrl | No | ||
| attempted | No | ||
| submitted | No | ||
| stopReason | No | ||
| notAttempted | No | ||
| retryAfterSeconds | No |