Run the configured build
buildtree_buildRun the build command from buildtree.config.json for one platform and record the resulting artifact for upload.
Instructions
Run the build command from buildtree.config.json for one platform and record the artifact for buildtree_upload.
Builds take 5 to 30 minutes. Progress notifications keep long-running clients alive, but some clients enforce a short per-tool timeout (Codex defaults to 60 seconds). If yours may time out, run the command yourself in a shell instead (for example npx @buildtree/cli build android) and then call buildtree_upload with the artifact path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | Absolute path to the app's root directory (where buildtree.config.json lives). | |
| platform | No | Platform key from the config, e.g. ios or android. Optional when only one is configured. | |
| tailLines | No | ||
| timeoutSeconds | No |