When using the 'Summarize History' modifier, can we configure the summarization prompt to specifically preserve certain metadata like tool call IDs so that a resumed conversation can still reference previously executed app actions?
The summarizeHistory modifier allows customization of the instructions which are used to produce the conversation summary. However, it will condense all entries into a .prompt entry.
If you're looking to preserve .toolCalls entries during summarization, you should be able to implement your own modifier using DynamicProfileModifier and either historyTransform or lifecycle modifiers (like onPrompt) to define your own summarize operation. The agentic app experiences session talks through these concepts: https://developer.apple.com/videos/play/wwdc2026/242/