Get Build Scripts
get_build_scriptsRetrieve the scripts used in a specific Jenkins build by job full name and optional build number; omit the number to inspect the last build.
Instructions
Get the scripts used in a specific build in Jenkins
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_build_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | No | The number of the build, if None, get the last build | |
| fullname | Yes | The fullname of the job |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |