Update a QR code
update_qr_codeChange a QR code: destination_url or destination_data (dynamic codes only; the printed code keeps working), label, paused, expires_at (ISO or null), slug (link name on the account's domain), domain_id, colors, frame. Send only what changes.
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": {
"id": "<id>"
},
"name": "update_qr_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| slug | No | 3-40 lowercase letters, numbers, dashes; null to clear | |
| label | No | ||
| paused | No | ||
| bg_color | No | ||
| fg_color | No | ||
| domain_id | No | ||
| expires_at | No | ISO 8601 or null to clear | |
| frame_style | No | ||
| frame_caption | No | ||
| destination_url | No | Shortcut for url codes: the new https address | |
| destination_data | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| kind | No | ||
| type | No | ||
| label | No | ||
| scans | No | ||
| dynamic | No | ||
| bg_color | No | ||
| fg_color | No | ||
| has_logo | No | ||
| domain_id | No | ||
| image_url | No | Print-ready SVG; needs the Authorization header | |
| short_url | No | What to print for a dynamic code | |
| created_at | No | ||
| kind_label | No | ||
| manage_url | No | ||
| short_code | No | ||
| updated_at | No | ||
| destination | No | ||
| frame_style | No | ||
| frame_caption | No | ||
| dynamic_capable | No | ||
| destination_data | No | ||
| png_download_url | No | Plain PNG (no frame or logo) through a signed 24-hour link | |
| svg_download_url | No | Same SVG through a signed link that works for 24 hours with no header | |
| download_expires_at | No |