fn result_content_text(content: &Value) -> StringExpand description
A tool result’s text. A plain string is used as-is; anything else (the
common [{"type":"text","text":…}] block array, or a bare object) falls
back to compact JSON, same as before.