<!--
{
  "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.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Spotlight",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:31_CoreSpotlight_FoundationModels0B10SearchToolV13configurationAC13ConfigurationVvp"
  },
  "title" : "configuration"
}
-->

# configuration

The configuration details for the search tool.

```
let configuration: SpotlightSearchTool.Configuration
```

## Discussion

Use this property to specify the configuration data you want to use with the tool.
You use this property to configure the data sources for the tool to search, guidance
on how to perform searches, and any custom processing steps your app provides. For
more information on how to configure and use [`SpotlightSearchTool`](/documentation/CoreSpotlight/SpotlightSearchTool), 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)