跳到正文
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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接