scrape_web
Scrape the web and return the extracted items as a structured list. source: {kind:'page', url} for one page, {kind:'pages', urls} for up to 10, or {kind:'search', query, includeDomains?, excludeDomains?, recencyMinutes?, domainType?:'web'|'news'} to search first. extract.outputSchema is a JSON Schema object with an items array whose elements have at least url (string); extract.prompt says what counts as an item and what to keep (topics, keywords, exclusions). Optional strategy (defaults to 'auto' when omitted, so a call without it can be charged: 'auto' fetches the pages and, if they give fewer than maxItems items, sends to the agent the pages that came back empty or behind a bot or login wall, or uses the agent in place of the fetch when the fetch provider rejects FuseAI's account; 'fetch' never uses the agent and is never charged; 'agent' sends the pages straight to the agent), filters.keywords (hard filter) and filters.cssScope. maxItems 1-25. Optional exclude: values (urls) already collected — the extractor and the agent are told to look past them and return the items after them, so a repeated scrape of the same list moves forward instead of returning the same head. Returns { items, strategyUsed, agentSteps, creditsCharged }. The agent is a third-party AI research agent, not a browser: it searches the web and reads page content without signing in. It reads at most 3 pages per call: with 'agent', or when 'auto' uses it in place of the fetch, only the first 3 pages or search hits can be read, and in 'auto' at most 3 of the empty or walled pages are sent to it; pages past that cap are skipped without an error and add no items. Fetch and search cost no credits; the agent tier costs 5 credits per page it reads (so at most 15 credits per call), runs only when the user's credit balance covers those pages, and its cost is debited from that balance after a successful run; each call is charged on its own, so a repeated call that uses the agent is charged again. Apart from that credit charge it saves or changes nothing: the items are not saved to a FuseAI list or record, and nothing is posted or submitted to the sites.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>",
"extract": "<extract>",
"maxItems": "<maxItems>"
},
"name": "scrape_web"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| exclude | No | ||
| extract | Yes | ||
| filters | No | ||
| maxItems | Yes | ||
| strategy | No |