spring-ai
spring-ai copied to clipboard
`ToolDefinition.outputSchema` and Jackson annotation support
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