max_api_reference
Look up current MAX Bot API and Mini Apps facts, including auth, webhooks, messages, keyboards, uploads, and initData, to avoid outdated API details before writing MAX code.
Instructions
Look up current facts about the MAX Bot API and Mini Apps (MAX Bridge) with links to dev.max.ru.
Covers base URL and auth, the Russian Trusted Root CA, advertising in MAX (topic 'ads'), webhooks vs long polling, sending messages, inline keyboards and callbacks, formatting, uploads, chat tracking without GET /chats, mini-apps, initData validation, deep links, who may create bots, official libraries. Language models usually know an outdated API (platform-api.max.ru, token in query, GET /chats) — use this before writing MAX code. With no arguments returns the list of topics.
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": "max_api_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Answer language: 'en' English, 'ru' Russian. Pick the user's language; default ru (or XONTA_MAX_LANG) | |
| query | No | Free text in English or Russian, e.g. 'webhook certificate', 'callback answer', 'initData', 'GET /chats', 'attachment.not.ready' | |
| topic | No | Return one whole topic instead of searching |