Git LFS Actions
git_lfsTrack, untrack, list, and inspect Large File Storage files; pull or push stored objects, install hooks, and migrate files into or out of storage.
Instructions
Manage Git Large File Storage (LFS). Supports tracking/untracking file patterns, listing LFS-tracked files and status, pulling/pushing LFS objects, installing LFS hooks for the repository, and migrating existing files into or out of LFS storage.
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": {
"action": "<action>"
},
"name": "git_lfs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| remote | No | Remote name for pull/push operations. | |
| exclude | No | Comma-separated exclude patterns for migrate or pull operations. | |
| include | No | Comma-separated include patterns for migrate or pull operations. | |
| patterns | No | File glob patterns for track/untrack (e.g. ["*.psd", "*.zip"]). | |
| repo_path | No | Absolute path to the local Git repository. If omitted, falls back to the server default set via the GIT_REPO_PATH environment variable or --repo-path CLI argument. | |
| everything | No | Pass --all/--everything to include all refs in push/migrate operations. | |
| response_format | No | Output format for the response. | markdown |