save_contact
Save a contact to your WhatsApp device. Existing phone numbers are skipped, preventing duplicates and preserving your current contact list.
Instructions
Save one contact. Numbers that already exist are skipped, not overwritten.
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": {
"nama": "<nama>",
"nomor": "<nomor>"
},
"name": "save_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nama | Yes | Contact name | |
| nomor | Yes | Phone number in international format without + (e.g. 6281234567890) | |
| device_id | No | Device ID (e.g. D-XXXXX). Optional if the KIRIMI_DEVICE_ID environment variable is set. |