search_web
Search the live web or read a page as clean Markdown, extract structured data per your JSON Schema, get AI answers, or fetch top Hacker News stories in one call.
Instructions
Search or read the live web: structured Google results (search_google), semantic/intent search with an AI-generated answer (search_semantic), a public page's main content as clean Markdown (read_page), structured data extracted from a page per a JSON Schema you provide (extract_from_page), or current top Hacker News stories (trending_hn). Prices: $0.005 (search_google, read_page, trending_hn), $0.01 (search_semantic), $0.02 (extract_from_page).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | read_page / extract_from_page only: the public page URL to fetch. | |
| mode | Yes | What kind of web lookup to perform. | |
| limit | No | trending_hn only: number of stories, 1-50 (default 20). | |
| query | No | search_google / search_semantic only: the search query. | |
| schema | No | extract_from_page only: a JSON Schema describing the fields to extract from the page. | |
| country | No | search_google only: 2-letter ISO country code (default 'us'). | |
| num_results | No | search_semantic only: number of results, 1-10 (default 5). |