pub fn truncate_output( content: &str, max_lines: usize, max_bytes: usize, ) -> String
Truncate tool output based on line count and byte limits.