Top up credits (Stripe Checkout)
top_up_creditsBuy more credits to fund test runs that TestMyVibes' agents will execute on your behalf. Returns a Stripe Checkout URL the user must open to complete payment (Stripe requires human payment completion per their agentic-commerce policy). Once the user pays, the credits are added automatically by the Stripe webhook — poll get_credit_balance to confirm.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"packIndex": "<packIndex>"
},
"name": "top_up_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packIndex | Yes | Index of the credit pack from list_credit_packs. | |
| cancelPath | No | Optional path on testmyvibes.com to redirect the user to if they cancel. Defaults to '/dashboard/billing?canceled=1'. | |
| successPath | No | Optional path on testmyvibes.com to redirect the user to after a successful payment. Defaults to '/dashboard/billing?success=1'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool result payload (JSON object) |