pub fn content_text(contents: &[Content]) -> StringExpand description
Join the textual portion of tool output into a single string for display
and session history. Non-text variants (e.g. Image, Detail) are skipped;
Artifact is skipped too — its model face is the summary+reference line
already carried in Text (the typed channel marks the artifact for UI).