spring-ai icon indicating copy to clipboard operation
spring-ai copied to clipboard

`ToolDefinition.outputSchema` and Jackson annotation support

Open Fristi opened this issue 1 week ago • 0 comments
trafficstars

Expected Behavior

The docs https://docs.spring.io/spring-ai/reference/api/tools.html#_json_schema here state that adding json properties annotations from Jackson only work for input parameters. This is also reflected in ToolDefinition. Would be great if ToolDefinition can be extended to support outputSchema and also has annotation integration with Jackson

Current Behavior

There is no outputSchema whatsoever

Fristi avatar Nov 10 '25 08:11 Fristi