Buy credits
buy_creditsCreate a Stripe checkout link to top up this API key. Plans: starter = 1000 credits for $3; pro = 5000 credits for $10; business = 15000 credits for $20. Give the returned checkout_url to your user to pay (or complete it if you can make payments). Credits are added automatically after payment.
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": {
"plan": "<plan>"
},
"name": "buy_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | Credit pack to buy. | |
| api_key | No | Your ogfetch API key (ogf_...). Optional if the MCP connection is already configured with an Authorization header. |