We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb4d369 commit 5384a09Copy full SHA for 5384a09
1 file changed
internal/server/tool_registry.go
@@ -73,7 +73,9 @@ func getToolResponseFilter(cfg *config.Config, serverID, toolName string) string
73
// return a single resource (e.g. get_*, *_read). List/search tools are treated
74
// as collection tools even if they happen to return one item.
75
func isSingularReadTool(toolName string) bool {
76
- return !strings.HasPrefix(toolName, "list_") && !strings.HasPrefix(toolName, "search_")
+ singular := !strings.HasPrefix(toolName, "list_") && !strings.HasPrefix(toolName, "search_")
77
+ logDifcLog.Printf("isSingularReadTool: toolName=%s, singular=%v", toolName, singular)
78
+ return singular
79
}
80
81
// registerAllTools fetches and registers tools from all backend servers
0 commit comments