describeType
Retrieves the full JSON Schema for a named Telegram type, including nested $refs, so you can inspect fields when other grammY tools only provide a type title.
Instructions
Full JSON Schema of a Telegram type that other tools only name in a title, e.g. InlineKeyboardMarkup. Nested types appear as $refs to look up the same way.
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": {
"name": "<name>"
},
"name": "describeType"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Type name, e.g. InlineKeyboardMarkup |