Use a single parameter to represent the tool request object #835
Unanswered
anthony-c-martin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Question Category
Your Question
I currently have code that looks like the following:
What I'd really like to be able to write is something like the following, where "request" represents the full payload body schema, rather than a parameter named "request", which would be the default behavior:
The benefit of this approach is that the code declaring the schema the "top-level" request can be authored similarly to the code for types in nested properties.
Is this something that's possible today?
Beta Was this translation helpful? Give feedback.
All reactions