web-search

Fetches current internet information via the z-ai-web-dev-sdk and returns structured arrays.

26|15|Updated Dec 25, 2025
One-click install
npx skills add https://github.com/AnswerZhao/agent-skills --skill web-search-answerzhao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-search
Source: https://github.com/AnswerZhao/agent-skills/tree/main/glm-skills/web-search
Command: npx skills add https://github.com/AnswerZhao/agent-skills --skill web-search-answerzhao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires z-ai-web-dev-sdk, and includes scripts (resource) components.

What problem does it solve?

Implement web search capabilities within applications to fetch current information from the internet and present structured results for easy consumption.

Core Features & Use Cases

  • Real-time web search: query the internet and retrieve fresh results for up-to-date information.
  • Structured results: each item includes url, name, snippet, host_name, date, rank, and favicon for easy integration.
  • Use cases: power chat assistants, research tools, news aggregators, and content discovery features that require current web data.

Quick Start

Install and configure the z-ai-web-dev-sdk in your backend project, then invoke the web_search function with a query. For example, search for "machine learning trends" and request 10 results.

Frequently Asked Questions about web-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add real-time web search to my backend application?

To add real-time web search to a backend application, you use the z-ai-web-dev-sdk to query the internet and return structured results containing url, name, snippet, and date directly in your code.

What structured data fields are returned by a real-time web search?

A real-time web search returns an array of structured result objects containing url, name, snippet, host_name, rank, date, and favicon for easy downstream processing and integration.

Can I use the z-ai-web-dev-sdk for web search via CLI?

Yes, the z-ai-web-dev-sdk supports both CLI and SDK-based usage for fetching current web search results, offering flexible integration for production applications and backend scripts.

What's the best way to fetch current information for a news aggregator backend?

The best way to fetch current information for a news aggregator is to implement a real-time web search using the backend SDK, retrieving fresh structured results including dates and host names.

Do I need a specific SDK to enable real-time web search in production apps?

Yes, you need to install and configure the z-ai-web-dev-sdk in your backend project as a dependency to invoke the search function and retrieve live internet data for your applications.