View as Markdown
Egnyte icon

Egnyte ACTION

List Folders

List folders in your Egnyte workspace. See the documentation
  • Action
  • Read only
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Egnyte account once, then configure and run List Folders from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "egnyte-list-folders",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    egnyte: { authProvisionId: "apn_xxxxxxx" },
    folderPath: "Folder Path",
    includeSubfolders: true,
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

List Folders inputs
Property Type Description
folderPath Folder Path string
List folders within this folder. Search for a folder to select or enter a folder path manually. Defaults to the root folder.
Optional Dynamic
includeSubfolders Include Subfolders boolean
If true, the response will contain all nested subfolders.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
egnyte-list-folders
Version
0.0.2
App
Egnyte
Authentication
OAuth
Read-only
Yes
Destructive
No
Open world
Yes