get_source_spectra
Retrieve spectral data for an astronomical source, with summary or full CSV/JSON output options.
Instructions
Retrieve spectra for a source.
By default returns a summary to avoid token overflow. Use verbose=True or format="csv" to get full spectral data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format — "summary" (default), "csv", or "json" | summary |
| verbose | No | If True with format="summary", includes full CSV data (use with caution for sources with many spectra) | |
| source_name | Yes | Source identifier - can be SkyPortal obj_id, ZTF name, or TNS name (e.g., "ZTF21aaaaaaa") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |