search_web
Conduct AI-powered web searches. Submit a query to receive an answer accompanied by source citations.
Instructions
Search the web using Perplexica's AI-powered search engine.
Args: query: The search query or question chat_provider: Chat model provider (optional, uses env config if not provided) chat_model: Specific chat model to use (optional, uses env config if not provided) embedding_provider: Embedding model provider (optional, uses env config if not provided) embedding_model: Specific embedding model to use (optional, uses env config if not provided) optimization_mode: Speed vs quality tradeoff (optional, uses env config if not provided) output_format: Output format - "formatted" for human-readable text or "json" for raw JSON
Returns: Formatted text with AI response and sources, or JSON if output_format="json"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| chat_provider | No | ||
| chat_model | No | ||
| embedding_provider | No | ||
| embedding_model | No | ||
| optimization_mode | No | ||
| output_format | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |