<!--
{
  "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/SearchReply/label",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Spotlight",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:31_CoreSpotlight_FoundationModels0B10SearchToolV0E5ReplyV5labelSSSgvp"
  },
  "title" : "label"
}
-->

# label

A short, LLM-generated description of what the result represents.

```
let label: String?
```

## Discussion

Use this property to determine what information the model requested. For complex requests,
the tool provides the simplest string that describes the current portion of the task. For
example, the string might contain a value like “Attachments from John” or “Documents about the deadline.”
You can display the string in your app’s interface or use it as an accessibility label.

---

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)