fetch_file
Fetch file content from the NOAA Space Weather Prediction Center data server. Returns parsed JSON for .json files, plain text for other formats.
Instructions
Fetch the content of a file from the SWPC data server.
JSON files are returned as parsed objects; all other files (plain text, etc.) are returned as a string.
Args: path: File path relative to the server root, e.g. "json/solar_regions.json" or "text/3-day-forecast.txt".
Returns: Parsed JSON (dict or list) for .json files, plain text string otherwise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |