Top up credits
vivid_buy_creditsGenerate a link to purchase VIVID credit packs and enable auto top-up when credits run low or a batch exceeds the current balance; users pay in their browser, so no charge occurs here.
Instructions
Get the link where the user buys a credit pack (500 / 1,500 / 5,000 credits) and can turn on auto top-up. Use it when a call fails for lack of credits or before a big batch that the balance (vivid_whoami) will not cover. This tool never charges anything: the user picks the pack and pays in their browser. Show them the link, wait for them to confirm, then continue.
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": "vivid_buy_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| creditsNeeded | No | Credits missing for the work you are doing; the page preselects the smallest pack that covers it. |