Create GitHub Repository
varity_create_repoCreate a new GitHub repository and push your local project code to it, giving you a repo URL to deploy from when no remote repository exists yet.
Instructions
Create a new GitHub repository and push your local project to it. Pass the 'path' parameter with the local project directory. This creates an empty repo and pushes your actual code to GitHub. varity_deploy builds from a Git repository URL (or takes a prebuilt image), so call this before varity_deploy when you have code locally but no repository yet. Requires GitHub CLI authentication or a GITHUB_TOKEN/GH_TOKEN environment variable with repository access.
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": "varity_create_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Repository name (lowercase, hyphens allowed, e.g. 'my-app') | |
| path | No | Absolute path to the local project directory to push to GitHub (e.g. '/home/user/my-app'). Pushes the actual project code. Pass its returned repo_url to varity_deploy. | |
| visibility | No | Repository visibility | private |
| description | No | Short description of your app (optional) |