build_deploy
Deploys a published version. Inputs: project_uuid, optional version_uuid, target, app_type. target='cloud_ephemeral' (managed Cloud Run preview of about 30 minutes; requires platform enablement; the default when cloud deploy is enabled) or 'local' (returns the bundle to run with the project's own key, for a local check). Returns the URL or a poll_url for build_deploy_status. A permanent public URL comes from build_go_live. Calling it again for an ended preview brings the preview back at the same URL; for a version that is still running it returns the same URL at once.
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_uuid": "<project_uuid>"
},
"name": "build_deploy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Default 'cloud_ephemeral' when cloud deploy is enabled (else 'local'). | |
| app_type | No | Default 'web'. | |
| project_uuid | Yes | Project UUID (from build_list_projects or build_create_project). | |
| version_uuid | No | Default: latest published version. |