Start Build
start_buildStart a new build in Unity Build Automation for a specified build target, optionally setting branch, project, and clean build.
Instructions
Start a new build for a build target. This is a write operation.
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": {
"buildtarget": "<buildtarget>"
},
"name": "start_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clean | No | Whether to perform a clean build | |
| branch | No | Branch to build (defaults to the build target's configured branch) | |
| project | No | Project ID or name (defaults to the configured default project) | |
| buildtarget | Yes | Build target ID |