Skip to main content

resolve_tool_name

Function resolve_tool_name 

Source
pub fn resolve_tool_name(agent: AgentKind, native_name: &str) -> &str
Expand description

Given an agent’s native tool name, return the internal (Claude-style) name.

Case-insensitive. Returns the original name unchanged if no mapping exists (unknown/agent-specific tools pass through as-is).