Add Sitemap
wsp_add_sitemap_gscSubmits or resubmits a sitemap to a Google Search Console property so search engines can discover your pages. Requires write access enabled via WSP_ALLOW_WRITES=true.
Instructions
Submit or resubmit a sitemap. Requires WSP_ALLOW_WRITES=true.
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": {
"site_url": "<site_url>",
"sitemap_url": "<sitemap_url>"
},
"name": "wsp_add_sitemap_gsc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes | Exact GSC property URL from wsp_list_websites_gsc (e.g. "https://example.com/" or "sc-domain:example.com"). Domain properties cover all subdomains — use the domain property as site_url and filter by page to analyze a specific subdomain. | |
| sitemap_url | Yes | The full URL of the sitemap to submit |