Skip to content

Extract Attachments Node

Events/Chat

Extract Attachments

Pulls down image attachments referenced in the latest chat message

ai_gen_llm_history_extract_attachmentsllm
Inputs3
Outputs2
Security exposure3/10
Packagellm

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
3/10High
PrivacyPotential sensitivity of processed data.
3/10High
PerformanceRuntime or resource pressure.
3/10High
GovernancePolicy, audit, or compliance impact.
3/10High
ReliabilityOperational stability considerations.
2/10High
CostExternal or compute cost impact.
1/10High

Input Pins

3

Input

Execution
exec_in

Begin execution to sync attachments

History

Struct
history

Chat history whose final message may contain image parts

HistoryHistory19 fields
modelstringrequired
messagesArray<HistoryMessage>required
itemsHistoryMessagearray item
roleRolerequired
enum "system", "user", "assistant", "function"...
contentMessageContentrequired
variant 1stringvariant
variant 2Array<Content>variant
namestring | null
tool_callsarray | null
itemsToolCallarray item
tool_call_idstring | null
+1 more fields
presetstring | null
streamboolean | null
stream_optionsanyOf (2)
variant 1StreamOptionsvariant
include_usagebooleanrequired
variant 2nullvariant
max_completion_tokensinteger | null
format uint32min 0
top_pnumber | null
format float
temperaturenumber | null
format float
thinkinganyOf (2)
variant 1HistoryThinkingvariant
enum "off", "low", "mid", "high"
variant 2nullvariant
seedinteger | null
format uint32min 0
presence_penaltynumber | null
format float
frequency_penaltynumber | null
format float
userstring | null
stoparray | null
itemsstringarray item
response_formatanyOf (2)
variant 1ResponseFormatvariant
variant 1stringvariant
variant 2nullvariant
ninteger | null
format uint32min 0
toolsarray | null
itemsToolarray item
typeToolTyperequired
enum "function"
functionHistoryFunctionrequired
namestringrequired
descriptionstring | null
parametersHistoryFunctionParametersrequired
tool_choiceanyOf (2)
variant 1ToolChoicevariant
variant 1nullvariant
variant 2nullvariant
variant 3nullvariant
variant 4objectvariant
typeToolTyperequired
enum "function"
functionHistoryFunctionrequired
variant 2nullvariant
+1 more fields
Schema enforced

Attachments

Struct Array
attachments

Existing attachments to merge with new downloads

AttachmentAttachment2 fields
variant 1stringvariant
variant 2ComplexAttachmentvariant
urlstringrequired
preview_textstring | null
thumbnail_urlstring | null
namestring | null
sizeinteger | null
format uint64min 0
+3 more fields
Default []
Schema enforced

Output Pins

2

Output

Execution
exec_out

Signals completion once attachments are cached

Paths

Struct Array
paths

Virtual file paths pointing to cached attachments

FlowPathFlowPath3 fields
pathstringrequired
store_refstringrequired
cache_store_refstring | null
Schema enforced

Node Info

Internal name
ai_gen_llm_history_extract_attachments
Category
Events/Chat
Version
1