{
  "id": "web.sitemap",
  "object": "tool",
  "name": "Read sitemap",
  "summary": "All URLs from a site's sitemaps.",
  "description": "Reads a sitemap.xml (gzipped too) or sitemap index, following child sitemaps up to a limit. Give a site and it finds the sitemap through robots.txt, falling back to /sitemap.xml. Returns URLs with lastmod, changefreq and priority, plus a JSON file of all of them.",
  "category": "web",
  "hosted_by": "Opentools",
  "runtime": "worker",
  "side_effects": false,
  "status": "live",
  "credits": 1,
  "price": "$0.0010",
  "providers": [
    {
      "id": "opentools",
      "name": "Opentools",
      "price": "$0.0010"
    }
  ],
  "mcp_name": "web_sitemap",
  "input_schema": {
    "type": "object",
    "properties": {
      "url": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2000,
        "description": "A sitemap URL, or a site to discover it from"
      },
      "max_urls": {
        "default": 10000,
        "description": "Stop after this many URLs",
        "type": "integer",
        "minimum": 1,
        "maximum": 50000
      },
      "max_sitemaps": {
        "default": 20,
        "description": "Stop after reading this many sitemap files",
        "type": "integer",
        "minimum": 1,
        "maximum": 50
      }
    },
    "required": [
      "url"
    ]
  },
  "kind": "tool"
}