(v any)
| 1010 | if len(names) == 0 { |
| 1011 | return "No tool names specified. Use 'select:Name1,Name2' to load specific tools." |
| 1012 | } |
| 1013 | var lines, activated, notFound, alreadyActive []string |
| 1014 | for _, name := range names { |
| 1015 | if registry.Get(name) != nil { |
| 1016 | alreadyActive = append(alreadyActive, name) |
| 1017 | continue |
| 1018 | } |
| 1019 | tool := registry.ActivateTool(name) |
| 1020 | if tool != nil { |
| 1021 | activated = append(activated, name) |
| 1022 | schema, _ := jsonMarshalCompact(tool.ToAPISchema()["input_schema"]) |
| 1023 | lines = append(lines, "## "+name) |
| 1024 | lines = append(lines, "Description: "+tool.Description()) |
no test coverage detected