Buy compute credits
create_topup_linkGet a Stripe Checkout link to buy Developer credits (£10 each), for when a free trial or Developer account runs out (a 402 with insufficient_allowance). Show the link to the person: they choose how many and pay in their browser; you never handle payment details. Credits appear once Stripe confirms. A person can instead add a card on the billing page to be billed monthly for what they use. Not for Core, whose extra credits are billed automatically, or for subscribing to a plan.
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": "create_topup_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credits | No | Credits to start with (Stripe's page lets the payer change it). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||