Share
saihm_shareGrant 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'.
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 (blank = read) | |
| cellId | Yes | The cell to share | |
| expiryEpoch | No | Optional expiry in whole HOURS since the UNIX epoch (decimal string), not seconds: floor(unix_ms / 3600000). Example: "498192" is 2026-11-01 00:00 UTC. Blank = no expiry | |
| recipientRecord | Yes | The grantee's published identity record (hex fields) | |
| recipientPinnedAgentIdHashHex | Yes | The grantee's agentIdHash (hex), pinned out-of-band |