firebase_tools not found when trying to remove firestore collection from cloud functions
问题 I am trying to remove a collection using callable firebase function. I took a sample code from here. The sample code has a "firebase_tools" element. return firebase_tools.firestore .delete(path, { project: process.env.GCLOUD_PROJECT, recursive: true, yes: true, token: functions.config().fb.token }) Which apparently is not part of firebase-function I am getting following error in function logs: Unhandled error ReferenceError: firebase_tools is not defined The document also mentions that: You