Share
saihm_shareShare a single memory cell with another agent using their pinned agent ID and public record. Set read, write, or readwrite access, with optional expiry, without copying the memory.
Instructions
Grant one other agent access to a single memory cell, named by cellId. Identify the recipient by their recipientPinnedAgentIdHashHex, pinned out-of-band, and their recipientRecord. Set scope to 'read', 'write' or 'readwrite'. Only that one cell is exposed, and sharing re-wraps its key rather than copying the memory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Access scope (default read) | |
| cellId | Yes | The cell to share | |
| expiryEpoch | No | Optional expiry as a UNIX-epoch count (decimal string) | |
| recipientRecord | Yes | The grantee's published identity record (hex fields) | |
| recipientPinnedAgentIdHashHex | Yes | The grantee's agentIdHash (hex), pinned out-of-band |