My balance of one token
get_my_token_balanceHow much of one token the user holds now. Use to size a sell. balance_token_amount IS THE ANSWER: the on-chain balance, same as get_my_balances; 0 means they do not hold it. ledger_balance_token_amount and cost_basis_usd are the ledger's, for cost context only: check ledger_present first (false = both unknown, and ledger_disagrees: false then means nothing to compare). A disagreeing ledger is normal after transfers; never average the two or sell the larger. Quantities come from the CHAIN; cost basis and PnL from Moby's swap ledger, which only sees Moby swaps. Never size a sell from a ledger quantity. Use get_my_position for unrealised PnL.
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": {
"token_address": "<token_address>"
},
"name": "get_my_token_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_address | Yes | Solana token mint address (base58). Get it from search_tokens or a leaderboard row. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||