get_sitemap_pages
Extract all pages from a website's sitemap, with options for pagination, filtering by route, including metadata, and setting limits for efficient data retrieval.
Instructions
Get all pages from a website's sitemap with optional limits and filtering options. Supports cursor-based pagination.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cursor | No | Pagination cursor for fetching the next page of results | |
include_metadata | No | Whether to include additional page metadata (priority, lastmod, etc.) | |
limit | No | Maximum number of pages to return per page (0 for default of 100) | |
route | No | Optional route path to filter pages by (e.g., '/blog') | |
sitemap_url | No | Optional URL of a specific sitemap to get pages from | |
url | Yes | The URL of the website homepage (e.g., https://example.com) |
Input Schema (JSON Schema)
{
"properties": {
"cursor": {
"default": "",
"description": "Pagination cursor for fetching the next page of results",
"title": "Cursor",
"type": "string"
},
"include_metadata": {
"default": false,
"description": "Whether to include additional page metadata (priority, lastmod, etc.)",
"title": "Include Metadata",
"type": "boolean"
},
"limit": {
"default": 0,
"description": "Maximum number of pages to return per page (0 for default of 100)",
"title": "Limit",
"type": "integer"
},
"route": {
"default": "",
"description": "Optional route path to filter pages by (e.g., '/blog')",
"title": "Route",
"type": "string"
},
"sitemap_url": {
"default": "",
"description": "Optional URL of a specific sitemap to get pages from",
"title": "Sitemap Url",
"type": "string"
},
"url": {
"description": "The URL of the website homepage (e.g., https://example.com)",
"title": "Url",
"type": "string"
}
},
"required": [
"url"
],
"title": "get_sitemap_pagesArguments",
"type": "object"
}