Create a memory share link
create_memory_shareUse this when the user asks to share memories with another person or another MemoryRouter account, for example 'make a share link for everything about project X'. Creates a link and a password that let someone else import a frozen copy of memories from the connected vault into their own vault. Neither side ever sees the other's memory key. The first call (no confirmation) only previews how many memories would be shared and never creates a link. After the user confirms the preview, call again with the same arguments and the exact confirmation phrase. Defaults: one-time use and a 7 day expiry. Prefer scope 'selected' with focused queries over sharing a whole vault.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_memory_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uses | No | 'once' (default) lets one account import. 'multi' lets many accounts import. | |
| label | No | Optional name the receiver sees. | |
| scope | No | 'selected' shares memories matching the queries. 'all' shares the whole vault. | |
| queries | No | Search phrases that pick what to share. Required for scope 'selected'. | |
| max_uses | No | Optional exact number of accounts that may import. | |
| no_expiry | No | Set true for a link that never expires. | |
| threshold | No | Similarity threshold from 0 to 1 for selected memories. Default 0.6. | |
| confirmation | No | Exact phrase, only after the user has seen the preview and confirmed. | |
| expires_in_days | No | Days until the link expires. Default 7. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| link | No | ||
| count | No | ||
| scope | No | ||
| created | Yes | ||
| preview | No | ||
| max_uses | No | ||
| password | No | ||
| expires_at | No | ||
| expires_in_days | No | ||
| estimated_tokens | No |