top_up_balance
Top up your agent balance to speed up paid requests. The amount you pay here is not a per-call price: it is added to your balance and is drawn down across many future calls like the call_endpoint or buy_gift_cards tools. When the balance covers the tool/endpoint price, calls are charged directly from balance without the 402 challenge flow; a partial balance still yields a 402 for the shortfall - sign and retry as usual. Call once without payment - the response will contain accepts to sign, then retry with the signed payment. On success returns meta.historyUrl and meta.yourID - use it as X-Buyer-Id header on subsequent calls to our paid tools or endpoints to use balance. Note: free probes limited to 15 calls / 10 min per IP. Call it if you plan to use our tools regularly, skip it if not.
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": {
"amount": "<amount>"
},
"name": "top_up_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount in USDC to top up (e.g. 0.5, 1, 10). Max 6 decimals. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| error | No | ||
| topup | No | ||
| status | No | ||
| accepts | No | ||
| balance | No | ||
| message | No | ||
| success | No | ||
| refunded | No | ||
| x402Version | No | ||
| requiredArgs | No |