web_search
Find relevant web content by submitting search queries with customizable parameters like language, time range, and safe search. Returns structured JSON results with configurable offset and result count for precise pagination.
Instructions
Performs a web search using SearXNG and returns structured JSON results.
IMPORTANT: Pagination is offset-based, NOT page-based.
To get a specific range of results, set 'offset' to the zero-based index of the first result you want, and 'max_results' to how many results you want. For example, to get results 40-43, set offset=39 and max_results=4.
Pagination: Use offset (not page) - offset=0=first result, offset=10=11th result
Example: offset=39, max_results=4 gets results 40-43
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search terms. Example: 'climate change' | |
| max_results | No | Number of results to return (1-100, default: 10) | |
| offset | No | Number of results to skip (default: 0) | |
| content_length | No | Max characters per result (0 for no content, only metadata; 1-1000, default: 200) | |
| page | No | (Advanced) Page number. Usually leave as default. | |
| language | No | Language code (e.g. 'en', 'all'). Default: 'all' | all |
| time_range | No | Time range: 'all_time', 'day', 'week', 'month', 'year' | all_time |
| safesearch | No | Safe search: 0 (off, default), 1 (moderate), 2 (strict) |