pub fn content_text(contents: &[Content]) -> String
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.
Image
Detail