git_init
Initialize a new Git repository in a workspace and set its initial branch, leaving existing repositories unchanged.
Instructions
Initialise a new git repository (non-destructive; existing repos are left intact).
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_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | . | |
| initial_branch | No | main |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |