search
Find information across the web, academic sources, and library docs, returning result listings with titles, URLs, and snippets. Use extract to read full page content.
Instructions
Find information across web, academic sources, or library docs. Returns search result listings (titles, URLs, snippets) -- NOT full page content. To read full content from a URL, use the extract tool instead.
Actions:
search: Web search via SearXNG. Example: search(action="search", query="python async patterns")
research: Academic/scientific search (Google Scholar, arXiv, PubMed). Example: search(action="research", query="transformer attention mechanism")
docs: Search library documentation with auto-indexing. Example: search(action="docs", query="how to create routes", library="fastapi")
docs_resolve: Free-form library name to ranked library_id list. Example: search(action="docs_resolve", query="react")
docs_query: Version-aware library docs query honoring project lock + token cap. Example: search(action="docs_query", library="react", version="latest", topic="useState", query="how to set initial state")
docs_lock_project: Detect project manifests (pyproject/package.json/go.mod/Cargo.toml) and lock the library set for Cabinets isolation. Example: search(action="docs_lock_project", project_path="/repo/my-app")
similar: Find pages similar to a URL (pass URL as query). Example: search(action="similar", query="https://example.com/article")
Key parameters:
query (required for all actions): Search terms or URL (for similar)
library (required for docs): Library name, e.g. "react", "fastapi"
language: Programming language for disambiguation in docs, e.g. "python", "java"
expand: Enable LLM query expansion for broader coverage (default: false)
enrich: Fetch actual page content for richer snippets (default: false, adds latency)
max_results: Number of results (default: 10)
time_range: Recency filter -- day, week, month, year
include_domains / exclude_domains: Domain filters
region (search only): 2-letter ISO 3166-1 country code (e.g. "US", "vn") geo filter. Backends without region support are skipped (named in a warning); a chain with no region-capable backend returns a structured error naming them.
refine (search only): Opt-in iterative refinement. When results are empty or low-relevance, re-queries up to 2 times with LLM-rewritten terms and returns the best round (adds LLM latency/cost per round).
Use help tool with tool_name="search" for full parameter documentation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | ||
| topic | No | ||
| action | Yes | ||
| enrich | No | ||
| expand | No | ||
| refine | No | ||
| region | No | ||
| library | No | ||
| version | No | ||
| language | No | ||
| parallel | No | ||
| categories | No | general | |
| time_range | No | ||
| max_results | No | ||
| project_path | No | ||
| exclude_domains | No | ||
| include_domains | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||