tg_click
Presses an inline or keyboard button on a Telegram message and returns what changed; link and mini app buttons return their URL instead of opening.
Instructions
Press an inline or keyboard button on a message (usually a bot's) and return what changed.
row and col come from the "[row,col]" list under the message. Link and mini app buttons are not
opened, their URL is returned instead.
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": "<chat>",
"message_id": "<message_id>",
"row": "<row>",
"col": "<col>"
},
"name": "tg_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | Yes | ||
| row | Yes | ||
| chat | Yes | ||
| wait | No | ||
| message_id | Yes |