pub fn summarize_tool_result(
tool_name: &str,
output: Option<&str>,
error: Option<&str>,
) -> StringExpand description
Create a concise 1-2 line summary of a tool result for LLM context.
This prevents context bloat while maintaining semantic meaning. Summaries are typically 50-200 chars.