skypilot_pool_logs
Retrieve log snapshots from a SkyPilot worker pool, targeting controller, load balancer, or replica by worker ID. Specify line count to inspect recent activity.
Instructions
Get a snapshot of logs from a worker pool. Target can be 'controller', 'load_balancer', or 'replica'. Optionally specify a worker_id. Returns the last N lines (default 100, set to 0 for all). Does not stream/follow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | ||
| target | No | controller | |
| pool_name | Yes | ||
| worker_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |