Run native build
run_buildStart a native Gradle build in the background and receive a job ID to check build status. Use after modifying native-layer files.
Instructions
Start a native build (Gradle) in the background and return a job id immediately. Poll with get_build_status. Use after native-layer changes; for pure JS changes prefer reload_app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clean | No | Clean before building | |
| scheme | No | iOS scheme (default: auto-detected from the workspace) | |
| variant | No | Android variant (default "debug") | |
| platform | Yes | Which native platform to build | |
| projectRoot | No | Project root (default: server --project-root) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | ||
| status | Yes | ||
| command | Yes | ||
| logPath | Yes |