Ship
shipShip your draft as one commit through the normal path (gate, deploy, one code change) and clear it — or discard: true drops the draft without deploying (message and wait ignored). Rebases onto the current head when it moved, or answers conflict with current_sha when the draft no longer applies.
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": {
"app": "<app>"
},
"name": "ship"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | The app slug. | |
| wait | No | Wait for the deploy (default true). False returns immediately; poll deploy_status. Ignored with `discard`. | |
| discard | No | Drop the staged draft without deploying. The deployed app is untouched; `message` and `wait` are ignored. | |
| message | No | Commit message, 1-500 chars. Required unless `discard` is true (which ignores it). |