fix(core, gateway): route unknown tools to tool-other and match baseName for hidden tools

This commit is contained in:
jade
2026-07-09 11:48:47 +09:00
parent 6f3369ee25
commit 8f1444bf0d
2 changed files with 2 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ public class BusinessToolController {
? mcpProperties.getNamespace() + "_" + baseName
: baseName;
if (expectedName.equals(functionName)) {
if (expectedName.equals(functionName) || baseName.equals(functionName)) {
targetBean = bean;
targetMethod = method;
targetFunctionAnnotation = mcpFunc;