createSiteFromGitHub
Deploy a GitHub repository as a Netlify site by configuring the repo, branch, build command, and publish directory.
Instructions
Create a new Netlify site from a GitHub repository
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>",
"repo": "<repo>",
"branch": "<branch>",
"buildCommand": "<buildCommand>",
"publishDir": "<publishDir>"
},
"name": "createSiteFromGitHub"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new site | |
| repo | Yes | GitHub repository in format owner/repo | |
| branch | Yes | Branch to deploy from | |
| publishDir | Yes | Directory containing the built files to publish | |
| buildCommand | Yes | Build command to run |