resolve_chat
Resolve a Telegram chat by ID, @username, or default, caching its peer to enable efficient message operations.
Instructions
Resolve the configured or provided Telegram chat and cache its input peer.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "resolve_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | No | Chat ID, @username, or omitted for TELEGRAM_DEFAULT_CHAT_ID. | |
| refresh | No | Force GramJS entity refresh. |