(t *testing.T, toolsList []tools.Tool, name string)
| 103 | } |
| 104 | |
| 105 | func toolByName(t *testing.T, toolsList []tools.Tool, name string) tools.Tool { |
| 106 | t.Helper() |
| 107 | for _, tl := range toolsList { |
| 108 | if tl.Name == name { |
| 109 | return tl |
| 110 | } |
| 111 | } |
| 112 | t.Fatalf("tool %q not found", name) |
| 113 | return tools.Tool{} |
| 114 | } |
| 115 | |
| 116 | func callTool(t *testing.T, tool tools.Tool, args string) *tools.ToolCallResult { |
| 117 | t.Helper() |
no outgoing calls
no test coverage detected