fix: remove server name from tools description for cleaner output

This commit is contained in:
Cheikh Seck committed 2026-06-30 22:34:31 +00:00
1 parent 78a341aa9e
commit 982d5194ee
1 file changed
-2
-2
View File
@@ -2392,8 +2392,6 @@ func getToolsDescription(servers []MCPServer) string {
if len(tools) == 0 {
continue
}
serverName := server.Name()
desc.WriteString(fmt.Sprintf("\n[%s]\n", serverName))
for _, tool := range tools {
desc.WriteString(fmt.Sprintf(" - %s: %s\n", tool.Name, tool.Description))
var schema map[string]any