edit_message_reply_markup
Update the reply markup of a Telegram message to modify its inline keyboard, reply keyboard, or force reply. Change buttons on an existing message without resending it.
Instructions
Edit the inline keyboard of a message.
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": "edit_message_reply_markup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No | Chat ID or @username | |
| message_id | No | Message ID | |
| reply_markup | No | InlineKeyboardMarkup, ReplyKeyboardMarkup, ReplyKeyboardRemove, or ForceReply | |
| inline_message_id | No |