Skip to content

WebFetchInput

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  3360263395["input_types.WebFetchInput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 3360263395
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Input for the WebFetch tool. Fetches content from a URL and processes it with AI.

Source code in src/clawd_code_sdk/models/input_types.py
@_extra_allow
class WebFetchInput(TypedDict):
    """Input for the WebFetch tool. Fetches content from a URL and processes it with AI."""

    url: str
    """The URL to fetch content from."""
    prompt: str
    """The prompt to run on the fetched content."""
    offset: NotRequired[int]
    """Character position in the page text to start reading from."""

offset instance-attribute

offset: NotRequired[int]

Character position in the page text to start reading from.

prompt instance-attribute

prompt: str

The prompt to run on the fetched content.

url instance-attribute

url: str

The URL to fetch content from.

:fa-brands-github: Show source on GitHub