trigger_build
Start a new build asynchronously by specifying the build type ID. Optionally set branch, comment, or build parameters. Returns the queued build ID.
Instructions
Trigger a new build; runs asynchronously, use wait_for_build to monitor. Returns the queued build id; returns 404 if buildTypeId is unknown.
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": {
"buildTypeId": "<buildTypeId>"
},
"name": "trigger_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Build comment (optional) | |
| branchName | No | Branch to build (optional) | |
| properties | No | Optional build parameters to set when triggering the build | |
| buildTypeId | Yes | Build type ID to trigger |