View as Markdown
VisualPing icon

VisualPing ACTION

Delete Job

Permanently deletes a Visualping job by id. This stops monitoring and cannot be undone — use Find Jobs first to confirm you have the right jobId before calling this, especially if the user described the job by name or URL rather than by id. Example: after confirming job 482913 is the one monitoring https://example.com/pricing, call with jobId="482913" → the job stops being checked and no longer appears in Find Jobs. See the documentation
  • Action
  • Writes data
  • Destructive
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's VisualPing account once, then configure and run Delete Job 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: "visualping-delete-job",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    visualping: { authProvisionId: "apn_xxxxxxx" },
    workspaceId: 10,
    jobId: "Job ID",
  },
})

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.

Delete Job inputs
Property Type Description
workspaceId Workspace ID integer
The workspace's numeric id. Use List Workspace ID Options to discover valid ids and names for the connected account. Example: to work in the "Marketing" workspace, call that tool first, then pass its id here, e.g. 77421.
Optional
jobId Job ID string
The job's numeric id. Use Find Jobs to discover valid ids (each result includes id and url) — search by fullTextSearchFilter (matches URL or description) to locate a specific job. Example: after finding a job for https://example.com/pricing, pass its id here, e.g. 482913.
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
visualping-delete-job
Version
0.1.0
App
VisualPing
Authentication
OAuth
Read-only
No
Destructive
Yes
Open world
Yes