delete_prompt
Remove prompt versions from Langfuse by name, with options to delete all versions, specific labeled versions, or individual version numbers. This action is permanent.
Instructions
Deletes prompt versions by name. Behaviour depends on which filters are supplied:
Omit both label and version: deletes ALL versions of the prompt.
Supply label only: deletes all versions carrying that label.
Supply version only: deletes that specific version number. promptName is required. This action is irreversible.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| promptName | Yes | Prompt name (exact match). Required. | |
| label | Yes | Delete only versions with this label, e.g. staging. Omit to ignore label filter. | |
| version | Yes | Delete only this specific version number. Omit to ignore version filter. |