Schema get and schema search - #4
Merged
Merged
Conversation
Contributor
Reliability Check(s) ResultsTarget Asset: ✅ All checks passed! |
shwetamurali
force-pushed
the
shweta/schema_commands
branch
from
April 10, 2026 20:37
c5e8620 to
9145bf9
Compare
brandonc
reviewed
Apr 10, 2026
shwetamurali
force-pushed
the
shweta/schema_commands
branch
from
April 13, 2026 20:51
5abf1f7 to
3ae69e8
Compare
shwetamurali
marked this pull request as ready for review
April 13, 2026 22:57
brandonc
previously approved these changes
Apr 14, 2026
Co-authored-by: Brandon Croft <brandon.croft@gmail.com>
shwetamurali
force-pushed
the
shweta/schema_commands
branch
from
April 15, 2026 13:55
08331db to
c9ab824
Compare
brandonc
approved these changes
Apr 15, 2026
brandonc
left a comment
Collaborator
There was a problem hiding this comment.
I reserve the right to back out of bluge as a dependency in the future but works great !
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tfcloud api schema search "<query>"so agents can search the API surface from natural language without ingesting the full OpenAPI spec. The command loads operation metadata from the OpenAPI spec, uses Bluge to retrieve likely matches, filters results to the same resource as the query, and renders a compact JSON:API-style table with operation-id, method, path, summary, and confidence.tfcloud api schema get <operationId>so agents can inspect a single operation after discovery. The command finds the selected operation in the OpenAPI spec and returns a trimmed OpenAPI-style JSON payload for that one path/method, expanding local$refvalues where useful for request-side schema details while keeping response schemas compact.