diff --git a/internal/tools/tool.go b/internal/tools/tool.go index f561f68..8ceebdc 100644 --- a/internal/tools/tool.go +++ b/internal/tools/tool.go @@ -36,7 +36,7 @@ func parseArgs(raw json.RawMessage, dst any) error { // allowlist check. Returns a typed ErrValidation naming the missing field. func validateRequiredIdentifiers(dst any) error { v := reflect.ValueOf(dst) - if v.Kind() != reflect.Ptr || v.IsNil() { + if v.Kind() != reflect.Pointer || v.IsNil() { return nil } v = v.Elem()