check_agent_trust
Verify an ERC-8004 agent's trust score on Base before paying it; returns ALLOW_PAY or REFUSE plus safe_to_pay, and treats errors as refusal.
Instructions
ERC-8004 agent trust check on Base. Decide on decision (ALLOW_PAY | REFUSE) and safe_to_pay (boolean); pay only on ALLOW_PAY. An error result is REFUSE too — no answer is not an ALLOW. measurement carries the full score body as evidence, not as the decision.
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": {
"agentId": "<agentId>"
},
"name": "check_agent_trust"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | No | Optional wallet to verify against agentWallet metadata | |
| agentId | Yes | ERC-8004 agent ID (tokenId) |