git_push
Push Git commits to a remote repository from within VS Code. This tool enables AI agents to execute version control operations through the Model Context Protocol.
Instructions
Push commits to remote
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "git_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remote | No | Remote name | |
| branch | No | Branch name | |
| cwd | No | Repository path |