---
title: configuration
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/spotlightsearchtool/configuration-swift.property
---

# configuration

The configuration details for the search tool.

## Declaration

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

## Discussion

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, see Making your indexed content available to Foundation Models.

## See Also

### Configuring the tool behavior

- [SpotlightSearchTool.Configuration](corespotlight/spotlightsearchtool/configuration-swift.struct.md)
- [SpotlightSearchTool.Guide](corespotlight/spotlightsearchtool/guide.md)
- [SpotlightSearchTool.GuidanceProfile](corespotlight/spotlightsearchtool/guidanceprofile.md)
- [SpotlightSearchTool.GuidanceLevel](corespotlight/spotlightsearchtool/guidancelevel.md)
- [SpotlightSearchTool.ContentDomain](corespotlight/spotlightsearchtool/contentdomain.md)
- [SpotlightSearchTool.FormatLevel](corespotlight/spotlightsearchtool/formatlevel.md)
