pub fn parse_format(format_str: Option<&str>) -> Result<Format, CallToolError>
Parse format string into Format enum