git_new_repo
Create a new GitHub repository, optionally with a backup remote, using a single command.
Instructions
Create a new GitHub repository with optional backup remote. Saves ~950 tokens vs agent-generated commands.
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": {
"path": "<path>"
},
"name": "git_new_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Repository name (optional, defaults to directory name) | |
| path | Yes | Local path for the repository | |
| private | No | Make repository private (default: false) | |
| withBackup | No | Create companion backup repository (default: true) | |
| description | No | Repository description |