run_slx
Executes pre-committed SLX runbook tasks on the workspace runner, running health checks, troubleshooting, or automations already configured.
Instructions
Run an existing SLX's runbook tasks on the workspace runner.
Skill: runwhen-skill://run-existing-slx — and default task_titles="*"
(a literal resolved title produces empty passedTitles).
This triggers execution of a previously committed SLX (not an ad-hoc script). Use this when you want to run a health check, troubleshooting task, or automation that already exists in the workspace.
IMPORTANT: This is different from run_script / run_script_and_wait, which execute ad-hoc scripts. Use run_slx to trigger SLXs that are already committed and configured in the workspace.
NOTE: workspace_chat CANNOT run tasks directly — it can only search for and describe them. Use this tool to actually execute an SLX.
The tool creates a RunSession with the run request, polls until completion, and returns the results including pass/fail status and any issues found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slx_name | Yes | The SLX short name (e.g. 'k8s-pod-health'). | |
| task_titles | No | Tasks to run: '*' for all, or '||'-separated titles. | * |
| workspace_name | Yes | The workspace (e.g. 't-oncall'). | |
| runtime_var_overrides | No | Per-run override values for runtime variables (name → value). Passed through to the runner at execution time. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |