Get chat info
get_chat_infoLoad profile and metadata for one user, bot, group, or channel. Success: info dict; forum chats may include topics up to topics_limit; user targets may include common_chats up to common_chats_limit. Full documentation: https://github.com/leshchenko1979/fast-mcp-telegram/blob/main/docs/Tools-Reference.md
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_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Target chat: numeric id (e.g. -100…), username without @, or 'me' for Saved Messages. | |
| topics_limit | No | Max forum topics to list when the chat is a forum. | |
| common_chats_limit | No | Max common groups to list for user targets. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ok | No | ||
| code | No | ||
| error | No | ||
| phone | No | ||
| title | No | ||
| action | No | ||
| is_bot | No | ||
| params | No | ||
| topics | No | ||
| is_user | No | ||
| is_forum | No | ||
| is_group | No | ||
| username | No | ||
| exception | No | ||
| last_name | No | ||
| operation | No | ||
| error_code | No | ||
| first_name | No | ||
| is_channel | No | ||
| common_chats | No | ||
| topics_has_more | No | ||
| participants_count | No | ||
| common_chats_has_more | No |