<!--
{
  "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/GuidanceLevel/focused(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Core Spotlight",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:31_CoreSpotlight_FoundationModels0B10SearchToolV13GuidanceLevelO7focusedyAeC13ContentDomainVcAEmF"
  },
  "title" : "SpotlightSearchTool.GuidanceLevel.focused(_:)"
}
-->

# SpotlightSearchTool.GuidanceLevel.focused(_:)

An option to search only specific types of content.

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

## 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.

---

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)