Cannot use explain in MongoDB Atlas Function

I would like to explain some queries that I am running within a Function in MongoDB Atlas App Services.

const explained_result = await database.collection("Collection1").find().explain()

Ran in an Atlas App Service Function returns

'explain' is not a function

It appears that there are limited functions in the MongoDB Atlas API available compared to the node.js driver.

Is there a way to explain queries running in a Atlas Function?