Skip to main content

content_text

Function content_text 

Source
pub fn content_text(contents: &[Content]) -> String
Expand description

Join the textual portion of tool output into a single string for display and session history. Non-text variants (e.g. Image) are skipped.