Skip to main content

parse

Function parse 

Source
pub fn parse(response: &str) -> ParseResult
Expand description

Parse tool calls from an LLM response string.

Tries formats in priority order: JSON → XML → Markdown. Returns all detected tool calls and the remaining text.