返回顶部
b

bocha-web-search

Default web search tool using Bocha Web Search API. Use for online lookup, verification, time-sensitive information, and citation-based answers.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
1,740
下载量
4
收藏
概述
安装方式
版本历史

bocha-web-search

# Bocha Web Search This skill performs web searches using the Bocha Web Search API. It is designed to: - Retrieve up-to-date information - Verify factual claims - Provide source-backed answers - Support citation-based responses This version avoids shell-specific instructions and system-level file operations to ensure compatibility with secure environments such as ClawHub. --- ## When to Use This Skill Use this skill whenever the user request: - Requires information not present in the conversation - Involves time-sensitive or changing data (news, policies, financial data, releases) - Requires fact-checking or verification - Requests links, sources, or citations - Mentions a specific organization, event, person, or product and asks for factual details If uncertain whether online lookup is required, perform a search. --- ## API Specification Endpoint: POST https://api.bocha.cn/v1/web-search Headers: Authorization: Bearer <BOCHA_API_KEY> Content-Type: application/json Request body (recommended defaults): { "query": "<USER_QUERY>", "freshness": "noLimit", "summary": true, "count": 10 } Field meanings: - query: search query string (required) - freshness: time filter (e.g., noLimit, oneWeek, oneMonth) - summary: whether to include summarized content - count: number of returned results (1–50) --- ## Response Structure Search results are located at: data.webPages.value[] Each result typically contains: - name (title) - url - snippet - summary (original content) - siteName - datePublished --- ## Citation Rules (Mandatory) When generating the final answer: 1. Support factual statements using returned sources. 2. Assign citation numbers in order of appearance: [1], [2], [3] 3. End with a References section. 4. Each reference must include: - Title - URL - Site name (if available) Example output format: Answer: <Your answer with inline citations like [1], [2].> References [1] `<title>` `<url>` Source: `<siteName>` [2] `<title>` `<url>` Source: `<siteName>` If no reliable sources are found, respond with: "No reliable sources found." --- ## Error Handling Common API error codes: - 400: Bad request - 401: Invalid API key - 403: Insufficient balance - 429: Rate limit exceeded - 500: Server error Use log_id from API responses for debugging if needed.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 bocha-web-search-1776280215 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 bocha-web-search-1776280215 技能

通过命令行安装

skillhub install bocha-web-search-1776280215

下载 Zip 包

⬇ 下载 bocha-web-search v1.0.1

文件大小: 2 KB | 发布时间: 2026-4-16 17:32

v1.0.1 最新 2026-4-16 17:32
- Updated documentation to remove shell-specific setup and system-level file operations.
- Simplified API usage instructions to focus on direct API calls, improving compatibility with secure and cross-platform environments.
- Clarified citation formatting and response structure requirements.
- Maintained strict citation rules for source-backed answers.
- Improved guidance for error handling and troubleshooting.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部