Get Build Artifact
get_build_artifactDownload a specific Jenkins build artifact by job name, build number, and relative path; returns binaries as base64 and text files as plain text.
Instructions
Download an artifact from a specific build in Jenkins
Binary files are returned as base64-encoded content; text files are returned as plain text.
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>",
"relative_path": "<relative_path>"
},
"name": "get_build_artifact"
}
}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 | |
| relative_path | Yes | The relative path of the artifact (e.g. playwright-report/index.html) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||