skypilot_cluster_launch
Launch a SkyPilot cluster or submit a task to an existing cluster from a task YAML, with options for cost/time optimization, fast provisioning, and autostop. Returns a request_id for polling.
Instructions
Launch a new cluster or submit a task to an existing cluster. Accepts a SkyPilot task YAML string defining resources, setup, and run commands. Set optimize_target to 'COST' (default) or 'TIME'. Set fast=True to skip cloud availability checks for faster provisioning. Set wait_for to control autostop idle detection: 'jobs_and_ssh' (default), 'jobs', or 'none'. Returns a request_id — use skypilot_get_request to poll for the result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| down | No | ||
| fast | No | ||
| dryrun | No | ||
| no_setup | No | ||
| wait_for | No | ||
| task_yaml | Yes | ||
| cluster_name | No | ||
| retry_until_up | No | ||
| clone_disk_from | No | ||
| optimize_target | No | COST | |
| idle_minutes_to_autostop | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |