telegram_ads_draft_generate
Builds a ready-to-submit Telegram ad within the 160-character limit with bid, budget and an impressions estimate, and reports whether it passes preflight. Amounts are in the Telegram account currency.
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": {
"text": "<text>"
},
"name": "telegram_ads_draft_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpm | No | CPM bid in the account currency. | |
| text | Yes | Ad text. | |
| title | No | Short title. | |
| budget | No | Budget in the account currency. | |
| button | No | Button for a website ad. | |
| currency | No | EUR, TON or XTR. | |
| client_id | No | ||
| placement | No | channel_post, bot_banner, search_result or video_banner. | |
| autoshorten | No | Cut the text at a word boundary when it is too long. | |
| promote_url | No | @username, t.me link, bot or website. | |
| website_name | No | Site name for an external link. |