type: message

role: user

content: Hello


role: assistant

content: Hi there


role: toolResult

type: text

text: Tool output here


type: compaction

message: Context compacted at turn 10


text: Response text

tool_name: search