trailsearch_search
Search the web via a self-hosted API, returning tailored results with configurable limits, domain filters, recency, and optional synthesized answers or page crawling.
Instructions
Search the web through a self-hosted TrailSearch API (SearXNG-backed, Tavily-compatible).
Args: query: search query string. max_results: number of results to return (1-20, default 5). mode: "search" (fast, results only) or "crawl" (also fetches page content). search_depth: "basic" or "advanced". include_answer: request a short synthesized answer. include_domains: only include results from these domains. exclude_domains: skip results from these domains. days: restrict results to the last N days (1/7/30/365). topic: optional topic hint (e.g. "news").
Returns: JSON string with the search results (title, url, content/snippet, score).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| mode | No | search | |
| query | Yes | ||
| topic | No | ||
| max_results | No | ||
| search_depth | No | basic | |
| include_answer | No | ||
| exclude_domains | No | ||
| include_domains | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |