Skip to main content

classify_tool

Function classify_tool 

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

Classify a Pi tool name into toolpath’s category ontology.

Pi tool names are case-insensitive in the wild; we lowercase before matching and let names containing task / agent collapse to ToolCategory::Delegation. Unknown names return None.