web_search_tool
Perform web searches via a private SearxNG instance, returning structured results with title, URL, and description. Includes pagination and graceful error handling.
Instructions
Perform web search using SearxNG instance.
This tool searches the web using a local SearxNG instance and returns structured search results. It provides title, description, and URL for each result with support for pagination. The tool handles errors gracefully and returns them in the response rather than raising exceptions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination, starting from 1. Each page contains `page_size` results. Defaults to 1 (first page). | |
| query | Yes | The search query string. Must be non-empty and will be trimmed of leading/trailing whitespace. Examples: "python programming", "machine learning tutorials", "fastapi documentation". | |
| page_size | No | Maximum number of results to return per page. If not provided, uses the default from application settings. Must be positive. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||