zhipu-search
bởi honestqiao
Web & Frontend DevelopmentTóm tắt
Use Zhipu (智谱) web search API for searching the internet.
Mô tả
Kỹ năng này làm gì
Connects to Zhipu's (智谱) web search API to retrieve current information from the internet. Uses the GLM-4-Flash model with web_search tool support via curl and jq.
Provides live web results directly in the agent workflow without requiring a browser or separate search tool.
Khi nào nên dùng
- Looking up today's news on a topic
- Checking current prices or availability
- Finding recent documentation or changelogs
- Researching events that happened after the model's cutoff
- Getting up-to-date facts during a conversation
Quy trình ví dụ
User asks: What are the latest updates to the Go programming language?
- 1
Reads ZHIPU_API_KEY from environment
- 2
Sends POST request to Zhipu API with web_search tool and query
- 3
Receives search-augmented response from GLM-4-Flash
- 4
Extracts content from choices[0].message.content via jq
- 5
Returns the answer to the user
A summary of recent Go release notes and updates sourced from the web
Yêu cầu
- ZHIPU_API_KEY environment variable — obtain from https://www.bigmodel.cn/usercenter/proj-mgmt/apikeys
Cài đặt
clawhub install honestqiao/zhipu-searchChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.