Cancel Build
cancel_buildStop a running Unity build for a specific target and build number. Use this write operation to halt unwanted or stuck builds and free up build resources.
Instructions
Cancel a running build. 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>",
"build_number": "<build_number>"
},
"name": "cancel_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project ID or name (defaults to the configured default project) | |
| buildtarget | Yes | Build target ID | |
| build_number | Yes | Build number to cancel |