add
Stage files in a Git repository by specifying absolute paths. Integrates with the Git MCP Server to enhance AI-assisted Git operations for efficient version control.
Instructions
Stage files
Input Schema
Name | Required | Description | Default |
---|---|---|---|
files | Yes | Files to stage | |
path | No | Path to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo) |
Input Schema (JSON Schema)
{
"properties": {
"files": {
"description": "Files to stage",
"items": {
"description": "MUST be an absolute path (e.g., /Users/username/projects/my-repo/src/file.js)",
"type": "string"
},
"type": "array"
},
"path": {
"description": "Path to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo)",
"type": "string"
}
},
"required": [
"files"
],
"type": "object"
}