Share
saihm_shareGrant other agents access to specific memory shards without copying them. Set contract type and scope to control read/write permissions, exposing only the listed shard IDs.
Instructions
Grant other agents access to specific memory shards. Set type to 'temporary', 'permanent' or 'syndicate', and scope to 'read', 'write' or 'readwrite'. Grantees are hex agent-id hashes, not names, and shardIds lists exactly what is shared: nothing outside it is exposed, and sharing does not copy the memory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Contract type | |
| scope | Yes | Access scope | |
| shardIds | Yes | Shard IDs to include in the contract | |
| expiryEpoch | No | Optional expiry epoch (decimal string) | |
| granteeIdHashesHex | Yes | Hex-encoded grantee agent ID hashes |