ProtectedaddHelper to add output parameter
ProtectedcreateProtectedcreateHelper to create success result
Optionalparams: RunActionParamsProtectedgetGet boolean parameter value with default
ProtectedgetGet storage account and initialize driver in one step using enterprise model
Action parameters containing StorageAccount
Initialized driver and result if error occurred
ProtectedgetGet numeric parameter value with default
ProtectedgetExtract parameter value by name (case-insensitive)
ProtectedgetGet storage account entity by name using cached metadata.
Name of the storage account
MJFileStorageAccountEntity or null if not found
ProtectedgetGet storage provider entity by ID using cached metadata.
ID of the storage provider
MJFileStorageProviderEntity or null if not found
ProtectedgetGet string parameter value (guaranteed to be string or undefined)
ProtectedgetGet string parameter value with default
ProtectedinitializeInitialize storage driver using the enterprise credential model via FileStorageEngine.
MJFileStorageAccountEntity to initialize
User context for credential access
Initialized FileStorageBase driver
ProtectedInternalInternal method that must be implemented by derived action classes. This is where the actual action logic should be implemented.
The action execution parameters including typed context
Promise resolving to the action result
Executes the action with the provided parameters.
The action execution parameters including context
Promise resolving to the action result
Action that retrieves a list of configured file storage accounts.
This action returns storage accounts that are configured in the enterprise model, along with their associated provider information. Storage accounts link to providers (Google Drive, Dropbox, etc.) and credentials managed at the org level.
This is useful for AI agents to discover what storage accounts are available before attempting to search or access files.
Example