---
title: "focused(_:)"
framework: corespotlight
role: symbol
role_heading: Type Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, visionOS 27.0+]
path: "corespotlight/spotlightsearchtool/guide/focused(_:)"
---

# focused(_:)

A guide that searches only the specified content domain using a compact, on-device-friendly schema.

## Declaration

```swift
static func focused(_ domain: SpotlightSearchTool.ContentDomain = .items) -> SpotlightSearchTool.Guide
```

## Parameters

- `domain`: The content domain to focus on. Defaults to doc://com.apple.corespotlight/documentation/CoreSpotlight/SpotlightSearchTool/ContentDomain/items-swift.type.property.
