<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INListCarsIntentHandling/confirm(intent:completion:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(pl)INListCarsIntentHandling(im)confirmListCars:completion:"
  },
  "title" : "confirm(intent:completion:)"
}
-->

# confirm(intent:completion:)

Confirms that you can provide a list of the user’s electric vehicles.

```
optional func confirm(intent: INListCarsIntent, completion: @escaping @Sendable (INListCarsIntentResponse) -> Void)
```

```
optional func confirm(intent: INListCarsIntent) async -> INListCarsIntentResponse
```

## Parameters

`intent`

The intent object that represents the request.

`completion`

The block you call with your response. You must call this block within your implementation of this method and pass an instance of [`INListCarsIntentResponse`](/documentation/Intents/INListCarsIntentResponse) that contains the appropriate status code.

## Discussion

Implement this method to confirm that you can provide a list of the user’s electric vehicles.

Perform any processing that your app requires to retrieve a list of the user’s electric vehicles, and then create a response object with a status code that indicates your app’s readiness to handle the intent. You must then call the completion block and pass the response.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)