zhipu-web-search

Zhipu AI Web Search Tool - Provides flexible search engine capabilities directly via cURL. Use when: - Need to search web information for the latest data - Need specific search engines (defaults to Quark, supports Sogou, Zhipu Search) - Need to filter search results by time range or domain - Need to control result count and detail level Supported search engines: search_std (basic), search_pro (advanced), search_pro_sogou (Sogou), search_pro_quark (Quark - default)

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "zhipu-web-search" with this command: npx skills add whyhit2005/zhipu-web-search

Zhipu Web Search

Web search via Zhipu AI's dedicated API (/paas/v4/web_search), refactored to use lightweight cURL instead of Python or jq. It defaults to using the search_pro_quark engine with 20 results.

Quick Start

Basic cURL Usage

curl --request POST \
  --url https://open.bigmodel.cn/api/paas/v4/web_search \
  --header "Authorization: Bearer $ZHIPU_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
    "search_query": "OpenClaw framework",
    "search_engine": "search_pro_quark",
    "search_intent": false,
    "count": 20
  }'

Script Usage

A wrapper shell script is provided for convenience.

# Basic Search (defaults to search_pro_quark and 20 results)
bash scripts/zhipu_search.sh --query "AI development trends"

# Advanced Search
bash scripts/zhipu_search.sh \
  --query "latest open source LLMs" \
  --engine "search_pro_sogou" \
  --count 50 \
  --intent \
  --recency "oneWeek"

API Parameter Reference

ParameterTypeRequiredDefaultDescription
search_querystring-Search content, recommended ≤70 chars
search_engineenumsearch_pro_quarksearch_std / search_pro / search_pro_sogou / search_pro_quark
search_intentboolean-falseEnable search intent recognition
countinteger-20Result count, range 1-50
search_domain_filterstring--Whitelist domain filter
search_recency_filterenum-noLimitoneDay / oneWeek / oneMonth / oneYear / noLimit
content_sizeenum-mediummedium (summary) / high (detailed)

Search Engine Selection Guide

EngineUse Case
search_pro_quarkQuark search, tailored for specific advanced scenarios (Default)
search_stdBasic search, regular Q&A
search_proAdvanced search, need more accurate results
search_pro_sogouSogou search, China domestic content

Response Structure

The API returns JSON directly.

{
  "id": "task-id",
  "created": 1704067200,
  "request_id": "request-id",
  "search_intent": [
    {
      "query": "original query",
      "intent": "SEARCH_ALL",
      "keywords": "rewritten keywords"
    }
  ],
  "search_result": [
    {
      "title": "title",
      "content": "content summary",
      "link": "result link",
      "media": "site name",
      "icon": "site icon",
      "refer": "reference number",
      "publish_date": "publish date"
    }
  ]
}

Environment Requirements

  • Environment variable ZHIPU_API_KEY must be configured.
  • curl command must be available in your system path.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Cclaw

Open-source comedy AI + video editing + poster generation. Create standup/sketch/manzai/scripts, edit videos via FFmpeg, and generate comedy posters via canv...

Registry SourceRecently Updated
General

Dlazy Seedance 1.5 Pro

Convert images into dynamic dance videos using Doubao Seedance 1.5 Pro.

Registry SourceRecently Updated
General

Pod Template Pack

Use when user needs ready-to-use POD (Print on Demand) design keywords, title templates, and listing copy. Use when creating POD product listings for TikTok,...

Registry SourceRecently Updated
General

Dlazy Mj.Imagine

Generate artistic images using Midjourney (MJ) model. Supports text-to-image.

Registry SourceRecently Updated