can you explain me what is this tool ?
Asked on 2026-07-07
1 search
If you mean the tool calling feature shown in the WWDC sessions, it’s a way for a language model to use app capabilities or data sources during a response.
In simple terms
A tool is something you define with:
- a name
- a description
- input arguments
- a call method that does the real work
Then, when the model thinks it needs extra information or an action, it can call that tool, get the result back, and use it to answer.
What it’s for
Tools let the model:
- search your app’s content
- fetch data like contacts, calendar events, or weather
- analyze images
- run custom app logic
Example from WWDC
In LLM search using Core Spotlight, Apple shows a Spotlight Search Tool that lets a model search an app’s Core Spotlight index and use those results to generate a more contextual answer.
Why it matters
Instead of the model guessing, it can:
- look up real data
- ground its answer in your app’s content
- do this directly during the conversation
If you want, I can also explain how you build one, or what the Spotlight Search Tool specifically does.

LLM search using Core Spotlight
Level up basic search into a retrieval-augmented system using SpotlightSearchTool and LanguageModelSession. Explore Core Spotlight integration, delegate-based hydration patterns, and how metadata quality impacts your search results. Learn how to use custom PipelineStages for tasks like sentiment analysis. Discover best practices for indexing and building flexible, context-rich search experiences in your app.

Secure your app: mitigate risks to agentic features
Explore how to evaluate threats from indirect prompt injection, such as data exfiltration and unintended actions. Discover system safeguards and security best practices for using App Intents and the Foundation Models framework, including mitigations such as user confirmations, secure prompt design, and authentication.

Discover Apple-Hosted Background Assets
Building on Background Assets, this session will introduce the new capability to download asset packs of content for games and other applications. Learn how Apple can host these asset packs for you or how to manage self-hosting options. We’ll delve into the native API integration and the corresponding App Store implementations, providing you with the tools to enhance your app’s content delivery and user experience.
