View as Markdown
Oracle Cloud Infrastructure icon

Oracle Cloud Infrastructure ACTION

Create Or Update Object

Create or update an object in a specified Oracle Cloud Infrastructure Object Storage bucket. See the documentation.
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Oracle Cloud Infrastructure account once, then configure and run Create Or Update Object 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: "oracle_cloud_infrastructure-create-update-object",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    oracle_cloud_infrastructure: { authProvisionId: "apn_xxxxxxx" },
    compartmentId: "Compartment ID",
    bucketName: "Bucket Name",
  },
})

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.

Create Or Update Object inputs
Property Type Description
compartmentId Compartment ID string
The OCID of the compartment in Oracle Cloud Infrastructure.
Required Dynamic
bucketName Bucket Name string
The name of the bucket in Oracle Cloud Infrastructure Object Storage.
Required Dynamic
objectName Object Name string
The name of the object in Oracle Cloud Infrastructure Object Storage.
Required Dynamic
putObjectBody Content string
The content of the object to upload to Oracle Cloud Infrastructure Object Storage.
Required

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
oracle_cloud_infrastructure-create-update-object
Version
0.0.2
App
Oracle Cloud Infrastructure
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes