Top Up Credits
flowcheck_topupPurchase additional API credits to continue using workflow analysis tools for detecting issues and validating financial processes.
Instructions
Buy 100 API credits for $5.00 using the payment method on file. Returns the new credit balance. Requires an active Stripe subscription.
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": "flowcheck_topup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/billing.ts:9-22 (handler)The handler and registration logic for the flowcheck_topup tool.
server.registerTool( "flowcheck_topup", { title: "Top Up Credits", description: "Buy 100 API credits for $5.00 using the payment method on file. " + "Returns the new credit balance. Requires an active Stripe subscription.", inputSchema: z.object({}), }, async () => { const result = await client.request("POST", "/billing/topup"); return { content: [{ type: "text" as const, text: result }] }; }, );