try_tool_call_parse_aggregate

Function try_tool_call_parse_aggregate 

Source
pub async fn try_tool_call_parse_aggregate(
    message: &str,
    parser_str: Option<&str>,
) -> Result<(Vec<ChatCompletionMessageToolCall>, Option<String>)>
Expand description

Try parsing a string as a structured tool call, for aggregation usage.

If successful, returns a ChatCompletionMessageToolCall.