tesi_prepare_topup
Create or reconcile a same-key Stripe Checkout top-up ($10-$100 USD) that adds credits to your existing key while keeping workspace files intact. Returns JSON with checkoutUrl, sessionId, addedCents, and updated balance. Example: {"amountCents": 2500}.
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": "tesi_prepare_topup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | No | Existing top-up Stripe session ID (cs_live_...) to reconcile immediately. | |
| amountCents | No | Top-up amount in USD cents: 1000 ($10), 2500 ($25), 5000 ($50), or 10000 ($100). | |
| recoverOnly | No | Set true to recover or reconcile an open top-up session without opening a new one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| balance | No | ||
| sessionId | No | ||
| addedCents | No | ||
| checkoutUrl | No |