Create GitCore Repository
create_repoProvision a new public or private bare Git repository on GitCore and return its Smart HTTP v2 clone URL, default branch, and API metadata.
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": {
"name": "<name>"
},
"name": "create_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Repository slug (e.g., "payment-router"). | |
| owner | No | Owner username or organization slug. Defaults to the authenticated PAT user. | |
| isPrivate | No | Set true for private repository, false for public. | |
| initReadme | No | Initialize repository with a starter README commit so HEAD exists immediately. | |
| description | No | Human-readable description of the repository. | |
| defaultBranch | No | Default trunk branch name (defaults to "main"). | main |