feat: add client side tools to bridge and new cas events [JAR-9629]#1638
Open
norman-le wants to merge 5 commits into
Open
feat: add client side tools to bridge and new cas events [JAR-9629]#1638norman-le wants to merge 5 commits into
norman-le wants to merge 5 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
Adds client-side tool support to the Python SDK bridge and conversation models, including new tool-call event schemas and agent model parsing for ClientSide tools.
Changes:
- Adds
ClientSideagent tool resource parsing and tests. - Adds
executingToolCall, client-side tool declaration, and tool schema fields to chat event models. - Updates the SocketIO chat bridge to emit execution-phase tool events and resume from client-originated
endToolCall.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
packages/uipath/src/uipath/_cli/_chat/_bridge.py |
Emits executingToolCall and accepts endToolCall as a resume signal. |
packages/uipath/src/uipath/agent/models/agent.py |
Adds ClientSide tool type and resource config support. |
packages/uipath-core/src/uipath/core/chat/tool.py |
Adds client-side/tool execution fields and executingToolCall schema. |
packages/uipath-core/src/uipath/core/chat/exchange.py |
Adds client-side tool declarations to exchange start events. |
packages/uipath-core/src/uipath/core/chat/__init__.py |
Exports the new executing tool-call event model. |
packages/uipath/tests/cli/chat/test_bridge.py |
Adds bridge tests for execution-phase events and resume from tool events. |
packages/uipath/tests/agent/models/test_agent.py |
Adds agent model tests for client-side tool resources. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
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.


Had to make new PR (old PR here: #1609)
Videos in CAS localhost (Agent Builder changes already published, but this will be the debug experience as well when the sdk is upgraded):
Without tool confirmation for client side tool:
Screen.Recording.2026-05-13.at.9.32.26.PM.mov
With tool confirmation for client side tool:
Screen.Recording.2026-05-13.at.9.27.56.PM.mov
URT Eval:

Related to changes in other PRs:
CAS: https://github.com/UiPath/AgentInterfaces/pull/949
uipath-langchain-python (tool definition): UiPath/uipath-langchain-python#819
uipath-python (bridge changes): #1609
uipath-agents-python (skipping for evals, so it can be mocked): https://github.com/UiPath/uipath-agents-python/pull/485
Another Agents PR fixing some issues with debug: https://github.com/UiPath/Agents/pull/5250