Move budget between accounts
tg_account_budgetIncrease or decrease the budget of a related Telegram Ads account using currency-precision amounts; confirmation and write mode are required to apply changes.
Instructions
Increase or decrease the budget of a related account from the current account. amount uses the currency's amount precision (EUR/TON: 5 decimals, XTR: 3). Requires confirm: true and TG_ADS_MODE=write.
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": {
"account_id": "<account_id>",
"direction": "<direction>",
"amount": "<amount>"
},
"name": "tg_account_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| confirm | No | ||
| direction | Yes | ||
| account_id | Yes | Related account to fund or withdraw from. | |
| idempotency_key | No |