WebFetch

A built-in definition supplied to the request when the tools option was omitted.

Captured description

Fetches a URL, converts the page to markdown, and answers prompt against it using a small fast model.

  • Fails on authenticated/private URLs — use an authenticated MCP tool or gh for those instead.
  • HTTP is upgraded to HTTPS. Cross-host redirects are returned to you rather than followed; call again with the redirect URL.
  • Responses are cached for 15 minutes per URL.

Input schema

JSON
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "url": {
      "description": "The URL to fetch content from",
      "type": "string",
      "format": "uri"
    },
    "prompt": {
      "description": "The prompt to run on the fetched content",
      "type": "string"
    }
  },
  "required": [
    "url",
    "prompt"
  ],
  "additionalProperties": false
}

Independent estimate

~283 tokens

The captured tool object was counted against the common baseline. This value supports comparison and is not additive.