pub fn persist_if_large(
content: &str,
_tool_name: &str,
tool_use_id: &str,
) -> StringExpand description
Persist large output to disk and return a summary reference.
If the content is under the threshold, returns it unchanged. Otherwise, writes to the output store and returns a truncated version with a file path reference.