Summary
A clear and concise description of the bug.
Steps to reproduce
- Run search eg
zai-cli search "TypeScript best practices" --count 10
Expected behavior
Return results
{"success":false,"error":"MCP tool call failed: Tool 'zai.search.webSearchPrime' not found in the repository.","code":"API_ERROR"}
Actual behavior
Environment
- OS: Sonoma 14.61
- Node version: 22
- zai-cli version: 1.10
- Z_AI_API_KEY set: yes