Get Pending Inputs
get_pending_inputsList a Jenkins build's pending input steps, including input IDs and parameter definitions, so you can locate paused pipelines and respond to required input.
Instructions
Get the pending input steps of a specific build in Jenkins
A pipeline showing "Paused for Input" is waiting on an input step. This lists the input id and the parameter definitions the pipeline is waiting for.
Only the given build is inspected. With number=None that is the job's last build, so a paused build that is no longer the most recent one is not found that way — locate it with get_running_builds and pass its number explicitly.
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": {
"fullname": "<fullname>"
},
"name": "get_pending_inputs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | No | The number of the build, if None, check the last build | |
| fullname | Yes | The fullname of the job |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |