Skip to content

Conversation

@ahmedmuhsin
Copy link
Contributor

This pull request introduces improvements to the annotation APIs for MCP tool integrations and updates the library version. The main changes are focused on making annotation attributes optional and adding new configuration options for tool properties.

Annotation API improvements:

  • Made the description attribute optional (defaulting to an empty string) in both McpToolProperty and McpToolTrigger annotations, allowing users to omit descriptions if not needed. [1] [2]
  • Made the isRequired attribute optional (defaulting to false) in the McpToolProperty annotation, simplifying usage for optional properties.
  • Added a new isArray attribute (defaulting to false) to the McpToolProperty annotation to specify if a property is an array, increasing flexibility in property definitions.

Dependency update:

  • Updated the library version in pom.xml from 3.2.1 to 3.2.2, indicating a new release with these enhancements.

@ahmedmuhsin ahmedmuhsin requested a review from a team as a code owner October 24, 2025 22:31
@ahmedmuhsin ahmedmuhsin merged commit bad0417 into Azure:dev Oct 24, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants