Update QR code variant status
update_qrcode_variant_statusUse this when the user wants to switch one Smart Rule variant on or off. Needs the variant ID.
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": {
"idqrcode_variant": "<idqrcode_variant>",
"status": "<status>"
},
"name": "update_qrcode_variant_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | true to switch the variant on, false to switch it off. | |
| idqrcode_variant | Yes | Variant ID from `manage_qrcode_variants`. Never guess an ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||