assess_counterparty
Assess counterparty risk before authorizing an x402 payment. Get a 0-100 risk score, allow/review/block decision, and ready-to-apply policy to prevent fraud.
Instructions
Assess the risk of an x402 counterparty (a payTo address) BEFORE paying. Returns a 0-100 risk_score, an allow/review/block decision, honest confidence/coverage, and a ready-to-apply recommended_policy (per-counterparty caps + approval/denylist), scored from on-chain settlement behaviour on Base + a delivery-outcome flywheel. Call before authorizing any x402 payment above your risk threshold. Costs $0.002 (paid automatically in USDC).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | No | ||
| target | Yes | ||
| payment_context | No |