Apply a local GitFerry bundle
apply_bundleValidate and apply a local GitFerry bundle to replay commits and restore staged, unstaged, and untracked files; use dryRun to preview changes before modifying a repository.
Instructions
Validate and apply a trusted local .gitferry bundle: replay commits, restore staged/unstaged changes, and write untracked or snapshot files. Modifies the target unless dryRun=true. Preview first and review conflicts afterward. force bypasses repository, dirty-tree, and overwrite guards.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cwd": "<cwd>",
"bundlePath": "<bundlePath>"
},
"name": "apply_bundle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Absolute path to the target git repository | |
| force | No | Override repo-fingerprint, dirty-tree, and file-overwrite guards (default false) | |
| dryRun | No | Validate and report the plan without changing anything (default false) | |
| bundlePath | Yes | Absolute path to the .gitferry bundle file | |
| includeUntracked | No | Write untracked files from the bundle (default true) |