Expected Behavior
It would be nice to be able to define a dedicated type for a MCP tool's parameter parameter and use a @JsonUnwrapped
-like annotation on it so that it's included directly in the request.
Current Behavior
I have to manually repeat the @McpToolParam
annotation each time I use the shared parameter.
Context
I have several MCP parameters that have meaningful descriptions and are used in many tools. Unfortunately, I have to manually repeat the @McpToolParam
annotation each time. It would be nice to be able to define a dedicated type for this parameter and use a @JsonUnwrapped
-like annotation on it so that it's included directly in the request.