Read a native Telegram draft
telegram_get_chat_draftReads the visible Telegram chat draft and its version to inspect or prepare a replacement without clearing or changing the existing draft.
Instructions
Read the draft visible in Telegram and its version before preparing a replacement.
Text-only writes are supported. Non-text drafts are reported by content_type. Read-only; never clears or changes the user's draft.
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": "telegram_get_chat_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Exact nonzero native TDLib chat_id returned by Telegram list/search/history tools. Keep its sign and value; do not convert a Bot API ID or Telegram URL. | |
| topic_id | No | Native forum topic ID returned as topic_id by Telegram history/search; omit for no topic restriction or the chat's main draft. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| exists | Yes | ||
| status | No | current | |
| chat_id | Yes | ||
| version | Yes | ||
| topic_id | Yes | ||
| content_type | Yes | ||
| operation_id | No | ||
| trust_boundary | No | ||
| reply_to_message_id | Yes |