SpotlightSearchTool.SearchReply.QueryToken
An opaque type you use to identify a single call to the Spotlight search tool.
Declaration
struct QueryTokenOverview
When processing a request, a model might call the Spotlight search tool multiple times to retrieve results. Each time the model calls the Spotlight search tool’s call(arguments:) method, the tool generates a new QueryToken to track that request. When delivering results to your app, the tool includes this token in the SpotlightSearchTool.SearchReply structures it delivers. Use the token to associate that data with a specific query.