pub fn extract_tool_calls(
response: &str,
provider: Provider,
) -> Result<Vec<ToolCall>>Expand description
Extract tool calls from an API response
This function parses the raw response text from an LLM API and extracts any tool calls that were made. The format varies by provider.