Skip to main content

extract_native_tool_calls

Function extract_native_tool_calls 

Source
pub fn extract_native_tool_calls(text: &str) -> Vec<ToolCallResponse>
Expand description

Extract native Gemma-4 <|tool_call|> tags from text. Format: <|tool_call|>call:func_name{key:<|“|>value<|”|>, key2:value2}<tool_call|>