pub const PREFIX_ROUTES: &[(&str, &str, f64)];Expand description
Classify natural language input into (tool_name, confidence) using TF-IDF cosine similarity against all tool profiles.
Returns the best-matching tool name and its similarity score (0.0–1.0). Command verbs that strongly indicate a specific tool when they appear as the first word of the input. This helps counteract cosine similarity’s bias toward profiles with fewer keywords (smaller norm).