androidapi_create_contact
Create a new contact with name and phone number, then assign it to groups by providing comma-separated group IDs.
Instructions
Create a new contact and assign it to one or more groups.
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": {
"phone": "<phone>",
"name": "<name>",
"groups": "<groups>"
},
"name": "androidapi_create_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Full name of the contact. | |
| phone | Yes | Phone number in E.164 (+923012345678) or local (03012345678) format. | |
| groups | Yes | Comma-separated group IDs. Get IDs from androidapi_get_groups. |