Show design variants
show_variantsShow 2-3 design variants side by side with screenshots so the user can pick one. First implement the variants in the code behind the __ronda_variant URL query parameter (each value renders one variant, no parameter renders the current version), then call this with their keys. Optionally add a keepPatch per variant (a unified diff you do not apply) so the card can apply the chosen one. Read-only.
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>",
"variants": "<variants>"
},
"name": "show_variants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Page the variants are on, as a path on the preview starting with "/" (default "/"). Not a full URL. | |
| 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. | |
| variants | Yes | The 2-3 design variants to compare, each already implemented behind its __ronda_variant key. | |
| viewport | No | Screenshot size (default desktop). | |
| 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. |