搜索互联网获取实时信息、新闻、研究等内容。支持博查、百度千帆、智谱、LinkAI 四个后端,配置任意一家即可使用。Documentation Index
Fetch the complete documentation index at: https://docs.cowagent.ai/llms.txt
Use this file to discover all available pages before exploring further.
厂商
| 厂商 | 凭证 | 申请入口 |
|---|---|---|
| 博查 Bocha | tools.web_search.bocha_api_key | 博查开放平台 |
| 百度千帆 | 复用 qianfan_api_key | 千帆控制台 |
| 智谱 Zhipu | 复用 zhipu_ai_api_key | 智谱开放平台 |
| LinkAI | 复用 linkai_api_key | LinkAI 控制台 |
bocha_api_key 外,其他三家直接复用对应模型的 API Key,配好模型即同时获得搜索能力。
路由策略
auto(默认):由 Agent 在已配置的厂商中智能选择,并可在一次任务中多次调用、切换不同厂商以获取更全面的结果;未指定时按bocha → qianfan → zhipu → linkai顺序兜底。fixed:固定使用provider指定的厂商;该厂商凭证缺失时自动回落到 auto 顺序。
工具参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
query | string | 是 | 搜索关键词 |
count | integer | 否 | 返回结果数量(1–50,默认 10) |
freshness | string | 否 | 时间范围:noLimit(默认)、oneDay、oneWeek、oneMonth、oneYear,或日期范围如 2025-01-01..2025-02-01 |
summary | boolean | 否 | 是否返回页面摘要(默认 false) |
provider | string | 否 | auto 策略下配置了多个厂商时可见,用于单次切换厂商 |
四家凭证均未配置时,该工具不会注册到 Agent。
