Skip to main content

tool_name

Function tool_name 

Source
pub fn tool_name(
    server: &str,
    tool: &str,
    is_taken: impl Fn(&str) -> bool,
) -> String
Expand description

mcp__<server>__<tool> with everything but [A-Za-z0-9_] as _. A name too long, or taken by another tool, is cut and given a hash suffix.