shell_start
Start long-running commands in the background and get a job ID to read output, wait, or kill. Use for builds, installs, tests, or dev servers that exceed shell timeouts.
Instructions
Start a long-running command in the background and return a job id.
Output is buffered as it arrives; read it with shell_job_output, block on it with shell_job_wait, stop it with shell_job_kill. Use this for builds, installs, test suites and dev servers that would blow shell_execute's timeout.
Args: command: Shell command line. cwd: Working directory. Defaults to the user's home. env: Extra environment variables.
Returns: job_id, pid, command, cwd.
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": "shell_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| env | No | ||
| command | Yes |