execute_agent_query
Execute a query using an AI agent.
Arguments
| Name | Type | Description |
|---|---|---|
history | array | The list of messages to complete. |
query | string | The gen AI query to execute. |
attachments | array | The attachments to include in the query. |
agent | string | The agent to execute the query with. The respective agent should be defined in the Settings/Agents. |
allowed_tools | array | Tools list that the agent can use. |
Output
Type:stringThe agent response.