pub fn validate_tool_name(name: &str) -> Result<(), SynwireError>Expand description
Validate a tool name against the pattern ^[a-zA-Z0-9_.\-]{1,64}$.
Dots are permitted to support namespaced tool names (e.g. code.search,
debug.status). Leading or trailing dots and consecutive dots are rejected
to prevent ambiguous names.
ยงErrors
Returns SynwireError::Tool with ToolError::InvalidName if the name
is empty, longer than 64 characters, contains disallowed characters, or
has invalid dot placement.