pub fn tool_name_from_str<N: ToolName>(s: &str) -> Result<N, Error>
Parse a tool name from string via serde.
Returns error if the string doesn’t match a valid tool name.