get_code_example
Get code snippets for typical MAX Bot API tasks: send messages, create buttons, handle callbacks, set up webhooks, init mini-apps, upload files, manage bridge storage, and handle errors.
Instructions
Получить пример кода для типичной задачи MAX Bot API. Доступно: send-message, send-buttons, handle-callback, webhook-setup, mini-app-init, upload-file, bridge-storage, error-handling.
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": {
"task": "<task>"
},
"name": "get_code_example"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Задача или ключевой слово (например: "send message", "buttons", "webhook", "mini-app", "upload", "error") |