add_contact
Add a Telegram user to your contact list by ID or @username, with optional phone and privacy exception.
Instructions
Добавить пользователя в контакты.
Args: user: id или @username существующего юзера. phone: опционально (можно пустое). add_phone_privacy_exception: разрешить юзеру видеть твой номер.
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": {
"user": "<user>",
"first_name": "<first_name>"
},
"name": "add_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | ||
| phone | No | ||
| last_name | No | ||
| first_name | Yes | ||
| add_phone_privacy_exception | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||