pub fn format_tool_result(result: &Value) -> StringExpand description
Human-readable rendering of a tool result, prefixing Error: on failure.
Prefer is_tool_error + extract_tool_content on execution paths that
need to map failures onto a structured error type.