Create Access Receipt
create_access_receiptCreate a signed access receipt that records content reference, terms, and revocation policy after verifying the governance block and publisher key; refuse to sign if verification fails.
Instructions
Create a signed receipt recording the supplied content reference and terms, after verifying the governance block against the content and the publisher's key. If the block does not verify, the tool refuses and signs nothing. The receipt captures the block's terms and revocation policy at access time. The tool signs the receipt with agentPrivateKey but returns only a text summary (receipt ID, agent DID, publisher DID, intended usage, governance block status, training term, cached-copy revocation policy). The full signed receipt, including its signature, is not returned. A verified block is not permission to perform intendedUsage, and the receipt is not proof that access happened.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | Yes | Governance block JSON string | |
| content | Yes | Content the governance block covers, used to verify its content hash | |
| sourceUrl | Yes | URL where content was accessed | |
| intendedUsage | Yes | How you intend to use this content | |
| agentPublicKey | Yes | Your agent's Ed25519 public key (hex) | |
| agentPrivateKey | Yes | Your agent's Ed25519 private key (hex) | |
| publisherPublicKey | Yes | Publisher's Ed25519 public key (hex), used to verify the block signature |