delete_prompt
delete_promptRemove prompt versions from Langfuse by name, with options to delete all versions, specific labels, or particular version numbers.
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
| 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. |