---
title: maximumResponseSize
framework: corespotlight
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, visionOS 27.0+]
path: corespotlight/spotlightsearchtool/configuration-swift.struct/maximumresponsesize
---

# maximumResponseSize

The maximum number of UTF-8 characters of rendered tool output the search tool sends back to the model on a single call.

## Declaration

```swift
var maximumResponseSize: Int?
```

## Discussion

Discussion If nil, the tool picks a default based on the configured guide. Pass an explicit value to override that default; the override applies regardless of the guide’s level.
