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

# confirm(intent:completion:)

Confirms whether you can add the tasks to the task list.

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

```
optional func confirm(intent: INAddTasksIntent) async -> INAddTasksIntentResponse
```

## Parameters

`intent`

The intent object containing details about the user’s request. The information in this object has already been resolved by your handler object.

`completion`

The handler block to execute with your response. You must execute this handler at some point during your implementation of this method. The handler has no return value and takes the following parameter:

- response: The [`INAddTasksIntentResponse`](/documentation/Intents/INAddTasksIntentResponse) object containing the details to confirm with the user. This parameter must not be `nil`.

## Discussion

Implement this method to validate that you can add the tasks to the specified task list, but do not do so yet. If adding the tasks involves contacting a remote server, validate that your server is available and ready to handle requests. In your implementation, execute the provided completion block with a response object indicating your app’s readiness to add the tasks to the task list.

---

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)