telegram_whois
Check who or what a Telegram username, numeric ID, or invite link is by returning only its ID, kind, handle, bot flag, and shared groups; do not use it to join.
Instructions
Returns identity only: id, kind, handle, bot flag, and shared groups for users. Use when the user gives a username, numeric id, or invite link and asks who or what it is. Do not use this to join the chat; joining is telegram_plan_join_chat, and a member list is telegram_chat_members. An invite link is described with CheckChatInvite and is never joined — joining is a write and goes through a plan.
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": {
"target": "<target>"
},
"name": "telegram_whois"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | @username, numeric id, t.me link, or an invite link. | |
| account | No | Account label to use. Omit when exactly one account is configured. | |
| common_chats | No | For users, also list groups this account shares with them. |