Create deployment plan
deployment_planCreates a persisted plan for a concrete commit. With no environment, the server chooses Dev if it exists, otherwise Prod. A Prod plan requires publication permission and shared-data migrations affect Prod; review it before deployment. The canonical API verifies source provider and generation. Follow next_step on nonretryable source, GitHub access or archive refusals. Omh Native Auth requires project rollout approval and returns native_auth_launch_unavailable when approval is missing.
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": {
"project_id": "<project_id>",
"commit_sha": "<commit_sha>"
},
"name": "deployment_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit_sha | Yes | ||
| project_id | Yes | ||
| environment | No |