---
title: "SpotlightSearchTool.GuidanceLevel.focused(_:)"
framework: corespotlight
role: symbol
role_heading: Case
path: "corespotlight/spotlightsearchtool/guidancelevel/focused(_:)"
---

# SpotlightSearchTool.GuidanceLevel.focused(_:)

An option to search only specific types of content.

## Declaration

```swift
case focused(SpotlightSearchTool.ContentDomain = .items)
```

## Mentioned in

Making your indexed content available to Foundation Models

## Discussion

Discussion Choose this option to search attributes only for the specified types of content. You can initialize this value with one or more domains, each of which specifies a particular type of content. During a search, the Spotlight search tool considers only the attributes in the specified domains. The tool also sends data back to the model in a compact format that’s more suitable for models with limited-size context windows.

## See Also

### Getting the guidance levels

- [SpotlightSearchTool.GuidanceLevel.complete](corespotlight/spotlightsearchtool/guidancelevel/complete.md)
- [SpotlightSearchTool.GuidanceLevel.dynamic(_:)](corespotlight/spotlightsearchtool/guidancelevel/dynamic(_:).md)
