Write buildtree.config.json
buildtree_write_configWrites buildtree.config.json to an app root, mapping each platform to its build command and exact artifact path to upload; blocks overwrite unless explicitly allowed.
Instructions
Write buildtree.config.json in a directory. builds maps a platform name (ios, android) to a shell command and the exact artifact path it produces (no globs). Refuses to overwrite unless overwrite is true.
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": {
"dir": "<dir>",
"builds": "<builds>"
},
"name": "buildtree_write_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | Absolute path to the app's root directory. | |
| builds | Yes | Platform name to build definition. | |
| overwrite | No |