Get the tokens left
get_tokensReads the account's tokens, the one unit everything Marsell makes is paid in (100 tokens are 1 US cent): plan, can_spend and, when it cannot, reason; tokens_left (this month's plan tokens with any bought or coupon tokens, which carry over); used_this_month and held_now for work under way (the token history's own count, so used can pass the allowance once bought or coupon tokens are spent); monthly_allowance and renews (when it renews). Read it before quoting a spend; what a piece costs comes from its own quote (make_pictures, series_quote, picture_price).
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": "get_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | The project's id or exact name. Optional when the account has one project. |