Tools · The web

open_url

Read-only

Fetch a URL and return a clean text excerpt.

When to use: Use this when you need exact content from a specific URL. Prefer this after search results identify a likely source.

Example

Run for real by scripts/tool-examples.py in a small demo project, with Haiku 5.5 where the tool calls a model. The output is exactly what the tool returned, in 0.1s.

The call

tool call
{
  "tool": "open_url",
  "arguments": {
    "url": "https://example.com",
    "max_chars": 600
  }
}

Real output

This domain is for use in documentation examples without needing permission. This is not a service; avoid relying on it for testing and monitoring purposes.

Parameters

NameTypeDescription
url*stringURL to open
max_charsnumberOptional max output length

* required

Search, open pages, drive a browser, and research a question in depth.