(ctx context.Context)
| 157 | } |
| 158 | |
| 159 | func (c *McpClient) Reconnect(ctx context.Context) bool { |
| 160 | c.Disconnect(ctx) |
| 161 | return c.Connect(ctx) |
| 162 | } |
| 163 | |
| 164 | func (c *McpClient) DiscoverTools(ctx context.Context) ([]map[string]any, error) { |
| 165 | resp, err := c.Request(ctx, "tools/list", map[string]any{}) |
nothing calls this directly
no test coverage detected