buy_credits
[payment] How an agent with a wallet buys a prepaid API key by itself, with ONE x402 USDC payment and no human, email or account. Returns the exact payment requirements (price, asset, payTo, network, the resource URL) for GET https://liquidvision.app/api/v1/credits/buy?usd=N. Send that GET with a PAYMENT-SIGNATURE (x402 v2) or X-PAYMENT (v1) header from your wallet and the answer is a key of tier 'prepaid' with the credits ($0.005 each; a row costs 1, a 12-venue position check 4, precedents or an attestation 10, a rule test 20); the same wallet always tops up the same key. Credits are spent per call by price class; every conclusion and live snapshot stays free. This tool itself moves no money.
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": "buy_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usd | No | Pack size in USD: 1 (200 credits), 5 (1,000) or 20 (4,000). |