Edit QR code
spur_update_qr_codeRename a QR code, change where scans go, or change its colors. A new destination also applies to postcards already mailed with this code. Templates pick up new colors at send time.
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": {
"qr_code_id": "<qr_code_id>"
},
"name": "spur_update_qr_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the QR code | |
| qr_code_id | Yes | QR code id from spur_list_qr_codes | |
| destination_url | No | Where a scan sends people, e.g. https://acme.example/offer (https:// is added if missing) | |
| background_color | No | Hex color, e.g. #111827. Keep strong contrast with the background so phones can scan it | |
| foreground_color | No | Hex color, e.g. #111827. Keep strong contrast with the background so phones can scan it |