agent_chat
Handle complex multi-step questions with autonomous tool use: the agent searches knowledge bases, web, and SQL to provide answers. Ideal for comparative analysis.
Instructions
Agentic pipeline chat: the agent autonomously calls tools (knowledge_search, web_search, SQL, etc.) to answer the query. Use this for complex multi-step questions or comparative analysis. REQUIRED: agent_id (name or UUID) — use list_agents to discover agents. IMPORTANT: many agents have KBSelectionMode=none and NO built-in knowledge bases. In that case you MUST pass knowledge_base_ids, otherwise the agent will fail with 'no search targets available'. Use get_agent to inspect an agent's kb_selection_mode and knowledge_bases before calling. If kb_selection_mode is 'none' or 'selected' with an empty list, always provide knowledge_base_ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | User query | |
| agent_id | Yes | REQUIRED. Custom agent UUID or name. Use list_agents to discover agents. Use get_agent to check its kb_selection_mode. | |
| session_id | Yes | Session ID (from create_session or list_sessions) | |
| knowledge_base_ids | No | Names or UUIDs of knowledge bases to search. REQUIRED when the agent's kb_selection_mode is 'none' or 'selected' with no built-in KBs. Use list_knowledge_bases to find them. | |
| web_search_enabled | No | Enable web search. |