trust_transaction
Record a completed transaction to update trust scores, adding economic evidence and recalculating the agent's score while deduplicating by payment hash.
Instructions
Record a completed transaction for trust scoring. Adds economic evidence and recalculates the agent's score. Deduplicates by payment_hash.
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": {
"agent_id": "<agent_id>",
"type": "<type>"
},
"name": "trust_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Transaction type | |
| agent_id | Yes | Agent UUID | |
| amount_sats | No | Amount in sats (optional) | |
| description | No | Transaction description (optional) | |
| counterparty | No | Counterparty name or ID (optional) | |
| payment_hash | No | Lightning payment hash for dedup (optional) |