trigger_build
Trigger a Jenkins build by providing the job name and raw parameter values. Optionally wait for the build number to be assigned, enabling automated build initiation without using the Jenkins UI.
Instructions
Trigger a build with raw Jenkins parameter names.
If wait=True (default), polls the queue until a build number is assigned.
For a higher-level deploy with friendly names (branch, tickets…), use deploy().
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": {
"job_name": "<job_name>"
},
"name": "trigger_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | ||
| timeout | No | ||
| job_name | Yes | ||
| parameters | No |