searchpipe_search
Run an AI-powered web search for a query: SearXNG retrieval → page fetching → LLM reranking → optional AI answer.
Uses the same commercial pipeline as the HTTP POST /search endpoint: authentication → rate limiting → input moderation → credit charge → search → output moderation + AI-generated marker → refund on failure → usage logging. Credits are charged per call.
api_key: an API key starting with sp-. It may also be provided through the SEARCHPIPE_API_KEY
environment variable (the parameter takes precedence).
Returns Tavily-style structured results (query / answer / results[]).
Returns a tool error on authentication failure, insufficient credits, content violation, or retrieval failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| api_key | No | ||
| max_results | No | ||
| include_answer | No | ||
| include_raw_content | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| answer | No | LLM-generated answer (optional) | |
| results | Yes | ||
| ai_generated | No | Whether the response contains LLM-generated content |