Agent
Talks to a configured agent that can run flows as tools.
Fields
| Field | Type | Required | What it does |
|---|---|---|---|
agentId | string | yes | Identifier of an existing agent. |
chatId | string | yes | Conversation key, keeps history together. A plain value stays literal, {{expressions}} are substituted. |
isAskAgent | boolean | True for a one-off question, false to append to the conversation. | |
prompt | string | yes | What to ask, may contain {{expressions}}. |
systemPrompt | string | How the agent should behave. |
Output
result { text, model, provider, usage, toolRuns }, provider, model, aiCalls
Notes
Only use when the user names an existing agent.