Functionsยง
- post_
process_ tool_ results - Apply truncation to all tool result messages
in the last
tool_countmessages of the conversation. - truncate_
output - Dispatch to per-tool truncation based on tool name, then enforce universal upper bounds.
tool_count messages of the conversation.