start_background_job
Start a command as a background job and retrieve a job ID to monitor its status.
Instructions
[Command Execution] Start a command as a background job
Example usage:
{
"shell": "powershell",
"command": "Start-Sleep -Seconds 30; Write-Output 'Done'",
"timeout": 60
}Returns job ID immediately. Use get_job_status to monitor progress.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Custom environment variables for command execution (optional) | |
| shell | Yes | Shell to use for command execution | |
| command | Yes | Command to execute | |
| timeout | No | Job timeout in seconds (default: 300, max: 3600) |