deploy_prompt
Deploy a prompt version to a label (e.g., production or staging) to manage environment deployments, with automatic version tracking for one-step rollback.
Instructions
Deploy a specific prompt version to a label (an environment such as production / staging) (Pro+ only, POST /v1/prompts/:id/deploy). If a deployment already exists, the prior version is kept as previous and rollback_prompt can revert in one step. Re-deploying the same version does not create a previous entry. Labels are per prompt name (each name has its own production version).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Environment label (alphanumerics plus _ -, 1-32 chars. E.g. 'production' / 'staging') | |
| promptId | Yes | Id of the version to deploy (list_prompts.prompts[].id) |