Enable MCP tool callback by default
- Change the default value of `toolcallback.enabled` property to `true` in both configuration and documentation. - Update `McpClientCommonProperties.Toolcallback` to default `enabled` to `true` and refactor from record to class. - Adjust `@ConditionalOnProperty` in `McpToolCallbackAutoConfiguration` to `matchIfMissing = true` for tool callback. - Update tests to reflect new default behavior: tool callback is now enabled by default when the property is missing. - Update documentation to indicate the new default value for `toolcallback.enabled` is `true`. Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
This commit is contained in:
committed by
Mark Pollack
parent
9de13d1b2f
commit
c0062dd3b5
@@ -87,7 +87,7 @@ The common properties are prefixed with `spring.ai.mcp.client`:
|
||||
|
||||
|`toolcallback.enabled`
|
||||
|Enable/disable the MCP tool callback integration with Spring AI's tool execution framework
|
||||
|`false`
|
||||
|`true`
|
||||
|===
|
||||
|
||||
=== Stdio Transport Properties
|
||||
|
||||
Reference in New Issue
Block a user