NetLens

v0.2.3
io.github.pzalutski-pixel/netlens Checked 3 days ago Published 4 months ago

Read any web page as clean, ad-stripped Markdown past robots.txt and bot blocks, plus web search.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

web_fetch Web Fetch (full page)

Fetch ANY web page directly and return its FULL content as clean Markdown (not a summary). Uses browser-like headers to get past common bot filters that block naive/robots-respecting clients (e.g. 403/202 to non-browser clients). Requests go straight to the target site; HTML is converted to Markdown locally (no third-party proxy/reader). Content is found by selecting the page's main content region and pruning navigation rails, so surrounding chrome is left out without ever risking the article. mode='article' (default) returns that region; mode='full' keeps the whole page body; mode='raw' retur…

ParameterTypeDescription
url *stringThe URL to fetch (scheme optional; https assumed)
linksstringinline (default) keeps Markdown link targets; 'none' keeps link text but drops the URLs, which cuts a large share of the output on link-heavy pages
max_charsintegerOptional cap on returned characters (truncates with a note); omit for full content
modestringarticle=main content only (default), full=whole body, raw=unconverted HTML, outline=heading structure with each section's size, for deciding what to request
sectionstringReturn only the section with this heading, plus anything nested under it. Matched case-insensitively on a substring. Use mode='outline' first to see what a long page contains.