pub fn is_tool_error(msg: &ChatMessage) -> bool
Whether msg was marked an error result via mark_tool_error.
msg
mark_tool_error