evaluate_x402_credit
Evaluates an x402 (Payment Required) call payload across 3 consensus nodes (Alpha, Beta, Gamma) and returns a credit score (0-1000) with GO/NO-GO recommendation.
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": {
"payload": "<payload>"
},
"name": "evaluate_x402_credit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | The x402 call details, vendor history, and requested payment amount | |
| caller_id | No | Identifier of the calling AI agent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Execution status (success or error) | |
| caller_id | No | Caller identifier echoed by swarm | |
| trust_level | Yes | Derived trust classification tier | |
| node_reports | Yes | Per-node credit scores, flags, and rationale (Alpha, Beta, Gamma) | |
| agentcash_intel | No | Live AgentCash discovery and trust intelligence context | |
| aggregated_flags | No | Deduplicated risk and anomaly flags across consensus nodes | |
| final_recommendation | Yes | Definitive GO or NO-GO micropayment recommendation | |
| final_creditability_score | Yes | Consensus creditability score from 0 to 1000 |