ai-search
Searches the web and returns AI-generated answers, web results, images, and follow-up questions via Bocha AI. Supports streaming and custom freshness filters.
Instructions
Search using Bocha AI Search API. Returns web results, images, multimodal cards (weather, calendar,百科, etc.), AI-generated answers, and follow-up questions. Supports streaming. Use only when specifically requested by the user.
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": "ai-search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of results to return (1-50, default 10) | |
| query | Yes | Search query | |
| answer | No | Whether to generate AI answer | |
| stream | No | Whether to use streaming response | |
| freshness | No | Time range filter: noLimit, day, week, month, year | noLimit |