trigger_build
Trigger a Jenkins build with custom parameters and optionally notify a Slack channel about the result.
Instructions
Trigger a Jenkins build with parameters. Sends Slack DM if configured.
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": {
"jobName": "<jobName>"
},
"name": "trigger_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | Build parameters as key-value pairs (e.g. {"BRANCH": "main"}) | |
| jobName | Yes | Jenkins job name | |
| notifyChannel | No | Slack channel to notify (optional, e.g. #deployments) |