Show Credit Options
show_credit_optionsShow the user their Normi credit balance and the credit packs and plans they can buy, in an interactive view.
Call it when:
a Normi tool was just refused with "Insufficient credits": pass that tool as refused_tool and its exact arguments as refused_arguments;
the user asks about their Normi credits or balance, wants to add, buy or reload credits ("recharger", "acheter des crédits"), asks about plans or pricing, or says they have run out: call it without arguments. Never call it otherwise, and never suggest buying credits on your own initiative.
The user buys on Normi's website in their browser; nothing is bought from this tool. Once they have added credits, the view lets them run the refused call again.
Cost: 0 credits
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": "show_credit_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Set by the credits view when it re-reads the balance. Leave unset. | |
| refused_tool | No | The Normi tool that was just refused for insufficient credits. Omit when the user simply asked about their credits. | |
| refused_arguments | No | The exact arguments of the refused call, so the user can run it again after adding credits. |