---
title: SpotlightSearchTool.Guide
framework: corespotlight
role: symbol
role_heading: Structure
path: corespotlight/spotlightsearchtool/guide
---

# SpotlightSearchTool.Guide

A type you use to offer guidance about what search capabillities to employ during a session.

## Declaration

```swift
struct Guide
```

## Overview

Overview Use this type to specify additional guidance about how you want the model to search your content. At configuration time, configure an instance of this structure and assign it to the guide property of your configuration object. You use guidance options primarily to limit the types of searches the model performs or to scope searches to specific types of content. Adding guidance can help improve the efficiency of searches, especially if you eliminate search techniques that don’t apply to your content.

## Topics

### Creating the search tool

- [init(level:format:)](corespotlight/spotlightsearchtool/guide/init(level:format:).md)

### Getting the guidance

- [format](corespotlight/spotlightsearchtool/guide/format.md)
- [level](corespotlight/spotlightsearchtool/guide/level.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Configuring the tool behavior

- [configuration](corespotlight/spotlightsearchtool/configuration-swift.property.md)
- [SpotlightSearchTool.Configuration](corespotlight/spotlightsearchtool/configuration-swift.struct.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)
