تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

zhipu-search

بواسطة honestqiao

Web & Frontend Development
—لم يُقيَّم بعد
تقييمك

موجز

Use Zhipu (智谱) web search API for searching the internet.

الوصف

ما الذي تفعله هذه المهارة

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.

متى تستخدمها

  • 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

مثال على سير العمل

الإدخال

User asks: What are the latest updates to the Go programming language?

الوكيل
  1. 1

    Reads ZHIPU_API_KEY from environment

  2. 2

    Sends POST request to Zhipu API with web_search tool and query

  3. 3

    Receives search-augmented response from GLM-4-Flash

  4. 4

    Extracts content from choices[0].message.content via jq

  5. 5

    Returns the answer to the user

الإخراج

A summary of recent Go release notes and updates sourced from the web

المتطلبات

  • ZHIPU_API_KEY environment variable — obtain from https://www.bigmodel.cn/usercenter/proj-mgmt/apikeys

التثبيت

clawhub install honestqiao/zhipu-search

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط