| 567 | if err := json.Unmarshal([]byte(currentToolInput), &parsedInput); err != nil { |
| 568 | out <- EventResult{Event: map[string]any{ |
| 569 | "type": "error", |
| 570 | "message": fmt.Sprintf("Failed to parse tool_use input for %s: malformed JSON", currentToolName), |
| 571 | }} |
| 572 | currentToolID = "" |
| 573 | currentToolName = "" |
| 574 | currentToolInput = "" |
nothing calls this directly
no outgoing calls
no test coverage detected