funnels.delete
Permanently delete a funnel by name. Since funnel definitions are immutable, use delete and recreate to edit a funnel.
Instructions
Delete a saved funnel by name. Irreversible — the agent should confirm intent with the user before calling this. The underlying event data isn't touched; only the funnel definition row is removed.
Since funnel definitions are immutable post-creation, deleting and re-creating is the canonical way to "edit" a funnel — change the name or the steps, call delete, then funnels.create.
Examples:
"delete the old onboarding funnel" → name="onboarding-v1"
"remove the test funnel I just created" → name="test"
Limitations: irreversible. Returns 404 if the funnel doesn't exist. Definition is not returned before deletion — capture it from funnels.list first if you may need to recreate it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Funnel name to delete. | |
| project_id | No | Target project ID (e.g. "proj_abc123"). Required when the credential has access to multiple projects. If omitted and only one project is accessible, that project is used automatically. Call `projects.list` to discover available project IDs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes |