[claude] Add web_fetch tool (trafilatura) for full-page content extraction (#973) #1004
Reference in New Issue
Block a user
Delete Branch "claude/issue-973"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #973
Summary
web_fetch(url, max_tokens=4000)tool using trafilatura for clean text extractionmax_tokens * 4characters (~4 chars/token)create_full_toolkit()with catalog entrytrafilaturaas optional dependency with newresearchextra in pyproject.tomlTest plan
tox -e unit -- tests/timmy/test_tools_web_fetch.py— 11/11 passtox -e lint— passestox -e unit— no regressions (pre-existing failures only)