skypilot_cluster_exec
Execute tasks on an existing SkyPilot cluster by providing a task YAML and cluster name. Syncs workdir and runs commands, returning a request ID for result polling.
Instructions
Execute a task on an existing cluster. Syncs workdir and runs commands. Accepts a SkyPilot task YAML string. Returns a request_id — use skypilot_get_request to poll for the result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| down | No | ||
| dryrun | No | ||
| task_yaml | Yes | ||
| cluster_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |