---
title: INSearchForNotebookItemsIntent
framework: intents
role: symbol
role_heading: Class
path: intents/insearchfornotebookitemsintent
---

# INSearchForNotebookItemsIntent

A request to search for notes, tasks, and reminders.

## Declaration

```swift
class INSearchForNotebookItemsIntent
```

## Overview

Overview Siri creates an INSearchForNotebookItemsIntent object when the user asks to search for existing notes, tasks, and reminders. The intent object contains search parameters such as the type of items to return, strings to match against the title or content, the completion status of tasks, or the trigger conditions used to generate reminders. To handle this intent, the handler object in your Intents extension must adopt the INSearchForNotebookItemsIntentHandling protocol. Your handler should confirm the request and create an INSearchForNotebookItemsIntentResponse object with the search results. Additional Intent Attributes The following table lists additional attributes of this intent object:  |   |   |  Example Phrases Users can ask Siri to search for notebook items in a variety of ways. The table below provides a few sample phrases in different languages. You can use these phrases during testing to trigger your intents. This list isn’t exhaustive and Siri may recognize many other phrases.  |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |  In the preceding examples, <appName> represents the name of the app whose Intents extension handles the request.

## Topics

### Initializing the Intent Object

- [init(title:content:itemType:status:location:locationSearchType:dateTime:dateSearchType:temporalEventTriggerTypes:taskPriority:notebookItemIdentifier:)](intents/insearchfornotebookitemsintent/init(title:content:itemtype:status:location:locationsearchtype:datetime:datesearchtype:temporaleventtriggertypes:taskpriority:notebookitemidentifier:).md)
- [init(title:content:itemType:status:location:locationSearchType:dateTime:dateSearchType:notebookItemIdentifier:)](intents/insearchfornotebookitemsintent/init(title:content:itemtype:status:location:locationsearchtype:datetime:datesearchtype:notebookitemidentifier:).md)
- [init(title:content:itemType:status:location:locationSearchType:dateTime:dateSearchType:)](intents/insearchfornotebookitemsintent/init(title:content:itemtype:status:location:locationsearchtype:datetime:datesearchtype:).md)

### Searching by Type

- [itemType](intents/insearchfornotebookitemsintent/itemtype.md)
- [INNotebookItemType](intents/innotebookitemtype.md)

### Searching by Content

- [title](intents/insearchfornotebookitemsintent/title.md)
- [content](intents/insearchfornotebookitemsintent/content.md)

### Searching for Tasks by Their Status

- [status](intents/insearchfornotebookitemsintent/status.md)
- [INTaskStatus](intents/intaskstatus.md)

### Searching for Tasks by Location

- [location](intents/insearchfornotebookitemsintent/location.md)
- [locationSearchType](intents/insearchfornotebookitemsintent/locationsearchtype.md)
- [INLocationSearchType](intents/inlocationsearchtype.md)

### Searching by Date

- [dateTime](intents/insearchfornotebookitemsintent/datetime.md)
- [dateSearchType](intents/insearchfornotebookitemsintent/datesearchtype.md)
- [INDateSearchType](intents/indatesearchtype.md)

### Identifying the Notebook Item

- [notebookItemIdentifier](intents/insearchfornotebookitemsintent/notebookitemidentifier.md)

### Searching for Tasks by Their Priority

- [taskPriority](intents/insearchfornotebookitemsintent/taskpriority.md)
- [INTaskPriority](intents/intaskpriority.md)
- [temporalEventTriggerTypes](intents/insearchfornotebookitemsintent/temporaleventtriggertypes.md)
- [INTemporalEventTriggerTypeOptions](intents/intemporaleventtriggertypeoptions.md)

## Relationships

### Inherits From

- [INIntent](intents/inintent.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [INIntentSetImageKeyPath](intents/inintentsetimagekeypath.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Notebook Search

- [INSearchForNotebookItemsIntentHandling](intents/insearchfornotebookitemsintenthandling.md)
- [INSearchForNotebookItemsIntentResponse](intents/insearchfornotebookitemsintentresponse.md)
