Generate BaZi Report (PDF or HTML)
astroway_reports_baziThe /bazi/chart reading as an A4 PDF (default), HTML or Markdown: the four pillars with stems, branches, animals, ten gods, hidden stems, na yin and the twelve stages; the day master with its classical image; the five elements counted three ways; the strength verdict with favourable elements and its stated thresholds; the symbolic stars; the branch interactions; and the ten-year luck pillars when gender is given. Takes the /bazi/chart birth input (date, time, timezoneOffset or timezone, longitude with trueSolarTime, dayBoundary), plus name and city for the cover. No AI.
[Group: Reports] [Endpoint: POST /v1/reports/bazi] [Required: date] [Cost: 5,000 credits (Tier 7)] ⚠️ Premium — ~50% of free monthly budget. Confirm with user before invoking.
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>"
},
"name": "astroway_reports_bazi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Printed on the cover; the chart is read from date, time, zone and longitude. | |
| date | Yes | ||
| name | No | Printed on the cover. | |
| time | No | ||
| fields | No | Comma-separated paths inside `data` to keep, e.g. "planets.name,houses.cusp". | |
| format | No | `pdf` (default) stores a PDF and answers with its `url`. `html` returns one self-contained `text/html` document, `markdown` returns `text/markdown` with the same sections and tables; neither is stored. Same price in every format. | |
| gender | No | ||
| language | No | ||
| timezone | No | IANA zone (Europe/Kyiv) or "auto" from latitude/longitude; replaces timezoneOffset. Before 1970 prefer timezoneOffset. | |
| longitude | No | ||
| precision | No | Round numbers to this many decimals. | |
| whitelabel | No | ||
| dayBoundary | No | ||
| stageSchool | No | ||
| trueSolarTime | No | ||
| timezoneOffset | No | Ignored when timezone is sent. |