gsc_submit_sitemap
Submit or re-ping a sitemap URL to Google Search Console. Preview with dry-run first, then confirm to write to the live property.
Instructions
Submit or re-ping a sitemap to Search Console. THIS WRITES TO THE USER'S LIVE PROPERTY. It needs the write scope, which is not granted by default, and it is a dry run unless confirm=true. Show the dry run to the user and get their explicit agreement before calling it again with confirm=true. feedpath must be the full sitemap URL, e.g. https://example.com/sitemap.xml.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| feedpath | Yes | ||
| site_url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||