mirror of
https://github.com/cheikh2shift/godex.git
synced 2026-10-23 11:22:18 -05:00
fix: remove server name from tools description for cleaner output
This commit is contained in:
1 parent
78a341aa9e
commit
982d5194ee
1 file changed
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user