Add contact
telegram_add_contactSave a Telegram user as a contact using their @username or user ID and a first name. Use it to add contacts when managing Telegram from an agent.
Instructions
Save a Telegram user as a contact by @username or user id.
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>",
"firstName": "<firstName>"
},
"name": "telegram_add_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | ||
| phone | No | ||
| lastName | No | ||
| firstName | Yes |