Deploy (run) Ballerina project
mq_deploy_projectDeploy a scaffolded Ballerina project as a detached background process, monitor for early crashes, and return its PID and optional service URL.
Instructions
Run bal run for a scaffolded project as a detached background process and return its PID. Watches the process for wait_ms to catch an early crash (and report the output) before declaring it started. If service_port is given, also returns a composed service URL. The process keeps running after this call returns. Verifies the Ballerina toolchain first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait_ms | No | How long to watch the process for an early crash before reporting it started (default 4000 ms). | |
| project_path | Yes | Absolute or ~/%USERPROFILE%-relative path to an existing scaffolded project root (the folder containing Ballerina.toml). | |
| service_port | No | Optional HTTP/observability port the running program exposes; used only to compose the returned service URL. |