ln_trust_attest
Publish a trust attestation for a vendor on Nostr, enabling agents to share and build community reputation based on transaction history.
Instructions
Publish a trust attestation for a vendor.
Creates a NIP-85 Trusted Assertion and pushes it to Nostr relays. Other agents can pull these attestations to build community reputation.
Args: vendor: Vendor name or domain to attest. score: Trust score 0.0-1.0. If omitted, auto-calculated from local reputation (success_rate * volume factor). basis: Reason for the score (default: "transaction_history").
Returns: Attestation details including score and relay push status.
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": {
"vendor": "<vendor>"
},
"name": "ln_trust_attest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vendor | Yes | ||
| score | No | ||
| basis | No | transaction_history |