Condensed OpenAPI #1081
shane-davidson
started this conversation in
Ideas
Replies: 1 comment
-
In general, I think turning massive schemas into MCP servers is a smell - there's no way for an LLM to perform well in the face of such choice, a tailored MCP is going to be much better. The conversion functionality is more of a convenience rather than a panacea. That said, I think experimenting with different approaches to exposing that utility is interesting. I don't think this rises to the level of a pattern we'd want to bless as universally applicable but could be an interesting |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Some APIs schemas are massive and the model/client doesn't like loading so many tools.
This class wraps an entire API schema inside the following objects:
list_objects -> list of what would be the old openAPI tools
list_object_schema -> list tool/object schema
call_object -> calls the old tool by name
I still haven't finished the cleaning up the returned data for list_objects/list_objects_schema
Happy for you guys to do what you want with this idea :)
Beta Was this translation helpful? Give feedback.
All reactions