promote_prompt
Copy prompts between environments like staging to production to deploy tested configurations across development stages.
Instructions
Promote a prompt from one environment to another (e.g., staging → prod). Copies the current version to the target environment.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_prompt_id | Yes | Source prompt ID or slug (e.g., staging prompt) | |
| target_collection_id | Yes | Target collection ID for the promoted prompt | |
| target_name | No | Target prompt name (defaults to source name with env suffix replaced) | |
| target_env | Yes | Target environment | |
| virtual_key | No | Virtual key ID to use (defaults to source prompt's virtual_key) |