set_alias
Point an alias of a document at a version, creating the alias or moving it. Links that follow the alias play the new version from then on.
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": {
"document_id": "<document_id>",
"alias": "<alias>",
"version": "<version>"
},
"name": "set_alias"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | The alias, such as `approved` or `client-review`. `latest` is built in and can't be set. | |
| version | Yes | The version it points at. | |
| document_id | Yes | The document, `doc_…`. |