telegram_send_message
Telegram · macOS · Windows
Effect: send (strongest supported action). Status: gated.
Gated means the tool requires an installed app, a connected account, permission, or runtime availability. Check those requirements on the listed platform before using it.
macOS
Purpose
Sends a Telegram message from your own account to one chat. WRITE operation with a preview: the first call (confirm=false) returns a preview and sends NOTHING; show it to the user and call again with confirm=true only after they approve. The preview names the recipient from Telegram itself (chat_name is Telegram's name for chat_id; chat_name_unresolved when the id is not among the account's recent chats, or when reading that account is turned off in its row of My apps), never from what the caller passed. chat_id MUST come from telegram_list_chats — never invent one. One message per call; no bulk sending.
Required inputs
chat_id— Chat id from telegram_list_chats.message— Text to send (max 4096 characters).
Permissions and confirmation
Explicit confirmation parameter: inspect the schema and tool description before any real call. The documentation example keeps confirm false. Obtain user authorization before performing the action.
- Use only the apps, accounts and resources authorized by the user on this platform. Consult this tool's platform-specific description for its connection and permission requirements; this catalog does not assert additional OAuth scopes or OS entitlements.
Full input schema — macOS
{
"properties": {
"account": {
"description": "Which linked Telegram account to use: its label or id from telegram_list_accounts. Leave it out to use the default account.",
"type": "string"
},
"chat_id": {
"description": "Chat id from telegram_list_chats.",
"type": "string"
},
"chat_name": {
"description": "Optional: the name you expect for chat_id. It is never shown as the recipient — the preview shows Telegram's own name for chat_id and sets chat_name_mismatch when yours differs.",
"type": "string"
},
"confirm": {
"description": "Must be true to actually send. Without it, returns a preview.",
"type": "boolean"
},
"message": {
"description": "Text to send (max 4096 characters).",
"type": "string"
},
"remember": {
"description": "With confirm: true, also stop asking for this kind of action from now on. Only when the person said so (\"don't ask again\"). The person can revoke it in LMCP or with set_always_allowed.",
"type": "boolean"
},
"reply_to_message_id": {
"description": "Optional: the id of a message in this chat (from telegram_read_messages) that this message replies to. To acknowledge a message for telegram_delete_message, reply to it with the text ACK.",
"type": "integer"
}
},
"required": [
"chat_id",
"message"
],
"type": "object"
}Documentation example
Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.
{
"chat_id": "5550100123",
"confirm": false,
"message": "Can we review the launch checklist on Tuesday?"
}Windows
Purpose
Sends a Telegram message from your own account to one chat. WRITE operation with a preview: the first call (confirm=false) returns a preview and sends NOTHING; show it to the user and call again with confirm=true only after they approve. chat_id MUST come from telegram_list_chats — never invent one. One message per call; no bulk sending.
Required inputs
chat_id— Chat id from telegram_list_chats.message— Text to send (max 4096 characters).
Permissions and confirmation
Explicit confirmation parameter: inspect the schema and tool description before any real call. The documentation example keeps confirm false. Obtain user authorization before performing the action.
- Use only the apps, accounts and resources authorized by the user on this platform. Consult this tool's platform-specific description for its connection and permission requirements; this catalog does not assert additional OAuth scopes or OS entitlements.
Full input schema — Windows
{
"properties": {
"account": {
"description": "Which linked Telegram account to use: its label or id from telegram_list_accounts. Leave it out to use the default account.",
"type": "string"
},
"chat_id": {
"description": "Chat id from telegram_list_chats.",
"type": "string"
},
"chat_name": {
"description": "Optional: the name you expect that chat to have. The preview shows the name Telegram gives for chat_id, never this one, and says when they differ.",
"type": "string"
},
"confirm": {
"description": "Must be true to actually send. Without it, returns a preview.",
"type": "boolean"
},
"message": {
"description": "Text to send (max 4096 characters).",
"type": "string"
},
"remember": {
"description": "With confirm=true, and only after the person said so: do this kind of action without asking from now on («don't ask me again»). The preview names the family.",
"type": "boolean"
},
"reply_to_message_id": {
"description": "Optional: the id of a message in this chat (from telegram_read_messages) that this message replies to. To acknowledge a message for telegram_delete_message, reply to it with the text ACK.",
"type": "integer"
}
},
"required": [
"chat_id",
"message"
],
"type": "object"
}Documentation example
Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.
{
"chat_id": "5550100123",
"confirm": false,
"message": "Can we review the launch checklist on Tuesday?"
}