set_primary_build
Assign a completed publish build as the project's primary build by passing its durable build job ID, ensuring the intended version is served to users.
Instructions
Set a completed publish build as the project primary build. buildId is the durable build JOB id from list_builds/create_build, not the app id.
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": {
"buildId": "<buildId>"
},
"name": "set_primary_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buildId | Yes |