sync
Synchronize your memory vault with a private git remote to persist and access memories across devices. Setup with a repo URL, then sync automatically.
Instructions
Sync this device's memory vault with its private git remote.
Use when the user wants their memory on another device, or to push/pull now. If the vault isn't configured yet, this returns setup instructions — relay them and ask the user for a private repo URL, then call again with remote_url. Once configured, a bare call pulls remote work, commits local changes, and pushes. Safe to call repeatedly.
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": "sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remote_url | No | Only for FIRST-TIME setup: a PRIVATE git repo URL to bind this vault to (the user provides it; they can create one via `gh repo create <name> --private`). Omit once configured — a plain call pulls, commits, and pushes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |