Install
openclaw skills install bocha-web-searchDefault web search tool using Bocha Web Search API. Use for online lookup, verification, time-sensitive information, and citation-based answers.
openclaw skills install bocha-web-searchThis skill performs web searches using the Bocha Web Search API.
It is designed to:
This version avoids shell-specific instructions and system-level file operations to ensure compatibility with secure environments such as ClawHub.
Use this skill whenever the user request:
If uncertain whether online lookup is required, perform a search.
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:
Search results are located at:
data.webPages.value[]
Each result typically contains:
When generating the final answer:
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."
Common API error codes:
Use log_id from API responses for debugging if needed.