calculate_four_pillars
Calculate a BaZi chart from birth date, local time, IANA timezone, and longitude using true solar time and solar-term boundaries; returns reproducible pillars and provenance.
Instructions
Calculate the BaZi (Four Pillars) chart from a local birth date, time, IANA timezone, and decimal longitude. The calculation uses local apparent true solar time, astronomical solar-term boundaries, and the 23:00 Zi-hour next-day boundary. Returns only reproducible chart facts and provenance, not interpretation or prediction.
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": {
"date": "<date>",
"time": "<time>",
"timezone": "<timezone>",
"longitude": "<longitude>"
},
"name": "calculate_four_pillars"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Local civil date in YYYY-MM-DD format. | |
| time | Yes | Local civil time in HH:mm format. | |
| latitude | No | Optional birth latitude in decimal degrees. | |
| timezone | Yes | IANA time zone, for example Asia/Shanghai or America/Los_Angeles. | |
| longitude | Yes | Birth longitude in decimal degrees, east positive. |