Run app in simulator
sim_runRuns a Connect IQ PRG or builds a project for a device in the simulator, starting it if needed; returns a session ID plus crash details and runs filtered unit tests with parsed reports.
Instructions
Run a PRG (or build project+device) via monkeydo, starting the simulator if needed; returns a session id once the client prints or exits, inlining the newest crash entry on a crash. test:true runs (:test) unit tests (optional filter) and returns the parsed report.
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": {
"device": "<device>"
},
"name": "sim_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | developer key (.der) inside the root; default CIQ_MCP_KEY; needed when building | |
| prg | No | PRG inside the root; omit to build project | |
| sdk | No | installed SDK version or dir name; custom SDK only via CIQ_MCP_SDK | |
| test | No | run (:test) unit tests: build with -t or take a test PRG, run monkeydo -t, return the parsed report (exit code ignored) | |
| device | Yes | device id, e.g. fenix7 | |
| filter | No | with test: run only this test name (letters, digits, _ . * : -; no leading -) | |
| project | No | project dir inside the root to build (default: root) |