pub fn format_tool_result_for_model(result: &ActionResult) -> StringExpand description
format_tool_result as a model should read it: a successful result’s
output goes through render_tool_output instead of being serialized as
JSON; failures keep their [FAILED] / [REJECTED] prefix.