Start a background process
start_processStart a command that keeps running (a dev server, a build, a Python or Node shell, an ssh session) and return its first output. Use read_process_output and interact_with_process to follow up and force_terminate to stop it. There is no terminal, so full-screen programs and password prompts will not work. At most 5 run at once; one nobody touches for 30 minutes is stopped.
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": {
"command": "<command>"
},
"name": "start_process"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory. Defaults to the user's home directory. | |
| device | No | Device name. Optional when the account has only one online device. | |
| command | Yes | Shell command to start. | |
| wait_ms | No | How long to wait for first output. Default 1500, max 30000. |