Skip to content

feat(agent): rename the generate-file tool type to create-file - #1923

Merged
radu-mocanu merged 1 commit into
mainfrom
feat/create-file-tool-type
Oct 1, 2026
Merged

radu-mocanu merged 1 commit into
mainfrom
feat/create-file-tool-type

Conversation

@radu-mocanu

Copy link
Copy Markdown
Collaborator

Summary

  • the built-in file tool is now declared with properties.toolType: "create-file", matching its new name in agent builder. generate-file is no longer recognized

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The test does not verify that the retired generate-file value is rejected.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

This PR aligns the SDK’s built-in file tool type with Agent Builder’s create-file name and removes the generate-file model value.

Changes:

  • Rename the internal tool type and update its parsing test.
  • Bump the uipath package version to 2.14.28.
File Description
packages/​uipath/​uv.lock Updates the locked package version.
packages/​uipath/​tests/​agent/​models/​test_agent.py Tests parsing of create-file.
packages/​uipath/​src/​uipath/​agent/​models/​agent.py Renames the tool type and properties model.
packages/​uipath/​pyproject.toml Bumps the package version.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

tool_resource.properties, AgentInternalCreateFileToolProperties
)
assert tool_resource.properties.tool_type == AgentInternalToolType.GENERATE_FILE
assert tool_resource.properties.tool_type == AgentInternalToolType.CREATE_FILE
@radu-mocanu
radu-mocanu force-pushed the feat/create-file-tool-type branch from 1d38802 to 7ec6a7b Compare October 1, 2026 13:28
@sonarqubecloud

sonarqubecloud Bot commented Oct 1, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

🚨 Heads up: uipath-langchain cross-tests are FAILING 🚨

Your changes may break the uipath-langchain-python integration.

⚠️ These checks are NOT enforced by branch protection rules. Please review the failures before merging.

🔍 Inspect the failed run →

@radu-mocanu
radu-mocanu merged commit 2e6e522 into main Oct 1, 2026
232 of 239 checks passed
@radu-mocanu
radu-mocanu deleted the feat/create-file-tool-type branch October 1, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:uipath-integrations test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants