Pre-flight: AI provider conditions (paid: 0.001 RLUSD or 0.001 USDC on Base via x402)
decide_provider_healthPaid: 0.001 RLUSD per call via x402 on XRPL mainnet (xrpl:0), or 0.001 USDC on Base (eip155:8453). Use when an agent is about to call an AI provider and wants a pre-flight conditions reading. Returns a reading (go = operational, caution = minor or maintenance, no_go = major or critical, unknown = no reading) and a handling flag derived from it, from the vendor's own public status page (credited per source; not affiliated), with the disturbed share of checks over 24h. openai, cursor, cohere, perplexity, inference-net and amazon are no longer measured (status null until 2026-11-12). 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | Vendor slug (status feeds: anthropic, morph; others return unknown) or a model id like anthropic/claude-sonnet-4 | |
| 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. |