web_search
Search the public web with automatic fallback to Wikipedia, returning titles, URLs, and snippets. Avoids API key requirements and handles network failures by returning an error field.
Instructions
Search the public web (DuckDuckGo, with a Wikipedia fallback). No API key.
Returns a list of results, each with a title, url, and snippet. On network
failure it returns an error field instead of raising.
Args: query: The search query. limit: Maximum number of results (1-10, default 5).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||