Build a vCard QR
qr_build_vcardEncode a vCard QR code from a name, organization, phone, email and website so scanning it adds the contact directly to a phone's address book.
Instructions
Encode a contact card (vCard) with first and last name, organization, phone, email and website URL into a QR. Scanning the QR adds the contact to the phone's address book.
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": {
"firstName": "<firstName>"
},
"name": "qr_build_vcard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Personal or company website URL. | |
| No | Email address. | ||
| phone | No | Phone number, including country code (e.g. +1-555-867-5309). | |
| lastName | No | Contact's last name. | |
| firstName | Yes | Contact's first name. | |
| organization | No | Company or organization name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | File format the engine rendered: png, svg, jpg, webp or pdf. | |
| payload | Yes | The payload string the engine built and the QR encodes (WIFI:..., BEGIN:VCARD..., geo:...). | |
| filePath | No | PDF in the stdio package only: local temp file the PDF was written to. | |
| mimeType | No | MIME type of the rendered file (the engine's contentType). | |
| sizeBytes | No | Size of the rendered file in bytes, as reported by the engine. | |
| resourceUri | No | PDF on the remote server only: URI of the embedded resource block that carries the file. |