SearXNG Search AI Tool icon

SearXNG Search AI Tool

Expose SearXNG web search as a structured AI tool for use with the AI Agent node

SearXNG Search AI Tool

AI-generated

Summary

Expose SearXNG web search as a structured AI tool for an AI Agent. The agent can search with a required query and optional filters; the node limits how many results it returns.

Inputs

  • Max Results — Maximum results returned to the AI agent, from 1 to 50; defaults to 10.
  • query (required) — Non-empty search query.
  • categories — Comma-separated SearXNG categories, such as general, images, news, or science.
  • language — Language code to filter results; omit for all languages.
  • time_range — Recency filter: day, month, or year.
  • safesearch — Safe search level: 0 (off), 1 (moderate), or 2 (strict).
  • pageno — One-based page number.
  • engines — Comma-separated engine names to restrict the search.

Output shape

An AI tool connection; each search returns a JSON string containing a success or error envelope.

On success, the envelope includes result.items (title, url, content), result.count, result.totalAvailable, and result.query. Results are capped at Max Results. Errors include an error type, message, and suggested next action.

Links

Discussion