View as Markdown
Databricks (Service Principal) icon

Databricks (Service Principal) ACTION

Repair Run

Re-run one or more tasks. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Databricks (Service Principal) account once, then configure and run Repair Run 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: "databricks_oauth-repair-run",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    databricks_oauth: { authProvisionId: "apn_xxxxxxx" },
    runId: "Run",
    rerunTasks: ["Rerun Tasks"],
  },
})

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.

Repair Run inputs
Property Type Description
runId Run string
Identifier of a run
Required Dynamic
rerunTasks Rerun Tasks string[]
The task keys of the task runs to repair
Optional
rerunAllFailedTasks Rerun All Failed Tasks boolean
If true, repair all failed tasks. Only one of rerun_tasks or rerun_all_failed_tasks can be used
Optional
pipelineParamsFullRefresh Pipeline Params - Full Refresh boolean
Controls whether the pipeline should perform a full refresh
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
databricks_oauth-repair-run
Version
0.0.1
App
Databricks (Service Principal)
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes