Solar flares and X-rays
get_solar_flaresAnswers "were there solar flares today?", "was there an X-class flare?", "is the Sun active?". The GOES X-ray level now (and whether it is current), the strongest X-ray flux of the last 24, 72 or 168 hours with its NOAA radio blackout level, and the solar flares NOAA recorded in that time: class, begin, peak and end, and whether one is in progress. Times in the asker's time zone. Data from NOAA SWPC.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_solar_flares"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | How far back to look: 24, 72 or 168 hours. Defaults to 24. | |
| timeZone | No | IANA time zone of the person asking, such as Europe/Moscow or America/New_York. Local times and days use it. Defaults to UTC. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peak | Yes | The highest X-ray flux of the period; at is the start of its 5-minute bucket for 24 hours, its hour for longer periods. | |
| hours | Yes | ||
| stale | Yes | ||
| flares | Yes | Flares that began in the period, newest first. | |
| sources | Yes | Where the data comes from and on what terms. | |
| summary | Yes | ||
| xrayNow | Yes | ||
| timeZone | Yes | ||
| generatedAt | Yes | ||
| flaresTruncated | Yes | True when only the 100 most recent flares are listed and older ones in the period are left out. |