web-search

Perform real-time web searches and return structured result items.

Updated Aug 1, 2024
One-click install
npx skills add https://github.com/skkarki/Sanam --skill web-search-skkarki
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: web-search
Source: https://github.com/skkarki/Sanam/tree/main/skills/web-search
Command: npx skills add https://github.com/skkarki/Sanam --skill web-search-skkarki

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Provides real-time access to web information by returning structured search results from the internet, enabling apps to stay up-to-date without implementing search backends.

Core Features & Use Cases

  • Structured results: Each item includes url, name, snippet, host_name, rank, date, favicon.
  • SDK-backed: Uses z-ai-web-dev-sdk for backend-only searches.
  • Use cases: Knowledge dashboards, research assistants, content discovery, and monitoring current information.

Quick Start

Use this skill to run a web search by calling the web_search function with a query. For example, invoke 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 add real-time web search to my application backend?▼

Real-time web search integration uses the z-ai-web-dev-sdk on the server side to invoke search functions and return structured result arrays containing URLs, snippets, and metadata.

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

Structured web search results include url, name, snippet, host_name, rank, date, and favicon for each item, providing comprehensive metadata to build research assistants or content discovery dashboards.

Does the web search SDK work for building knowledge base dashboards?▼

The web search SDK works for building knowledge base dashboards by retrieving current information from the internet, returning structured result arrays that can be aggregated and displayed in real-time monitoring interfaces.

How do I retrieve current information from the web using an SDK?▼

Retrieve current information by invoking the search function through the z-ai-web-dev-sdk, passing a query and desired result count to receive an array of SearchFunctionResultItem objects with relevant web data.

Can I use web search for content discovery and trend monitoring?▼

Web search can be used for content discovery and trend monitoring by running real-time queries that return ranked results with dates and snippets, enabling applications to track current information dynamically.