Tradetron Wallet Balance
tt_wallet_balanceShow the user's Tradetron wallet balance, what a backtest costs, and a clickable link to add funds.
Backtests are charged to the Tradetron wallet. Use this when the user asks about their balance, asks how much a backtest costs, says they are out of funds, or asks how to add funds (for example after a run was refused for insufficient balance): it returns the actual top-up link, so give that rather than a general 'add funds on the website'.
Returns {wallet_balance, backtest_price, backtests_affordable,
backtests_affordable_from_wallet, topup_url?, backtest_pack?}. The two
affordable keys are the SAME figure — the second is the honest name and
the first is kept for callers pinned to it; quote either, never both as
if they were different answers. topup_url is minted per call and
legitimately differs between two reads a minute apart: it is a link to
follow, not an identifier to compare. LEAD WITH backtest_pack WHEN IT IS PRESENT: an account
holding a prepaid pack spends CREDITS first, so its runs cost ₹0 and this
cash balance never moves — backtests_affordable is a cash-only figure and
describes a payment path that account is not using. spendable_now is what
a run today can actually draw; it is 0 on a pack whose billing cycle has
ended, which is a different answer from "no pack" and must be said as such.
Relay the balance verbatim; never invent or estimate a figure. If the balance
could not be read, say exactly that.
NOTE: this wallet fee applies to backtests run through the chat/MCP. It
is SEPARATE from a subscription plan's backtest_allowed limit, which
governs the website's own Backtest button — a large plan allowance does
not make chat backtests free, and vice versa.
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": "tt_wallet_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||