← All tools

Mirror

Keeping a copy of what Muninn holds in a place you control: a GitHub repository, or a folder in your own Google Drive.

5Tools
8Parameters
2026-09-03Generated

muninn_mirror_connect

Writes 1 parameter

Start the connection flow for a mirror provider. Returns a URL for the user to open in their browser. After approving, call muninn_mirror_status to confirm. provider: 'github' (two-way sync) or 'gdrive' (push-only).

ParameterTypeRequiredDescription
provider stringgithub · gdrive Required The mirror provider to connect: 'github' for GitHub App (two-way), 'gdrive' for Google Drive (push-only)

muninn_mirror_designate

Writes 3 parameters

Designate (or un-designate) a bundle for mirroring to a provider. Adds/removes the 'github-mirror' tag on the bundle root's backing memory for GitHub, or 'gdrive-mirror' for Drive. After designating, writes to that bundle automatically enqueue a mirror push. Use muninn_mirror_push to force one now.

ParameterTypeRequiredDescription
rootKey string Required node_key of the bundle root to designate
provider stringgithub · gdrive Required Which provider to designate for
enabled boolean default true true = designate; false = stop mirroring this bundle

muninn_mirror_push

Writes 2 parameters

Force an immediate mirror push of one bundle. Marks the bundle dirty so the next cron tick (every 15 min) pushes it. If provider is omitted, queues for all connected providers.

ParameterTypeRequiredDescription
rootKey string Required node_key of the bundle root to push
provider stringgithub · gdrive Which provider to push to. Omit for all connected providers.

muninn_mirror_reconcile

Writes 1 parameter

Manually trigger a mirror reconciliation pass: enqueues every memory the mirror has never seen and re-marks any that changed since their last push, so both re-push on the next cron tick. Useful after a gap or error. Returns enqueuedNew, markedDirty, scanned, and complete (false = the scan stopped on budget and resumes next run).

ParameterTypeRequiredDescription
provider stringgithub · gdrive Reconcile only this provider. Omit for all connected providers.

muninn_mirror_status

Read only 1 parameter

Report mirror connection state and push health per provider. Shows connected, last push time, pending count, and last error. Pass provider to filter to one provider.

ParameterTypeRequiredDescription
provider stringgithub · gdrive Which provider to check. Omit for all.

← Back to all 70 tools