Ensure a deployment build
websiteSourceCode_deployment_ensureReturns an existing non-failed deployment for the selected version or builds one. Poll status when another request is already building it.
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": {
"websiteId": "<websiteId>",
"target": "<target>"
},
"name": "websiteSourceCode_deployment_ensure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| websiteId | Yes |