Custom API tool: OpenAPI specification to support file uploads, and it can be used in workflow #9605
Open
4 of 5 tasks
Labels
🔨 feat:tools
Tools for agent, function call related stuff.
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I developed a pdf file parsing service with
marker
. The service accepts a file or files as a parameter. When publishing this as a custom tool, does it support file uploads inDify v0.10.0
? If it does support file uploads, how should I write the OpenAPI specification and enables the tool to use customized files variables as parameters in the workflow?2. Additional context or comments
my tool schema now
dify workflow
However, in the workflow, the
files
parameter only acceptsString
, causing it to not use thesys.files
orfiles
variables3. Can you help us with this feature?
The text was updated successfully, but these errors were encountered: