Skip to main content

tool_category

Function tool_category 

Source
pub fn tool_category(name: &str) -> Option<ToolCategory>
Expand description

Classify a Copilot tool name into toolpath’s ToolCategory ontology.

⚠️ The Copilot CLI’s tool vocabulary is not yet verified against a real session; this errs toward broad, case-insensitive matching and returns None for anything unrecognized (the raw name/input are still carried on the ToolInvocation). Tighten with observed names later.