tg_miniapp_snapshot
Lists interactive elements inside an open Telegram Mini App as [ref] lines, enabling click and type actions on identified controls.
Instructions
List interactive elements inside the open Mini App as [ref] lines usable with tg_miniapp_click / tg_miniapp_type.
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": "tg_miniapp_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_elements | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |