Skip to main content

canonical_tool_name

Function canonical_tool_name 

Source
pub fn canonical_tool_name(name: &str) -> &str
Expand description

Strip OpenAI-style functions. prefixes so policy rules like Read(*) and registry keys like read match model-emitted names such as functions.read (including nested batch calls).