Keep a design variant
keep_variantUsed by the variant card when the user clicks Pick: applies the change the assistant prepared for that variant (keep it as the only version, remove the other variants and the __ronda_variant switch) as one commit, after ronda checks it again. Needs the card's action token. The preview runs the new code at once; nothing is pushed to GitHub.
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": {
"sessionId": "<sessionId>",
"key": "<key>",
"keepPatch": "<keepPatch>",
"actionToken": "<actionToken>"
},
"name": "keep_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The variant key on the card. | |
| context | No | A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details. | |
| keepPatch | Yes | The change the card carried for this variant; set by ronda's card. | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| sessionId | Yes | The ronda session id, from open_session or list_sessions. | |
| actionToken | Yes | The card's action token; set by ronda's card. |