pub async fn pre_run( tool_type: ToolType, args: &[String], user_config: &UserConfig ) -> Result<(), ProtoError>