feat(tools): add support for client-side tools#33
Open
justintime4tea wants to merge 1 commit intomainfrom
Open
feat(tools): add support for client-side tools#33justintime4tea wants to merge 1 commit intomainfrom
justintime4tea wants to merge 1 commit intomainfrom
Conversation
deb8e12 to
761d8ef
Compare
b09e456 to
baae71a
Compare
This adds the ability for clients to submit a list of client-side tools, via the OpenAI chat completions request spec, and have them "passthrough" to the client instead of being executed "server-side". Ref: LOG-23583
baae71a to
ae6cc3d
Compare
Shearerbeard
approved these changes
Apr 8, 2026
Collaborator
Shearerbeard
left a comment
There was a problem hiding this comment.
This looks good - as it rebased orchestration we should probably consider organizing this into some of the library types splitting and reorganization - streaming/types.rs already needed a split. I didn't review the docs heavily but this should be noted as a use at your own risk for server side enterprise deployments - exposing client side tools to your agent thats public facing (like our web deployment) could be an attack vector
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.
This adds the ability for clients to submit a list of client-side tools, via the OpenAI chat completions request spec, and have them "passthrough" to the client instead of being executed "server-side".
Ref: LOG-23583