smart_git_push
Push code securely with AI-driven checks that detect credentials, filter files, and use test results to track deployment metrics.
Instructions
AI-driven security-focused git push with credential detection, file filtering, and deployment metrics tracking. Tests should be run by calling AI and results provided.
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": "smart_git_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Target branch for push (optional, uses current branch if not specified) | |
| dryRun | No | Show what would be pushed without actually pushing | |
| message | No | Commit message (optional, commits staged files if provided) | |
| forceUnsafe | No | Override security blocks and test failures (DANGEROUS) | |
| projectPath | No | Path to project directory (defaults to current working directory) | |
| testResults | No | Test results from AI-executed tests (required for proper deployment tracking) | |
| skipSecurity | No | Skip security scanning (NOT RECOMMENDED) |