Create QR code
spur_create_qr_codeCreate a tracked QR code that sends scans to destination_url. Then add it to a postcard back with spur_add_postcard_qr_code; each mailed postcard gets its own code under it so scans are tracked per recipient.
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": {
"name": "<name>",
"destination_url": "<destination_url>"
},
"name": "spur_create_qr_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Label shown in Spur, e.g. 'Spring cash offer' | |
| destination_url | Yes | 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 |