pub fn truncate_tool_output(output: &str) -> String
Truncate tool output that exceeds MAX_TOOL_OUTPUT_CHARS using head+tail split.
MAX_TOOL_OUTPUT_CHARS