NetLens
v0.2.3Read 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_search Web Search
Search the web and return real result links (title, URL, snippet), parsed locally from a search engine's HTML endpoint via a direct, bot-bypassing fetch. Returns LINKS, not summaries — follow up with web_fetch to read a result's full content. Returns the full first page of results (~10); a search fetches one page, so refine the query rather than expecting deep pagination. WORKFLOW: web_search to find pages, then web_fetch to read them.
| Parameter | Type | Description |
|---|---|---|
query * | string | The search query |
categories | string | SearXNG category filter, e.g. 'it', 'science', 'news'. SearXNG only. |
engine | string | Search backend. 'auto' (default) tries SearXNG first when configured, then DuckDuckGo, Mojeek, Bing. 'searxng' needs NETLENS_SEARXNG_URL. |
limit | integer | Optional cap on results; default returns the full first page (~10) |
page | integer | Result page, 1-based. SearXNG only — the scraped engines serve one page and are reported as not supporting this rather than ignoring it. |
time_range | string | Restrict to recent results. SearXNG only. |
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…
| Parameter | Type | Description |
|---|---|---|
url * | string | The URL to fetch (scheme optional; https assumed) |
links | string | inline (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_chars | integer | Optional cap on returned characters (truncates with a note); omit for full content |
mode | string | article=main content only (default), full=whole body, raw=unconverted HTML, outline=heading structure with each section's size, for deciding what to request |
section | string | Return 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. |