Set client name in chat
set_chat_client_nameRenames a ChatPush contact with its CRM client name so operators see a real name instead of a phone number; locate the conversation by phone or Telegram identifier.
Instructions
Rename a contact in the ChatPush web messenger, so operators see a person's real name instead of a phone number. The name is stored as the CRM client name of the conversation.
Find the conversation by phone, Telegram username or Telegram user ID — at least one is required. If the contact has both WhatsApp and Telegram conversations, both are renamed.
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": {
"name": "<name>"
},
"name": "set_chat_client_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New name for the contact, e.g. the customer name from your CRM. | |
| phone | No | Contact phone number in international format. | |
| tdlib_user_id | No | Contact's Telegram user ID. | |
| tdlib_username | No | Contact's Telegram username. |