Skip to content

Agent Tool

Node: agentTool · Full type: @n8n/n8n-nodes-langchain.agentTool · Version: 3

Parameters

Parameter Type Default Details
toolDescription string "AI Agent that can call other tools" required
text string "" required
hasOutputParser boolean false
needsFallback boolean false
options collection {} keys: systemMessage, maxIterations, returnIntermediateSteps, passthroughBinaryImages, tracingMetadata, enableStreaming, ...

options children:

Parameter Type Default Details
systemMessage string "You are a helpful assistant"
maxIterations number 10
returnIntermediateSteps boolean false
passthroughBinaryImages boolean true
tracingMetadata fixedCollection {} groups: values
enableStreaming boolean true
batching collection {} keys: batchSize, delayBetweenBatches

Example

NODE "agentTool" AS "Agent Tool" {
  toolDescription: {{ $json.toolDescription }},
  text: {{ $json.text }}
}