Edit one account version
set_draft_variantReplace or remove one account override in a draft using the expected revision; omitted fields inherit base content, while null restores inheritance and invalidates the preview.
Instructions
Replace one selected account override using current expectedRevision. Omitted override fields inherit base content; variant:null removes the override and restores base inheritance. Preserves other accounts, increments the draft revision and invalidates its preview. Never publishes.
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": {
"draftId": "<draftId>",
"expectedRevision": "<expectedRevision>",
"accountId": "<accountId>",
"variant": "<variant>"
},
"name": "set_draft_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | ||
| variant | Yes | ||
| accountId | Yes | ||
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| success | Yes |