Start Xcode Cloud build
start_ci_buildStarts an Xcode Cloud build of a workflow, optionally on a specific branch or tag.
Instructions
Starts an Xcode Cloud build of a workflow, optionally on a specific branch or tag.
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": {
"workflowId": "<workflowId>"
},
"name": "start_ci_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clean | No | Run a clean build without cached derived data. | |
| workflowId | Yes | Workflow ID (from list_ci_workflows). | |
| gitReference | No | Branch or tag to build, e.g. main or v2.1.0. Omit to use the workflow's own start condition. |