OpenAPI custom tools to support files response #13288
Unanswered
medaka0213
asked this question in
Help
Replies: 1 comment 3 replies
-
similar question,how to define the input of my custom tool as files Array[File] |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Self Checks
Content
Dify’s custom tool feature allows you to define responses as files within an OpenAPI schema, but the exact usage isn’t very clear to me.
For example, DALL-E and Stable Diffusion returns images as responses. How can I define this in my OpenAPI schema?
my tool schema now
I want to define the response as

files
Array[File]
Beta Was this translation helpful? Give feedback.
All reactions