create_contact
Add a contact to the sender's address book. Specify email and optional details such as name, subscription status, and metadata.
Instructions
Add a contact to the sender'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": {
"email": "<email>"
},
"name": "create_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Contact email. | ||
| sender | No | Product/sender externalId sent as X-Drin-Sender. Required only for account-wide API keys; overrides the server's default sender. | |
| lastName | No | ||
| metadata | No | Arbitrary metadata. | |
| firstName | No | ||
| subscribed | No | Defaults to true. |