FeatureFuel
0

Message an Agent: accept binary inputs (images, PDFs, audio), not just a text prompt

Source: n8n-io/n8n#45429 · opened by @Yemvis
Feature request Let the Message an Agent node (and Message an Agent Tool) send files from the incoming item to the agent, together with the text message. For example, a new "Attachments" option: • Input Binary Field(s): data, data0, ... (or "Include all binary from the input item") • Same file families the Agents runtime already accepts in chat: images, PDF and audio • Files stay in the agent session like chat attachments, so follow-up turns can refer to them Today the node only accepts a string. In 2.49.7, messageAnAgent v3.1 converts the Message parameter with asPromptString() and calls executeAgent(source, prompt, …). AgentWorkflowExecutionService.executeForWorkflow(agentId, message, …) also takes only text. Any binary on the item is dropped. The Agents runtime already supports multimodal input elsewhere. modules/agents/utils/inbound-attachments.js builds { type: 'file', mediaType, fileRef } parts for images, PDFs and audio (with …

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests