Connect GitHub
connect_githubConnect a repository so every push to the branch deploys by itself. Studio opens a pull request with the deploy workflow and merges it (autoMerge, default true; a protected branch needs the person to merge). Merging starts the first deploy. The repository must be visible to the GitHub App (see github_status). appPath: folder with the web .csproj (empty = root); clientPath: React/Vite client built before publish.
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": {
"slug": "<slug>",
"repository": "<repository>"
},
"name": "connect_github"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Project slug | |
| branch | No | Branch that deploys (empty = the default branch) | |
| appPath | No | Web project folder | |
| autoMerge | No | Merge the pull request right away | |
| clientPath | No | React/Vite client folder | |
| outputPath | No | Build output folder for static sites | |
| repository | Yes | Repository as owner/name |