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

# guide

Options you use to guide the search process that the tool uses to retrieve results.

## Declaration

```swift
var guide: SpotlightSearchTool.Guide?
```

## Mentioned in

Making your indexed content available to Foundation Models

## Discussion

Discussion The Spotlight search tool employs many techniques to look for results, but some techniques might not be relevant or necessary for your content. Use this property to offer guidance on how to search for your content, and to reduce the amount of data the tool delivers to the model. If you don’t specify custom guidance, the search tool uses all availble techniques, which can take extra time to run and consume additional resources.

## See Also

### Customizing the output

- [customStages](corespotlight/spotlightsearchtool/configuration-swift.struct/customstages.md)
