publish_prompt
Publishes a prompt version as the active default, immediately routing all callers using the slug to that version with no rollback capability.
Instructions
Publish a specific version of a prompt as the active default, unlike promote_prompt which copies across environments or update_prompt which creates a new draft. This immediately routes all callers using the slug to that version and there is no rollback, so use list_prompt_versions to pick the version and update_prompt first if you need to create new content before promoting it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | Version number to publish as the default | |
| prompt_id | Yes | Prompt ID or slug to publish |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded and returned structured data | |
| data | No | Structured success payload when ok is true | |
| error | No | Structured error payload when ok is false |