Dust · Arazzo Workflow
Dust Attach a File and Ask an Agent
Version 1.0.0
Reserve a file upload URL, attach the file as a content fragment, then ask an agent about it.
View Spec
View on GitHub
AgentsAIArtificial IntelligenceCustom WorkflowsData SourcesDustEnterprise AIKnowledge ManagementLLMMCPMulti-ModelRAGArazzoWorkflows
Provider
Workflows
attach-file-and-ask
Upload a file, attach it as a content fragment, and ask an agent about it.
Creates a file upload URL for the conversation use case, attaches the file to an existing conversation as a content fragment, and posts a message mentioning the agent.
1
createFileUpload
{$sourceDescriptions.conversationsApi.url}#/paths/~1api~1v1~1w~1{wId}~1files/post
Reserve a file upload URL for the conversation use case and capture the file identifier to reference in the content fragment.
2
createContentFragment
{$sourceDescriptions.conversationsApi.url}#/paths/~1api~1v1~1w~1{wId}~1assistant~1conversations~1{cId}~1content_fragments/post
Attach the uploaded file to the conversation as a content fragment so the agent can read it.
3
askAgent
{$sourceDescriptions.conversationsApi.url}#/paths/~1api~1v1~1w~1{wId}~1assistant~1conversations~1{cId}~1messages/post
Post a message mentioning the agent so it reasons over the attached content fragment.