Create a GitHub repository
gh_create_repoCreate a repository on the user's GitHub account or an organisation where the app is installed. Private unless private is false (a public one needs the "change anything" mode). auto_init (default true) starts it with a README; gitignore_template takes GitHub's names (Node, PHP, Python...). Never deletes anything. A repository AskYourStack created may then get commits on its main branch in the default mode.
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": "gh_create_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| owner | No | Account or organisation; default the connected user. | |
| private | No | ||
| homepage | No | ||
| auto_init | No | ||
| description | No | ||
| license_template | No | ||
| gitignore_template | No |