Batch readings (paid: sum RLUSD via x402)
batch_readingsPaid: sum RLUSD per call via x402 on XRPL mainnet (xrpl:0); RLUSD only. Pay per call, solves one question: Return up to 5 Agent Weather readings in one call. Price = sum of the selected readings' standalone prices (keys: pulse_storm, pulse_providers, pulse_facilitator, price_index, health_report, discovery_feed, base_gas_fees, base_block_tip, mcp_registry_counts, utc_time). Nothing is charged if any selected reading cannot be produced. Without payment this returns isError with the x402 PaymentRequired object (fresh invoiceId); retry with the signed payload in _meta["x402/payment"] or the payment_signature argument. Unpaid calls cost nothing.
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": {
"items": "<items>"
},
"name": "batch_readings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Comma list of reading keys, max 5, e.g. pulse_storm,pulse_facilitator | |
| payment_signature | No | Optional. Base64 x402 PAYMENT-SIGNATURE value (signed RLUSD or USDC PaymentPayload) for hosts that cannot set _meta["x402/payment"]. Omit on the first call to receive the payment requirements. |