deploy_prompt_version
Make a prompt version active for experiments and workflows. Resolves 'Prompt version not found' errors by deploying the version so it can be referenced.
Instructions
Deploy a specific prompt version, making it the active version that experiments (and other workflows) will use.
Background: when you create a prompt version, it starts as a draft (not deployed). The platform requires at least one DEPLOYED version before a prompt can be referenced by version number in experiments or other workflows. If you call create_experiment with a prompt workflow and see "Prompt version X not found", you forgot to deploy.
Tip: in the UI it's common to have multiple versions (draft + deployed). To switch the active version, just deploy the new one — the previous deployed version stays in history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | Version number to deploy as the active version | |
| prompt_id | Yes | Unique prompt identifier (from list_prompts) |