Skip to main content
This reference documents the structured types used in workflow definitions and node outputs.

Config Types

These types are used to configure node behavior in workflow definitions.

InjectConfig

Message injection into a thread
FieldTypeRequiredDescription
rolestringNoMessage role for injected message
contentstringNoMessage content to inject

ProjectConfig

Project path override for sub-workflows
FieldTypeRequiredDescription
pathstringNoProject directory path for sub-workflow execution

ResponseTool

Custom tool for structured LLM output
FieldTypeRequiredDescription
namestringNo-
descriptionstringNo-
schemamessageNo-

SaveMessageConfig

Automatic message saving after node completion
FieldTypeRequiredDescription
conditionstringNo-
rolestringNo-
contentstringNo-
tool_callsstringNo-
tool_resultsstringNo-

SubWorkflow

Sub-workflow invocation configuration
FieldTypeRequiredDescription
refstringNoWorkflow reference (builtin://name or project://name)
inlinemessageNo-
argsmapNoInput values for the sub-workflow
presetsmapNoPreset configurations for sub-workflow inputs
projectmessageNoWorking directory override for sub-workflow
threadmessageNoThread mode: inherit (default), new, or fork

ThreadConfig

Thread configuration for node execution
FieldTypeRequiredDescription
modestringNoThread mode: inherit (default), new, or fork
memoboolNoWhether to memoize thread across loop iterations
injectmessageNoMessage injection into the thread

Output Types

These types represent structured data in node outputs, accessible via CEL expressions like nodes.<id>.<field>.*.

MessageOutput

Standardized output for activities that produce messages
FieldTypeRequiredDescription
idstringNo-
rolestringNo-
textstringNo-

ThinkingOutput

Extended thinking content from LLM
FieldTypeRequiredDescription
contentstringNo-
signaturestringNo-

ToolCall

Tool invocation request from the LLM Access path: nodes.<id>.tool_calls[*].*
FieldTypeDescription
idstring-
inputstring-
namestring-

ToolResult

Result from executing a tool call Access path: nodes.<id>.tool_results[*].*
FieldTypeDescription
contentstring-
is_errorbool-
namestring-
tool_call_idstring-