git_init
Initializes a Git repository in a sandbox workspace and configures default author name and email for version control.
Instructions
Initializes a Git repository in the sandbox workspace and sets default author configs.
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": {
"sandboxId": "<sandboxId>"
},
"name": "git_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userName | No | Git author name | AI Agent |
| sandboxId | Yes | Target sandbox identifier | |
| userEmail | No | Git author email | agent@mcp.local |
| initialBranch | No | Initial branch name (default: main) | main |