43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"tools": [
|
|
{
|
|
"name": "searx_search",
|
|
"description": "Search the web using local SearXNG instance at http://10.0.0.8:8888",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"query": {
|
|
"type": "string",
|
|
"description": "The search query to perform"
|
|
},
|
|
"count": {
|
|
"type": "integer",
|
|
"description": "Number of results to return (1-20)",
|
|
"default": 5,
|
|
"minimum": 1,
|
|
"maximum": 20
|
|
},
|
|
"lang": {
|
|
"type": "string",
|
|
"description": "Language code for search results (e.g., 'en', 'de', 'fr')",
|
|
"default": "en"
|
|
},
|
|
"safesearch": {
|
|
"type": "integer",
|
|
"description": "Safe search level: 0=off, 1=moderate, 2=strict",
|
|
"default": 0,
|
|
"minimum": 0,
|
|
"maximum": 2
|
|
}
|
|
},
|
|
"required": ["query"]
|
|
},
|
|
"entry": {
|
|
"type": "node",
|
|
"path": "searx-search.js",
|
|
"args": ["{{args}}"]
|
|
}
|
|
}
|
|
]
|
|
}
|