Contents

format

The representation format for tool responses returned to the model.

Declaration

let format: SpotlightSearchTool.FormatLevel

Mentioned in

Discussion

Controls how search results are serialized in the model’s context window. Use SpotlightSearchTool.FormatLevel.compact to reduce token consumption when working with small-context models or long conversations.

See Also

Getting the guidance