feat: add refreshSchemaBeforeCall to cached MCP tools config#1730
feat: add refreshSchemaBeforeCall to cached MCP tools config#1730radugheo wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
This PR extends the agent MCP tools discovery configuration model by adding a refreshSchemaBeforeCall flag (defaulting to true) to CachedToolsConfig, and updates the package version accordingly. It also adds tests to validate defaulting, alias round-tripping, and MCP resource parsing for both cached and dynamic discovery modes.
Changes:
- Added
refresh_schema_before_call(aliasrefreshSchemaBeforeCall, defaultTrue) toCachedToolsConfig. - Added unit tests covering the new flag’s default behavior, alias serialization/parsing, and MCP resource parsing for cached vs dynamic discovery modes.
- Bumped
uipathpackage version from2.11.4to2.11.5(including lockfile update).
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/uipath/src/uipath/agent/models/agent.py | Adds the new cached-tools refresh flag to the MCP tools discovery configuration model. |
| packages/uipath/tests/agent/models/test_agent.py | Adds tests validating default value, alias round-trip, and MCP resource parsing for cached/dynamic discovery modes. |
| packages/uipath/pyproject.toml | Bumps the package version to 2.11.5. |
| packages/uipath/uv.lock | Updates the lockfile to reflect the 2.11.5 version bump. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🚨 Heads up:
|
🚨 Heads up:
|



Development Packages
uipath