build_app
Compile a Monkey C project for a specified Garmin device with the SDK compiler, producing a .prg binary for simulator testing.
Instructions
Build a Monkey C project for a specified device using the SDK monkeyc compiler.
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_dir": "<project_dir>"
},
"name": "build_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | No | Garmin device ID to build for (e.g. 'fenix847mm'). Defaults to active device. | |
| extra_args | No | Extra CLI flags to pass directly to monkeyc | |
| jungle_file | No | Path to jungle build file (defaults to project_dir/monkey.jungle) | |
| project_dir | Yes | Path to Monkey C project directory containing monkey.jungle or manifest.xml | |
| output_prg_path | No | Destination file path for output .prg binary | |
| developer_key_path | No | Path to developer key (.der). Defaults to developer_key.der in project or SDK. |