pub fn format_tool_output(output: &str) -> StringExpand description
Format tool output for human-facing clients.
When the output is a JSON value serialized into a string, it is rendered with the same compact, label-oriented shape as tool inputs. Plain text output is preserved.