web-search

Perform web searches via the z-ai-web-dev-sdk and return structured results.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Lucmac667/Be-Ballenced-Dashboard --skill web-search-lucmac667
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: web-search
Source: https://github.com/Lucmac667/Be-Ballenced-Dashboard/tree/main/Be-Ballenced-Dashboard/skills/web-search
Command: npx skills add https://github.com/Lucmac667/Be-Ballenced-Dashboard --skill web-search-lucmac667

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Applications often need access to current information from the web. This skill provides a reliable way to perform web searches and return structured results that can be consumed by backend services or UI layers.

Core Features & Use Cases

  • Real-time web search queries via the z-ai-web-dev-sdk.
  • Returns structured results including url, name, snippet, host_name, date, and favicon.
  • Supports CLI and SDK usage for integration into apps and workflows.
  • Use cases include content discovery, market monitoring, competitive research, and information validation.

Quick Start

Use the web search skill to perform a simple query. For CLI, run: z-ai function --name web_search --args '{"query": "latest AI news"}' For SDK usage, create a ZAI instance and invoke the function: const zai = await ZAI.create(); const results = await zai.functions.invoke('web_search', { query: 'latest AI news', num: 5 });

Frequently Asked Questions about web-search

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

FAQPage Schema
How do I perform real-time web searches and return structured results in a backend application?▼

Real-time web search in a backend application is performed using the z-ai-web-dev-sdk, which accepts a query string and optional parameters like num and recency_days to return structured items containing url, name, snippet, host_name, date, and favicon.

Can I use the web search SDK function via CLI for content discovery workflows?▼

Yes, the web search function supports CLI usage for content discovery by executing z-ai function --name web_search with a JSON arguments payload, returning structured search results directly to your terminal for immediate integration.

What parameters can I pass to filter web search results by recency and number?▼

You can filter web search results by passing the num parameter to limit the number of returned items and the recency_days parameter to restrict results to a specific recent timeframe, ensuring the structured data fits your application's specific needs.

Does the web search function require any specific dependencies to work?▼

Yes, the web search function requires the z-ai-web-dev-sdk dependency to be installed and configured in your environment to successfully execute queries and retrieve structured data for your backend services.

What is the best way to integrate real-time web search results into an existing Node.js application?▼

The best way to integrate real-time web search is by creating a ZAI instance using const zai = await ZAI.create(), then invoking the web_search function with your query parameters to receive structured JSON objects ready for application consumption.

What specific data fields are included in the structured web search results?▼

Structured web search results include specific data fields such as url, name, snippet, host_name, date, and favicon for each item, providing comprehensive metadata for content discovery and market monitoring workflows.