View as Markdown
Google Forms icon

Google Forms ACTION

Delete Form Item

Permanently deletes one item (question, image, video, or page break) from a Google Form by its item ID. Use it when the user asks to delete, remove, or drop a question from a form. Deletion cannot be undone through the API: before calling this, ask the user to confirm, and always do so for bulk requests such as "delete every question" (name the items and wait for a yes). Call it only after the user has confirmed. To find an item's ID, use Get Form and read items[].itemId. The tool looks up the item's current position itself, so earlier deletions never shift which item is removed; if someone else edits the form in between, the call fails without deleting anything, so call it again. Returns the deleted item's itemId, title, and former index. Example: formId=1FAIpQLSdExampleFormId, itemId=3f9a21c0 → returns itemId 3f9a21c0, its title, and the position it held. See the documentation
  • Action
  • Writes data
  • Destructive
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Google Forms account once, then configure and run Delete Form Item 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: "google_forms-delete-item",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    google_forms: { authProvisionId: "apn_xxxxxxx" },
    formId: "Form ID",
    itemId: "Item 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 Form Item inputs
Property Type Description
formId Form ID string
The ID of the form to delete the item from, e.g. 1FAIpQLSdExampleFormId. It is the formId returned by Create Form or Get Form.
Required
itemId Item ID string
The stable ID of the item to delete, e.g. 3f9a21c0. Use Get Form and read items[].itemId to find it.
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
google_forms-delete-item
Version
0.0.1
App
Google Forms
Authentication
OAuth
Read-only
No
Destructive
Yes
Open world
Yes