Run mongo shell commands from MongoDB Realm Functions

how about this -
https://docs.mongodb.com/realm/admin/api/v3/#post-/groups/{groupid}/apps/{appid}/services/{serviceid}/commands/{commandname}