web_search
Perform web searches using a privacy-respecting metasearch engine. Retrieve results in text or JSON format, filter by categories, language, and time range, and customize the number of returned items.
Instructions
Performs a web search using SearxNG and returns formatted results.
Results are returned in either text format (human-readable) or JSON format
depending on the result_format parameter selected.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
categories | No | Categories to filter by (e.g., 'general', 'images', 'news', 'videos') | |
language | No | Language code for results (e.g., 'all', 'en', 'ru', 'fr') | all |
query | Yes | The search query string to look for on the web | |
result_count | No | Maximum number of results to return | |
result_format | No | Output format - 'text' for human-readable or 'json' for structured data | text |
time_range | No | Time restriction for results |
Input Schema (JSON Schema)
{
"properties": {
"categories": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Categories to filter by (e.g., 'general', 'images', 'news', 'videos')",
"title": "Categories"
},
"language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "all",
"description": "Language code for results (e.g., 'all', 'en', 'ru', 'fr')",
"title": "Language"
},
"query": {
"description": "The search query string to look for on the web",
"title": "Query",
"type": "string"
},
"result_count": {
"default": 10,
"description": "Maximum number of results to return",
"exclusiveMinimum": 0,
"title": "Result Count",
"type": "integer"
},
"result_format": {
"default": "text",
"description": "Output format - 'text' for human-readable or 'json' for structured data",
"enum": [
"text",
"json"
],
"title": "Result Format",
"type": "string"
},
"time_range": {
"anyOf": [
{
"enum": [
"day",
"week",
"month",
"year"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Time restriction for results",
"title": "Time Range"
}
},
"required": [
"query"
],
"title": "web_searchArguments",
"type": "object"
}