Agent

Talks to a configured agent that can run flows as tools.

Fields

FieldTypeRequiredWhat it does
agentIdstringyesIdentifier of an existing agent.
chatIdstringyesConversation key, keeps history together. A plain value stays literal, {{expressions}} are substituted.
isAskAgentbooleanTrue for a one-off question, false to append to the conversation.
promptstringyesWhat to ask, may contain {{expressions}}.
systemPromptstringHow the agent should behave.

Output

result { text, model, provider, usage, toolRuns }, provider, model, aiCalls

Notes

Only use when the user names an existing agent.