View as Markdown
DigitalOcean Spaces icon

DigitalOcean Spaces ACTION

Upload File /tmp

Accepts a file path starting from /tmp, then uploads as a file to DigitalOcean Spaces. See the docs.
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's DigitalOcean Spaces account once, then configure and run Upload File /tmp 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: "digitalocean_spaces-upload-file-tmp",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    digitalocean_spaces: { authProvisionId: "apn_xxxxxxx" },
    bucket: "S3 Bucket Name",
    acl: "ACL",
  },
})

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.

Upload File /tmp inputs
Property Type Description
bucket S3 Bucket Name string
The S3 Bucket Name
Required Dynamic
acl ACL string
The canned ACL to apply to the object
Optional
contentType Content Type string
A standard MIME type describing the format of the object data. Eg. text/plain
Optional
metadata Metadata object
A map of metadata to store with the object in S3.
Optional
customFilename S3 Filename Key string
The name of the S3 key with extension you'd like to upload this file to
Optional
path File Path string
A path starting from /tmp, i.e. /tmp/some_text_file.txt
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
digitalocean_spaces-upload-file-tmp
Version
0.0.2
App
DigitalOcean Spaces
Authentication
API key
Behavior
May modify external data