Skip to main content

pattern_matches

Function pattern_matches 

Source
pub fn pattern_matches(
    pattern: &ToolCallPattern,
    tool_id: &str,
    tool_args: &Value,
) -> MatchResult
Expand description

Evaluate whether a pattern matches a tool call.