agentOutput
The exit point of the inner workflow inside an aiAgent group. Receives the final output of the last inner node and passes it through unchanged. All fields become accessible in the outer workflow via {{ @agentOutput.<field> }} template syntax.
Parameters
Accepts any fields (extra="allow"). There are no fixed required params. All fields come from the last node in the inner workflow.
Output
All input fields are echoed to the output unchanged. Every field is then accessible in the outer workflow.
Example
{
"id": "agentOutput",
"type": "agentOutput",
"data": {
"label": "Agent Output",
"isExecuted": false,
"handles": ["inputs"],
"schema": {},
"params": {
"messages": { "value": "{{ @deepAgentNode.messages }}", "isExpression": true, "isAttachedToInputNode": false },
"sources": { "value": "{{ @deepAgentNode.sources }}", "isExpression": true, "isAttachedToInputNode": false },
"metadata": { "value": "{{ @deepAgentNode.metadata }}", "isExpression": true, "isAttachedToInputNode": false }
},
"inputs": [], "outputs": [], "errors": []
},
"position": { "x": 600, "y": 0 },
"isSelected": false,
"isDragging": false
}
After graph dissolution, the outer workflow references these fields as {{ @agentOutput.messages }}, {{ @agentOutput.sources }}, etc.