Execute and wait for output (script or template)
action1_execute_and_waitExecute a script or template on an endpoint and automatically poll until completion, returning filtered output. Specify mode, script/template ID, and timeout for results.
Instructions
One-shot helper: starts an action (auto-routes by OS for 'script', or runs a template), polls until terminal, returns filtered output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'script' auto-routes by OS; 'template' runs a template_id. | script |
| name | No | Friendly action name. | |
| org_id | No | Org UUID. | |
| params | No | Template params when mode='template'. | |
| confirm | No | Required to execute. Exact string "YES". | |
| dry_run | No | Default true (preview). Set false to execute. | |
| endpoint_id | Yes | Endpoint UUID. | |
| script_text | No | Required when mode='script'. | |
| template_id | No | Required when mode='template'. | |
| response_format | No | Output format. Default markdown. | |
| timeout_seconds | No | Polling timeout. | |
| success_exit_codes | No | PowerShell only. Default '0'. | |
| poll_interval_seconds | No | Poll interval seconds. | |
| skip_connectivity_check | No | Skip offline-abort check. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||