run_unit_tests
Execute Monkey C unit tests from a compiled .prg test binary in the Garmin simulator, optionally targeting a device, test suite, or timeout.
Instructions
Run Monkey C unit tests for a compiled .prg test binary in the simulator using monkeydo -t.
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": {
"prg_path": "<prg_path>"
},
"name": "run_unit_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prg_path | Yes | Path to compiled test .prg executable | |
| device_id | No | Device ID to execute tests on (defaults to active device) | |
| test_name | No | Optional specific test name or suite prefix to execute | |
| timeout_ms | No | Maximum execution timeout in milliseconds (default: 30000) |