validate_tool_name

Function validate_tool_name 

Source
pub fn validate_tool_name(name: &str) -> Result<()>
Expand description

Validate a tool name

Checks if a tool name follows the expected conventions:

  • Contains only alphanumeric characters, hyphens, and underscores
  • Starts with a letter
  • Is not empty and not too long