{
  "id": "web.headers",
  "object": "tool",
  "name": "HTTP headers",
  "summary": "Redirect chain and security grade.",
  "description": "Requests a URL and follows redirects one hop at a time (up to 10), returning each hop's status and headers. Grades the final response's security headers: HSTS, Content-Security-Policy, X-Content-Type-Options, X-Frame-Options or frame-ancestors, Referrer-Policy and Permissions-Policy.",
  "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_headers",
  "input_schema": {
    "type": "object",
    "properties": {
      "url": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2000,
        "description": "URL to request. https:// is assumed if missing."
      },
      "method": {
        "default": "GET",
        "description": "HTTP method",
        "type": "string",
        "enum": [
          "GET",
          "HEAD"
        ]
      },
      "max_redirects": {
        "default": 10,
        "description": "Most redirects to follow",
        "type": "integer",
        "minimum": 0,
        "maximum": 10
      }
    },
    "required": [
      "url"
    ]
  },
  "kind": "tool"
}