Start Process
start_processLaunch a long-running command in the background and return its process ID for polling output without blocking the session.
Instructions
Start a background process and return its id. Poll it with process_output.
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 folder. Default = root. | |
| env | No | Extra environment variables. | |
| command | Yes | Long-running command, e.g. 'npm run dev', 'python -m http.server 8000'. | |
| wait_ms | No | Wait this long for first output before returning (max 30000). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||