Added
fetch_contentcan now return the original text response withmode: "raw", which is useful for JSON APIs, error pages, and debugging what a server actually sent.fetch_contentcan now answer a question about a single fetched page withmode: "answer", while still saving the original page text so you can inspect it later.- Direct image links now work for PNG, JPEG, WebP, and GIF files. The tool downloads them safely, resizes large images, and returns an inline image result.
get_search_contentnow acceptsfindTextandfindMode, so you can search saved content for the passage you need instead of paging through a long page by hand. Inspired by@xl0'spi-lovely-webproject.- Added optional
searxngHeadersso self-hosted SearXNG requests can carry reverse-proxy or Zero Trust auth headers. Thanks@preinpostfor PR #202. - Added explicit-only xAI/Grok search with
xaiApiKey/XAI_API_KEY, Pi model-registry auth, and optionalxaiSearchModel. Thanks@join3rfor PR #196. - Added explicit-only Bright Data SERP search with
brightdataApiKey/BRIGHTDATA_API_KEYcredentials and a requiredbrightdataSerpZone/BRIGHTDATA_SERP_ZONEzone of Bright Data typeserp. Bright Data is never chosen byautoand never participates inprovider: "all". Thanks@mo-rootfor PR #198. - Added Bright Data Web Unlocker as a paid
fetch_contentextraction fallback withbrightdataApiKey/BRIGHTDATA_API_KEYcredentials and a requiredbrightdataUnlockerZone/BRIGHTDATA_UNLOCKER_ZONEzone of Bright Data typeunblocker. Thanks@mo-rootfor PR #199. - Added Kagi Search API support with
kagiApiKey/KAGI_API_KEY, plus Kagi Extract as afetch_contentfallback. Thanks@imlonghaofor issue #197. - Added Ollama Cloud Web Search support with
ollamaApiKey/OLLAMA_API_KEY, plus Ollama Web Fetch as afetch_contentfallback. Thanks@bradley-holtfor issue #203. - Added explicit-only SerpBase Google SERP search with
serpbaseApiKey/SERPBASE_API_KEY, domain filters assite:clauses, and recency mapped to Googletbs. Thanks@gefsikatsineloufor issue #195.
Changed
- Long
fetch_contentresults are easier to continue reading. The first response now stops on cleaner line boundaries and tells you the character, byte, and line totals plus the exact offset to request next.
Fixed
- Fixed the
fetch_contentcall header showingfetch (no URL)when Pi suppliedurltogether with an emptyurlsarray. Thanks@Vergil824for issue #192. - Resolve preferred summary and query-rewrite models through routed provider registrations such as OpenRouter, preserving the registered provider and model ID instead of falling back when the native provider is unavailable. Thanks
@robzolkosfor issue #200 and PR #201. - GitHub clone subprocesses now disable interactive credential prompts and terminate their process trees on timeout or cancellation, preventing orphaned Git helpers from capturing terminal input. Thanks
@MDGChamomilefor PR #193.