Search Console: Submit Sitemap
gsc_submit_sitemapSubmit or resubmit an existing sitemap URL to one Google Search Console property of the user's connected Google login (Search Console's sitemaps.submit). Use it when the user asks to submit a sitemap, or to resubmit one after fixing its errors. The connected login needs Full user or Owner permission on the property. Does not create or edit the sitemap file, does not request indexing of individual URLs, and does not guarantee Google will crawl or index the submitted pages: a success means Google accepted the submission. Check its status later with gsc_list_sitemaps.
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": {
"sitemap_url": "<sitemap_url>"
},
"name": "gsc_submit_sitemap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | No | The Search Console property: sc-domain:example.com or https://example.com/, as gsc_list_sites lists it. May be omitted when the login reaches exactly one property. | |
| sitemap_url | Yes | The sitemap's full URL, such as https://example.com/sitemap.xml. The file must already be live on the site. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The Search Console property, as Google spells it. | |
| changed | Yes | True only when this call changed Search Console. | |
| isPending | No | True while Google has not processed the submission. | |
| operation | Yes | What happened: the change made, no_change, or dry_run. | |
| sitemapUrl | No | The sitemap submitted. | |
| resubmitted | No | True when the sitemap was already submitted before this call. | |
| lastSubmitted | No | RFC 3339, as Google reports it after the call. |