()
| 84 | } |
| 85 | |
| 86 | func (r *ToolRegistry) ListTools() []Tool { |
| 87 | out := make([]Tool, 0, len(r.tools)) |
| 88 | for _, name := range r.order { |
| 89 | if tool, ok := r.tools[name]; ok { |
| 90 | out = append(out, tool) |
| 91 | } |
| 92 | } |
| 93 | return out |
| 94 | } |
| 95 | |
| 96 | type fallbackInput struct { |
| 97 | Raw map[string]any |
no outgoing calls