search
Search the web across Baidu/Bing/Sogou/WeChat/Google (aggregated + deduped) and optionally fetch the top results' full content. Use when the agent needs to FIND information online - replaces a search API. Supports image search returning direct image URLs. Optional engines: ["baidu"]-style filter by engine name (invalid names error with the valid list; /doctor lists them with live health). Optional time_range day/week/month/year for news freshness (engines without dated results ignore it). Response carries engine_errors explaining any engine that contributed nothing (CAPTCHA suspension, transient failure).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Search query | |
| engines | No | Restrict to these engine names (e.g. ["baidu"], ["sogou_wechat"]). Empty = all engines serving `categories`. Invalid names return an error listing the valid ones. | |
| fetch_top | No | Fetch content for top N results | |
| categories | No | Search categories (default: general) | general |
| time_range | No | Freshness window: "day" | "week" | "month" | "year". Honored by engines with dated results (e.g. bing_news filters by pubDate); others ignore it. | |
| max_results | No | Maximum number of results (default: 10) | |
| max_chars_per | No | Max characters per result content |