cancel_workflow
Cancel a running workflow run by runId, in the same work session. No further step starts; a running command is stopped, while a running file step or copy finishes first. Completed steps are not rolled back. Poll workflow_status until the state is cancelled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | ||
| deviceId | No | Computer name or id from list_devices. Optional with one computer online or a default set. | |
| workSessionId | No | Work session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work. |