Search the Web
alterlab_searchSearch the web and read top result pages as concise markdown in one call, so you can research a topic when you have no URL yet.
Instructions
Search the web and read the top results in one call: a vendor-neutral list of URLs, titles and snippets, with each result page as concise markdown. Use when you have a question or topic but no URL yet; for one known URL use alterlab_scrape. Cost: $0.001 per query; only fetched result pages are billed on top, and scrape_results=false returns the result list alone (cheapest). Each result has a content_status (ok, partial, blocked, timeout, dead_origin, pending). concise=false returns full-length content; mode trades latency for coverage; domain restricts to one site and time_range filters by recency. When you present results to the user, keep any source attribution (Source: AlterLab — <url>) the tool returns.
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": {
"query": "<query>"
},
"name": "alterlab_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Latency tier for page content: fast (5 s), standard (15 s), deep (60 s). Default standard. | |
| page | No | Result page number (1-indexed). Page 2 returns results 11-20, etc. | |
| query | Yes | Search query (max 500 characters) | |
| domain | No | Restrict results to a specific domain (applied as site: prefix, e.g. 'docs.example.com') | |
| engine | No | Search engine. Default 'auto': unified vendor-neutral search with page content. Pass duckduckgo, google or bing to opt out and use that engine alone (result list only unless scrape_results=true). duckduckgo costs $0.001/query; google and bing use browser rendering and cost $0.004/query. | |
| concise | No | With unified search content: concise agent output (markdown with size caps). Default true. false returns full-length content. | |
| country | No | ISO 3166-1 alpha-2 country code for geo-targeted results (e.g., 'US', 'GB', 'DE') | |
| formats | No | Output formats when scrape_results=true | |
| language | No | Language code for results (e.g., 'en', 'fr', 'de') | |
| time_range | No | Filter results by recency | |
| num_results | No | Number of results to return (1-30) | |
| safe_search | No | Safe search filtering to exclude adult content from results (API default true). Set false to disable. | |
| scrape_results | No | Scrape each result page and include its content. Default: true for the unified search (engine auto), false when an explicit engine is set. Pass false for the result list only. Each fetched page is billed at its scraping tier cost in addition to the base search fee. | |
| extraction_schema | No | JSON schema for structured extraction when scrape_results=true |