get_chat_member_count
Retrieve the current number of members in a specified Telegram chat by providing its chat ID or username. Use this tool to monitor chat growth and audience size directly through the Telegram Bot API.
Instructions
Return the number of members in a chat.
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": {
"chat_id": "<chat_id>"
},
"name": "get_chat_member_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Unique identifier for the target chat or username. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |