kb_revisions_restore
Promote a past revision to a new current revision. The body is copied forward — historical rows are never mutated (ADR-0027).
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": {
"revision_id": "<revision_id>"
},
"name": "kb_revisions_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| revision_id | Yes | Revision id to restore from | |
| tenant_slug | No | Tenant slug to target. Required when your token grants several workspaces; omit when it grants one. If you omit it with several, the refusal names your default workspace; call kb_tenants_list to see every workspace the token grants. | |
| include_body | No | Include the full document body_md (default false; off keeps the response small - the promoted body is already readable via kb_revisions_get, and the returned current_revision_id confirms the landing). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes |