Skip to main content
← All tools

curl

Fetch HTTP responses and inspect headers

NetworkingSchema v1.2.0Maintained by mcclowes

Give your agents the context

Install curl first. This command installs its capability description and registers your local executable. It doesn't install or run the tool.

clip registry add curl --purpose "Fetch HTTP responses and inspect headers"
clip sync

Coverage: HTTP response bodies and HEAD requests; excludes uploads and authentication options. This is a partial community description, not a claim of full CLI Spec conformance. Missing mutation markers mean unknown.

Agent validation

This schema hasn't been run against its tool by an agent yet.

How validation works ↗

what's described

Capabilities

Mutation status unknown

curl <url>

Fetch a response body. HTTP defaults to GET unless other options change the method.

curl --disable --silent --show-error --fail --max-time 30 --max-filesize 1000000 --write-out '\n%{http_code}\n' --header 'Accept: application/json' https://example.com/api/items
curl --disable --silent --show-error --fail --max-time 30 https://example.com/
Mutation status unknown

curl --head <url>

Send an HTTP HEAD request and print response headers.

curl --disable --silent --show-error --head --max-time 30 https://example.com/

Inspect the source

Review the schema's arguments and output fields before use. Community descriptions provide context, not authorization.

Full capability document
{
  "name": "curl",
  "description": "Transfer data over HTTP or HTTPS. Mutation status is unknown: --config can supply additional options, --request accepts arbitrary HTTP methods, and output options can write local files. Examples disable default configuration and bound request time and response size. Other protocols, uploads, and authentication options are excluded.",
  "documentation": "https://curl.se/docs/manpage.html",
  "global_args": [
    {
      "name": "--disable",
      "type": "boolean",
      "description": "Skip the default curl configuration file. Must be the first argument."
    },
    {
      "name": "--max-time",
      "type": "number",
      "description": "Limit the transfer duration in seconds."
    },
    {
      "name": "--max-filesize",
      "type": "integer",
      "description": "Refuse a response larger than this many bytes; curl exits 63 without transferring it."
    },
    {
      "name": "--silent",
      "type": "boolean",
      "description": "Suppress the progress meter and errors; pair with --show-error to retain errors."
    },
    {
      "name": "--show-error",
      "type": "boolean"
    }
  ],
  "capabilities": [
    {
      "name": "<url>",
      "description": "Fetch a response body. HTTP defaults to GET unless other options change the method.",
      "args": [
        {
          "name": "url",
          "type": "string",
          "required": true
        },
        {
          "name": "--header",
          "type": "string",
          "description": "Add a request header in NAME: VALUE form. Repeatable."
        },
        {
          "name": "--location",
          "type": "boolean",
          "description": "Follow redirects."
        },
        {
          "name": "--fail",
          "type": "boolean",
          "description": "Fail on HTTP errors, normally suppressing the response body."
        },
        {
          "name": "--write-out",
          "type": "string",
          "description": "Append transfer metadata using curl variables such as %{http_code}."
        }
      ],
      "examples": [
        "curl --disable --silent --show-error --fail --max-time 30 --max-filesize 1000000 --write-out '\\n%{http_code}\\n' --header 'Accept: application/json' https://example.com/api/items",
        "curl --disable --silent --show-error --fail --max-time 30 https://example.com/"
      ],
      "output_fields": [
        {
          "name": "stdout",
          "type": "string",
          "description": "Response bytes, followed by --write-out text if requested. Content is not necessarily JSON."
        }
      ]
    },
    {
      "name": "--head <url>",
      "description": "Send an HTTP HEAD request and print response headers.",
      "args": [
        {
          "name": "url",
          "type": "string",
          "required": true
        },
        {
          "name": "--location",
          "type": "boolean",
          "description": "Follow redirects; output can contain multiple header blocks."
        }
      ],
      "examples": [
        "curl --disable --silent --show-error --head --max-time 30 https://example.com/"
      ],
      "output_fields": [
        {
          "name": "stdout",
          "type": "string",
          "description": "HTTP status lines and headers as text."
        }
      ]
    }
  ]
}

View source and propose an update ↗

SHA-256: a15107c779edcadaeaa3d4448a3740c073a522c3980b0de6c943cccaac3f2b1d