Source:
packages/fabric-mcp/src/tools.tsmcpgeneratedfabric_sync_now
Upload a snapshot of the local knowledge graph to the Fabric cloud for disaster recovery. Manually triggered. Requires FABRIC_SYNC=1. Defaults to requiring a git remote at repo_root so snapshots stay portable across machines; pass workspace for a user-chosen portable id, or local_only=true for a machine-local backup of a non-git directory.
Input schema
| Field | Type | Required | Description |
|---|---|---|---|
repo_root | string | yes | Absolute path to the repo root. Used to locate the local store; also derives repo_id when neither workspace nor local_only is set. |
local_only | boolean | no | Opt-in for a machine-local snapshot when the repo has no git remote and no workspace was provided. Uses a path-based repo_id; restore works only on this device at this path. (default: false) |
workspace | string | no | Optional user-chosen workspace name. When set, tags the snapshot with an id derived from this name (portable across machines when the same name is reused). Useful for multi-repo workspaces or non-git directories. Takes precedence over git-based derivation. |
Source
Source: packages/fabric-mcp/src/tools.ts
