Set official version
artifact_site_set_officialDesignate a specific version as the official artifact version, replacing any prior designation. Pass expected_revision from get_site to prevent stale updates.
Instructions
Designate a specific current or historical version as the only official version. Replaces the previous designation; latest and immutable contents do not change. Use expected_revision from get_site to reject stale changes.
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": {
"slug": "<slug>",
"version_id": "<version_id>"
},
"name": "artifact_site_set_official"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Artifact identifier returned by find/publish, or the slug in its /s/ URL. Not a local path. | |
| tenant_id | No | Destination tenant for creation; defaults to the account tenant. | |
| version_id | Yes | ||
| share_token | No | Token from a user-provided share URL; carries only that share permission. | |
| expected_revision | No |