Get Script Project FilesgetScriptProjectFiles(scriptId) calls the Apps Script API with ScriptApp.getOAuthToken() and returns the project's files as [{name, type…