Submit a sitemap
gsc_submit_sitemapSubmit or resubmit a sitemap to Google Search Console to register its URL and trigger a crawl, ensuring your pages get indexed by Google. Refresh sitemap submissions to keep the index up to date.
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-mint with scripts/seo-auth-setup.py. Idempotent: re-submitting the same sitemap URL just refreshes it.
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/'. |