start_process
Start a long-running or interactive command in the background (dev servers, long builds, REPLs, anything over 2 minutes) and return its session id as JSON. timeoutMs or waitForPrompt also waits for first output. Then process_output reads it, process_input types into it and stop_process stops it. The process keeps running past timeouts and reconnects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| command | Yes | ||
| deviceId | No | Computer name or id from list_devices. Optional with one computer online or a default set. | |
| priority | No | Scheduling priority. Use "low" for heavy or long-running work such as builds, training or test suites. | normal |
| timeoutMs | No | ||
| waitForPrompt | No | ||
| workSessionId | No | Work session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work. |