<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreSpotlight",
  "identifier" : "/documentation/CoreSpotlight/SpotlightSearchTool/Configuration-swift.struct/contactResolver",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Spotlight",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:31_CoreSpotlight_FoundationModels0B10SearchToolV13ConfigurationV15contactResolverAA07ContactI0_pSgvp"
  },
  "title" : "contactResolver"
}
-->

# contactResolver

A custom type you use to identify the owner of your app’s data.

```
var contactResolver: (any ContactResolver)?
```

## Discussion

Use this property to provide additional context about the person using your app. The model uses
this information to help resolve first-person pronouns in prompts that indicate ownership of a
particular data item. Provide any information about the person that makes sense for your app.
For example, a communications app might include the person’s name and the phone number or email
associated with their account.

For information about how to create a contact resolver, see [Making your indexed content available to Foundation Models](/documentation/CoreSpotlight/making-your-indexed-content-available-to-foundation-models).

---

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)