parse_and_upsert_contact
Extract structured contact details from vCard, HTML, CSV, JSON, or freeform text and optionally save or merge them into Google Contacts.
Instructions
Parse one or more contacts from raw text or markup (vCard/.vcf, HTML, Markdown, CSV, JSON, email signature, or freeform text) and optionally save (upsert) them to Google Contacts.
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": {
"input": "<input>"
},
"name": "parse_and_upsert_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Raw text or markup containing contact info (vCard, HTML, Markdown, CSV, JSON, email signature, or notes) | |
| merge | No | Merge with existing contact if found (default: true) | |
| dryRun | No | If true, only parses and returns the extracted structured contact(s) without writing to Google Contacts (default: false) | |
| format | No | Input format hint (defaults to 'auto') | auto |