create_contact
Create a contact by providing an identifier (email or phone) and first name, with optional phone, email, language, last name, and custom fields.
Instructions
Create a new contact in the workspace.
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": {
"identifier": "<identifier>",
"firstName": "<firstName>"
},
"name": "create_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | The contact's email address. | ||
| phone | No | The contact's phone number, including the country code (e.g., +60123456789). | |
| language | No | The contact's language code, based on the ISO 639-1 standard (e.g., 'en' for English, 'ms' for Malay). | |
| lastName | No | The last name of the contact. | |
| firstName | Yes | The first name of the contact. | |
| identifier | Yes | The contact's identifier, using their phone or email, formatted as 'email:user@example.com' or 'phone:+1234567890'. | |
| custom_fields | No | An array of custom field objects, each with a name and value. |