View as Markdown
Egnyte icon

Egnyte ACTION

Search

Search for files and 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 Search 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-search",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    egnyte: { authProvisionId: "apn_xxxxxxx" },
    query: "Query",
    folder: "Folder Path",
  },
})

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.

Search inputs
Property Type Description
query Query string
The query to search for
Required
folder Folder Path string
Limit the result set to only items contained in the specified folder and all of its descendants. Search for a folder to select or enter a folder path manually.
Optional Dynamic
type Type string
Limit the result set to only items of the specified type(s)
Optional
offset Offset integer
The number of results to skip for pagination
Optional
count Count integer
The maximum number of results to return
Optional
sortBy Sort By string
The field to sort the results by
Optional
sortDirection Sort Direction string
The direction to sort the results by
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-search
Version
0.0.2
App
Egnyte
Authentication
OAuth
Read-only
Yes
Destructive
No
Open world
Yes