Skip to content

Add web_fetch tool #663

@ammario

Description

@ammario

Problem

Agents have no ability to easily read a web page (e.g. a documentation URL). They're smart enough to not use curl in most cases, which would be very token inefficient due to irrelevant HTML and JS and may not even have the relevant content in the case of SPAs.

They tend to circumvent this with a call to web_search, with is inefficient and in many cases does not give them what they're after.

Solution

Many agents (like Claude Code) have some kind of "web_fetch" tool. I haven't looked into how they're implemented, but I assume they're basically converting the rendered HTML into markdown. I began working on a tool here a while ago that does just that by spinning up a headless chrome instance. Open to other approaches though. I just know we need this tool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions