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).
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": {
"target": "<target>"
},
"name": "assess_counterparty"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | No | ||
| target | Yes | ||
| payment_context | No |