Build with monkeyc
sdk_buildBuilds Garmin Connect IQ projects: compile a single-device PRG or a device "all" store .iq package, with structured diagnostics and build_id polling for long runs.
Instructions
monkeyc build: one device PRG, or device "all" for the store .iq (never replaces an .iq without overwrite). Key defaults to CIQ_MCP_KEY. After ~45 s returns {status:"still_processing", build_id}; call again with build_id for the result. Structured diagnostics.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sdk_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | developer key (.der) inside the root (default: CIQ_MCP_KEY, set by the human, may be outside the root) | |
| sdk | No | installed SDK version or dir name, e.g. 9.2.0 (default: CIQ_MCP_SDK env, current-sdk.cfg, newest installed); a custom SDK outside the SDK Manager dir only via CIQ_MCP_SDK | |
| test | No | unit-test build (-t) of one device; not with release | |
| device | No | device id, e.g. fenix7 (writes <project>/bin/<device>.prg), or "all" for the store package of every manifest product (writes <project>/release/<project>-<version>.iq; slow) | |
| jungle | No | jungle file relative to the project (default monkey.jungle) | |
| project | No | project dir inside the root (default: root) | |
| release | No | release build (-r); always on for device "all" | |
| version | No | device "all": version for the .iq name (default: manifest version, else a YYYYMMDD-HHMMSS timestamp) | |
| build_id | No | wait for a build that returned still_processing; other args are ignored | |
| overwrite | No | device "all": replace an existing .iq of the same name |