trigger_build
Trigger a new Jenkins build for a specified job, with optional parameters for parameterized builds or none for simple builds.
Instructions
Trigger a new Jenkins build. Use parameters for parameterized builds, or omit for simple builds
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": {
"jobPath": "<jobPath>"
},
"name": "trigger_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobPath | Yes | Path to the Jenkins job | |
| parameters | No | Build parameters (optional, omit for non-parameterized builds) |