getMyStarBalance
Fetches the bot's current Telegram Stars balance without parameters and returns a StarAmount object, enabling balance checks and reporting.
Instructions
A method to get the current Telegram Stars balance of the bot. Requires no parameters. On success, returns a StarAmount object.
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": "getMyStarBalance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||