generate_alert_download_code
Generate code to download ZTF alert packets for multiple sources, providing full alert history including cutouts and previous detections. Get alert-level data beyond forced photometry.
Instructions
Generate code to download ZTF alert packets for multiple sources.
This tool generates code that downloads raw ZTF alert packets, which contain the full alert history including candidate info, cutouts, and previous detections.
Use Case: When you need complete alert history or want to access alert-level data that isn't available in forced photometry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | Yes | Comma-separated ZTF source names or JSON array Example: "ZTF24aaaaaaa,ZTF24aaaaaab" | |
| with_cutouts | No | Download cutout images (science, ref, diff) (default: True) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |