effect-io-ai

Package: @effect/ai-anthropic
Module: AnthropicTool

AnthropicTool.WebFetchParameters

Type of the parameters Claude supplies when invoking the Anthropic web fetch tool.

When to use

Use when typing Claude-supplied web-fetch tool parameters after schema validation, before enforcing URL provenance or length constraints.

Details

The payload contains the single url parameter for Anthropic web fetch.

Gotchas

The URL must be user-provided or from prior search/fetch results. Maximum URL length is 250 characters.

Signature

type WebFetchParameters = typeof WebFetchParameters.Type

Source

Since v4.0.0