git_init
Creates a new Git repository at a specified path or the current directory, giving assistants the version control setup needed before committing, branching, or pushing code.
Instructions
Initialize a new git repository
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 |
|---|---|---|---|
| repoPath | No | Path where to initialize the repository (defaults to current directory) |