submit_sitemap
Parse sitemap.xml files and submit URLs to the indexer, automatically skipping previously submitted URLs and supporting regex filters for selective indexing.
Instructions
Parse and submit URLs from a sitemap.xml file. Automatically deduplicates against previously submitted URLs. Supports filtering by regex pattern.
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>",
"app_name": "<app_name>"
},
"name": "submit_sitemap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max URLs to submit (for testing) | |
| app_name | Yes | Project/app identifier | |
| apex_mode | No | Enable Apex Mode (default: false) | |
| sitemap_url | Yes | URL to sitemap.xml (e.g., "https://example.com/sitemap.xml") | |
| filter_pattern | No | Regex to filter URLs (e.g., "/listing/" to only index listings) | |
| exclude_pattern | No | Regex to exclude URLs (e.g., "/admin/") | |
| skip_already_submitted | No | Skip URLs already in history (default: true) |