astronomy_moon
Get moonrise, moonset, phase, and illuminated percentage for a Swiss location and date, answering when the Moon rises or how full it is.
Instructions
Get when the Moon rises and sets at a place on a day, its phase and how much of it is lit.
Use this for "when does the moon rise tonight" or "how full is the moon tonight". The
times are for a level horizon, so in a valley the Moon appears later behind the
mountains. The day has a moon_phase_time when New Moon, First Quarter, Full Moon or Last
Quarter happens on it. The lit percent is the one at 12:00.
Args:
location (str): Name of a place in Switzerland, e.g. "Zürich".
date (str): The day, e.g. "2026-09-23".
Returns:
dict: the place, the date, moonrise and moonset (None when the Moon does not rise or
set that day), phase with emoji, phase time when a main phase falls on the day, and lit
percent.
Examples:
astronomy_moon("Zürich", "2026-09-23")
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"location": "<location>",
"date": "<date>"
},
"name": "astronomy_moon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| near | No | Only when several places share the name: a village next to the place the user means. For "the Blausee near Bettmeralp" use location "Blausee" and near "Bettmeralp". Leave it out otherwise. | |
| location | Yes |