get_checkout_link
Get a link to buy credits with Wavegrain's MCP server: the get_checkout_link tool needs the read permission. Inputs, outputs and an example call.
Get a link to buy credits. Permission: read. Read-only: changes nothing.
Wavegrain's billing page for more credits (paid plans) or another plan. The user picks and pays there; you never pay. Free.
Inputs
| Input | Type | Required | Notes |
|---|---|---|---|
want | "credits" | "plan" | no | credits: a one-time credit pack (paid plans); plan: choose or change a plan. default "credits" |
The fields inside an object or a list are in the JSON Schema at /developers/mcp-tools.json.
Returns
| Field | Type | Notes |
|---|---|---|
link | string | Opens Wavegrain's checkout; the user pays there, never in the chat. |
balance | number | Credits the user has now. |
plan | string | The user's plan key. |
options | object[] | Pack credits never expire; plan credits are per month. |
note | string | What to tell the user. |
Example call
Send it to POST https://wavegrain.com/api/mcp with an access key that has the read permission; Authentication shows how to make one.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_checkout_link",
"arguments": {}
}
}
Related tools
search_inspiration: Search the Inspiration libraryget_playbook: Get the slideshow playbookestimate_cost: Estimate creditsget_generation_status: Get a slideshow's progresslist_review_links: List client review linkslist_automations: List automations- All 79 tools
Something wrong or missing? Write to support@wavegrain.com.