Skip to main content

is_dispatchable_tool_name

Function is_dispatchable_tool_name 

Source
pub fn is_dispatchable_tool_name(raw: &str) -> bool
Expand description

Whether raw is safe to dispatch as a native tool name (not a prose blob).

Allows MCP-visible names (mcp__github__list) and names with :/-/. while rejecting whitespace/newlines/backticks and absurd lengths.