Buy a credit pack with PayPal (sandbox)
buy_creditsStart a one-off credit purchase for the signed-in account: pack_1k = 1,000 credits for US$8.00; pack_5k = 5,000 credits for US$35.00; pack_20k = 20,000 credits for US$120.00. Returns a PayPal approval link to show the user — they approve the payment on PayPal's page (never paste card details into the chat); then call confirm_credit_purchase with the order_id. Pack credits are spent after the monthly plan allowance and never expire. Sandbox only: test money. Free to call; needs the user's account.
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": {
"pack": "<pack>"
},
"name": "buy_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pack | Yes | Which pack to buy |