Complete reference for every tool available on the CAI platform for fetching and researching external web content. Three distinct tools at three distinct layers: MCP (AI session), server-side PHP, and interactive browser UI. This document covers what each tool does, how to call it, when to use it, and where it lives in the platform hierarchy.
The CAI platform has three independent web research tools, each serving a different layer of the platform. They can be used together — for example, Exa Search to find a URL, Exa Fetch or web-fetch.php to pull the full content, and web-browser.html to drill deeper into the links on that page. None of them require the others to function.
Live external web search. Returns fresh results from the open web — news, docs, prices, code. No HTTP call needed — built into every Claude session automatically.
Fetch the full clean text from a specific URL. Better than raw HTML — extracts readable content. Available in every Claude session automatically.
PHP backend with multi-source search (8 sources), URL fetch, media download, and SQLite cache. Callable from any system via HTTP GET with the platform token.
Full interactive proxy browser UI. Enter a URL, navigate by clicking links, browse history, and send page content directly to any system inbox. David-facing.
Live web search powered by Exa. Returns recent, real-world results — news, documentation, pricing, code, research — that postdate Claude's training cutoff. Use this whenever you need information about something that happened recently, want to verify current facts, or need to find a specific URL before fetching it. Announced in COMMS #39 (08/05/26) by Tech [30].
| Parameter | Type | Description |
|---|---|---|
| query | string | Search query. Natural language works well. Be specific for better results. |
| num_results | integer | Optional. Number of results to return. |
| use_autoprompt | boolean | Optional. Let Exa optimize the query for better results. |
| type | string | Optional. "keyword" or "neural" search mode. |
| include_domains | array | Optional. Limit results to these domains (e.g. ["github.com"]). |
| start_published_date | string | Optional. ISO date — filter results published after this date. |
Fetches the full readable text from a specific URL. Exa's extraction is clean — it removes navigation, ads, and boilerplate and returns the meaningful content of the page. Use this when you already have a URL and want to read the full content of that page. Announced in COMMS #41 (08/05/26) by Tech [30].
| Parameter | Type | Description |
|---|---|---|
| url | string | Full URL to fetch. Must be publicly accessible. HTTPS preferred. |
Server-side PHP tool for web search and page fetching. Supports 8 specialized search
sources (Wikipedia, PubMed, news, Stack Overflow, GitHub, Dev.to, Google Scholar,
recipes). Results are cached for 120 minutes in SQLite. Has a visual UI at
/backend/web/web-fetch.html.
Use this when you need web data from PHP code, cron scripts, or server-side logic.
Also useful from AI sessions when you want to cache results server-side.
| Action | Key Params | What it does |
|---|---|---|
| search | q, source, limit | Search external web. source: auto | wikipedia | pubmed | news | stackoverflow | github | devto | scholar | recipes | all. Results cached 120 min. |
| fetch | url, extract | Fetch a URL and return its content. extract=text returns clean text; extract=raw returns HTML. Cached 120 min. |
| download_media | url, filename | Download a media file (image, video, PDF) and save it to backend/web/media/[system]/. |
| log | limit | Return recent fetch log entries from the SQLite DB. |
Full interactive proxy browser. Enter any URL and see a clean reader view of the page. All links on the page are listed and clickable — click to drill deeper into any page without leaving the platform. Full navigation history, back/forward buttons, and a "Send to System" bar at the bottom to drop the current page into any AI system's inbox for them to work with.
| Element | What it does |
|---|---|
| Address bar | Enter any URL + Go. Back, Forward, Reload buttons. |
| Page tab | Reader view — structured sections, title, Copy URL / Copy text. |
| Links tab | Every link from the current page. Filter box. Click any link to navigate there. |
| History tab | Last 40 visited pages. Click to revisit. Clear all button. |
| Send bar | Toggle buttons for each system (10–95). Hit Send Page to drop the full page text to selected system inboxes via ANNOUNCE. |
| Situation | What you need | Use this |
|---|---|---|
| AI session needs current news or facts | Live search with fresh results | web_search_exa |
| AI session has a URL, needs full page content | Fetch specific URL cleanly | web_fetch_exa |
| Research a topic from Wikipedia | Source-specific search | web-fetch.php (source=wikipedia) |
| Find code solutions or answers | Stack Overflow / GitHub search | web-fetch.php (source=stackoverflow or github) |
| Medical or scientific research | PubMed / Scholar search | web-fetch.php (source=pubmed or scholar) |
| Download an image or PDF to the server | Save media file server-side | web-fetch.php (action=download_media) |
| David wants to browse a site interactively | Visual browser with link navigation | web-browser.html |
| David found a useful page, wants a system to see it | Send page content to system inbox | web-browser.html → Send to System |
| PHP script or cron needs web data | Server-side HTTP call with cache | web-fetch.php (call from PHP) |
| Need results cached and available without re-fetching | 120-min SQLite cache | web-fetch.php |
The web research tools span three platform layers. The diagram below shows where each file lives, who can access it, and how they connect.
| COMMS # | Date | Sent By | Subject |
|---|---|---|---|
| #39 | 08/05/26 | Tech [30] | Exa Search MCP tool now available — account-wide web search in every Claude session |
| #41 | 08/05/26 | Tech [30] | Exa Fetch MCP tool now available — pull full clean page text from any URL in every Claude session |
| — | 08/06/26 | Claude Code | web-fetch.html UI built (v1.0) — visual interface for web-fetch.php |
| — | 08/07/26 | Claude Code | web-browser.html built (v1.0) — interactive proxy browser with link drill-down and Send to System |