Generate JSON Report
generate_report_jsonAssemble a structured astrology report draft from birth chart data and optional dashas, panchang, or transits, then write it to disk as JSON.
Instructions
Assemble a structured astrology report draft (birth chart summary plus optional dasha/panchang/gochar sections) and write it to disk as JSON. Returns the report record: report_id, path of the written file, client_id, and created_at.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dasha | No | Optional dasha JSON from calculate_dasha; adds the dasha timeline section. | |
| gochar | No | Optional gochar JSON from calculate_gochar; adds the transit section. | |
| db_path | No | SQLite store to record the report in; when omitted the report is only written to disk. | |
| kundali | Yes | Kundali JSON exactly as returned by the calculate_kundali tool. | |
| language | No | Report language: 'hin' or 'hi' for Hindi (Devanagari), 'en' for English. | hin |
| panchang | No | Optional panchang JSON from calculate_panchang; adds the panchang section. | |
| client_id | No | Client identifier the report is filed under. | anonymous |
| output_dir | No | Directory the report file is written into (default: data/reports). | |
| client_name | No | Client/native name shown on the PDF cover page |