publish_partial
Publishes a chosen partial version as the active default, changing what {{> partial_name}} resolves to across all prompts and replacing the current version.
Instructions
Publish a specific partial version as the default, unlike update_prompt_partial which creates a new draft without activating it. Use after list_partial_versions to pick a version_id; this immediately changes what {{> partial_name}} resolves to for all prompts and replaces the previously active version without a rollback path.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt_partial_id": "<prompt_partial_id>",
"version": "<version>"
},
"name": "publish_partial"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | Version number to publish as default | |
| prompt_partial_id | Yes | Prompt partial ID or slug |
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 |