Stop a command on a Mac
cancel_mac_jobStops a running command and everything it started: SIGTERM, a second, then SIGKILL. It comes back exited with reason cancelled, its output so far still readable; a command that already ended comes back unchanged (cancelled: false). For a hung build, an endless test run or a server no longer needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Command job ID (job_…) returned by exec_mac. | |
| session_id | No | Mac session ID (ses_…). Optional: without it, the account's running Mac. |