get_build_for_job
Retrieve build details for a specific job by providing the build source (rdc or vdc) and job ID. Get build information from Sauce Labs testing platform.
Instructions
Retrieve the details related to a specific build by passing its unique ID in the request.
:param build_source: Required. The type of device for which you are getting builds. Valid values are: 'rdc'
(Real Device Builds), 'vdc' (Emulator or Simulator Builds)
:param job_id: Required. The unique identifier of the job whose build you are looking up. You can look up job
IDs in your organization using the Get Jobs endpoint.
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": {
"build_source": "<build_source>",
"job_id": "<job_id>"
},
"name": "get_build_for_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| build_source | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |