Resolve TestFlight Builds from an Xcode Cloud Run
get_build_run_testflight_buildsVerify an Xcode Cloud run, workflow, and app, then look up TestFlight-eligible builds linked to the run so you can hand off only ready build IDs.
Instructions
Verify an exact run, workflow and App Store Connect app, then look up the externally eligible builds linked to the run. For automatic handoff, supply both the expected canonical branch ref and full source commit SHA. Use build IDs only when the overall status is ready.
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": {
"buildRunId": "<buildRunId>",
"workflowId": "<workflowId>",
"appId": "<appId>",
"platforms": "<platforms>"
},
"name": "get_build_run_testflight_builds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | Expected App Store Connect app resource ID. | |
| platforms | Yes | ||
| buildRunId | Yes | Exact run ID or xcode-cloud://build-run URI. | |
| workflowId | Yes | Expected workflow ID or xcode-cloud://workflow URI. | |
| expectedSourceRef | No | ||
| expectedSourceCommitSha | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | ||
| status | Yes | ||
| buildRun | Yes | ||
| platforms | Yes |