Skip to main content

tool_name_matches

Function tool_name_matches 

Source
fn tool_name_matches(recorded: &str, wanted: &str) -> bool
Expand description

Whether a recorded tool name is the tool the caller named. Claude records an MCP tool with its server prefix (mcp__agentmux__SendMessage) while callers — and SearchHistory’s own schema — name it bare (SendMessage), so both forms match. Case-insensitive.