Run a script (auto-route by endpoint OS)
action1_run_scriptExecute scripts on endpoints with automatic cross-platform routing. Preview with dry-run, then confirm to run on Windows (PowerShell) or macOS (Bash).
Instructions
Cross-platform script runner. Routes to PowerShell (Windows) or Bash (macOS); errors on Linux/unknown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Friendly action name. | |
| org_id | No | Org UUID. | |
| confirm | No | Required to execute. Exact string "YES". | |
| dry_run | No | Default true (preview). Set false to execute. | |
| endpoint_id | Yes | Endpoint UUID, or Group ID when target_type='EndpointGroup'. | |
| script_text | Yes | Script source. | |
| target_type | No | Endpoint (default) or EndpointGroup for fan-out. | |
| retry_minutes | No | Retry window in minutes when endpoint is offline. | |
| response_format | No | Output format. Default markdown. | |
| timeout_minutes | No | Per-action timeout in minutes (number or digit-string). | |
| success_exit_codes | No | PowerShell only; ignored on macOS. | |
| skip_connectivity_check | No | Skip offline-abort check. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||