GitHub Create Repo
github_create_repoCreate a private GitHub repo and push your app to track it on GitHub. Default dry_run returns command; set false for live action requiring approval.
Instructions
Create a PRIVATE GitHub repo under the configured account and push the app (needs human approval unless dry_run).
Use when: the app should be tracked on GitHub. dry_run=true (default) only returns the command. For later commits use github_push. Returns: {ok, command/url, dry_run} or an approval_required refusal.
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": {
"app_dir": "<app_dir>",
"repo_name": "<repo_name>"
},
"name": "github_create_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_dir | Yes | Absolute path to the app project directory (contains app.spec.json), e.g. /Users/me/Apps/MyApp. | |
| dry_run | No | If true (default) nothing is changed or sent and the exact plan/command is returned; false performs the live action. | |
| repo_name | Yes | Name of the new private repository, e.g. 'my-app'. | |
| approval_id | No | Approval id from a previous approval_required refusal; omit on the first call. The human approves out-of-band with `appfactory approve <id>`, then call again with the same arguments and this id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||