Start a long-running program on a QNX target
run_startStarts a program in the background on a QNX target, returns immediately, and redirects stdout/stderr to capped files so long-running tasks can be polled and stopped.
Instructions
Like deploy_and_run, but the program runs in the background (its own session on the target) so the call returns at once. Output goes to files on the target (capped per stream); read it with run_poll using offsets, end it with run_stop. timeout_s is a hard limit on its lifetime. processes and logs keep working while it runs. Crashes leave a core for get_crash(run_id). remote_binary (a target path, with no binary) starts a program that is installed on the target, for example to restart a service (same rules as deploy_and_run: below /tmp or /data, never a shell or a system program).
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": {
"target": "<target>"
},
"name": "run_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory on the target | |
| env | No | Extra environment variables for the program | |
| args | No | Program arguments, one element per argv entry | |
| binary | No | Host path of the executable | |
| target | Yes | Target name such as 'tb' (lowercase letters, digits, '-', '_'); must be inside the server allowlist | |
| timeout_s | No | Kill the program after this many seconds | |
| core_wait_s | No | How long to wait for dumper to finish a core | |
| max_output_kb | No | Cap for each of the stdout and stderr files | |
| remote_binary | No | Instead of binary: absolute path of an executable already on the target |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||