# Contact (vCard) QR code generator

Make a QR code that adds a contact to a phone when scanned: name, phone, email, organisation and website.

- Endpoint: `POST https://setget.net/v1/tools/qr-vcard` with JSON `{"input": {...}}`
- MCP: `run_tool` with `slug` = `qr-vcard`
- Page: https://setget.net/tools/qr-vcard

## Inputs

- `name` (required, string): Full name of the contact.
- `phone` (optional, string): Phone number, ideally in international form.
- `email` (optional, string): Email address.
- `organisation` (optional, string): Company or organisation.
- `url` (optional, string): Website address, including https://.
- `error_correction` (optional, string, one of `L`, `M`, `Q`, `H`, default `"M"`): How much damage the code survives: L about 7%, M 15%, Q 25%, H 30%. Higher levels hold less.
- `module_size` (optional, integer, default `8`, range 1..40): Width of one small square (module) in pixels.
- `margin` (optional, integer, default `4`, range 0..20): Blank quiet zone around the code, in modules. Scanners expect at least 4.
- `foreground` (optional, string, default `"#000000"`): Colour of the dark squares: hex such as #000000, or a basic colour name.
- `background` (optional, string, default `"#ffffff"`): Colour behind the code: hex, a basic colour name, or "transparent".

## Example

```json
{"input":{"name":"Sam Rivera","phone":"+44 20 7946 0123","email":"sam@example.com","organisation":"Example Ltd","url":"https://example.com"}}
```

**How is the name split?** The last word is used as the family name and the rest as given names. Use the vCard tool with qr-generate if you need full control.

**Why will my code not scan?** Keep strong contrast (dark squares on a light background), leave the margin at 4 or more, and print it large enough: about 2 cm across for a short link. Long text makes dense codes that need more size.
