# Hướng dẫn AI lập lá số tử vi / AI guide to the Zi Wei chart tool

> AmLichVietnam.vn — free Vietnamese Zi Wei (Tử Vi) chart tool. This page is for AI assistants (ChatGPT, Claude, Gemini, Grok, and others).

## Tiếng Việt

### Công cụ làm gì

Trang https://amlichvietnam.vn/tu-vi lập lá số Tử Vi Đẩu Số (Nam phái) từ ngày sinh, giờ sinh và giới tính. Kết quả gồm 12 cung, chính tinh và phụ tinh. Ảnh lá số không in tên người dùng; trên ảnh có amlichvietnam.vn.

Nội dung mang tính tham khảo văn hóa, không thay tư vấn chuyên môn.

### Nếu trợ lý gọi được công cụ (MCP)

Gọi MCP tại `https://amlichvietnam.vn/mcp` (Streamable HTTP).

- `get_tuvi_summary` — tóm tắt lá số (12 cung, chính tinh). Tham số bắt buộc: `birth_date` (YYYY-MM-DD), `birth_time` (HH:mm, 24 giờ), `gender` (`nam` | `nu`). Tùy chọn: `calendar` (`solar` mặc định | `lunar`), `leap` (boolean, khi calendar=lunar), `include_image` (boolean).
- `tuvi_image` — ảnh PNG lá số. Cùng tham số bắt buộc như trên. Tùy chọn: `calendar`, `leap`, `size` (`1080` mặc định | `2160`, bản 2160 bị hạ về 1080 ở gói free), `theme` (`light` | `dark`). Ảnh không có tên người dùng.

Không có công cụ tên `tuvi_chart`. Luận chi tiết hơn là `tuvi_detail` (cần gói trả phí; không key thì trả `upgrade_required`; cùng tham số bắt buộc, thêm `calendar`, `leap`, `sections`, `year`, `access_code`). Các tool kho kiến thức `get_tuvi_kb_star`, `search_tuvi_kb`, `get_tuvi_kb_cach_cuc`, `retrieve_tuvi_kb_for_chart` cần `birth_date` + `birth_time` + `gender` hoặc `chart` (anyOf). `get_tuvi_kb_combo` cần `chi`; `explain_tuvi_term` cần `term`. Bảng giá và hạn mức: Dùng thử 0đ, 10 lượt/ngày, mọi tool, không cần thẻ; không key tính theo IP (IPv6 gom /64), key miễn phí sau đăng nhập tính theo tài khoản; reset 0h giờ Việt Nam (Asia/Ho_Chi_Minh). API Plus 100.000đ/tháng (1.500 đơn vị/tháng), API Pro 199.000đ/tháng (6.000 đơn vị/tháng), nạp 1.000 đơn vị 79.000đ. Tử vi tóm tắt/chi tiết 3 đơn vị, ảnh lá số 5 đơn vị. Chi tiết: https://amlichvietnam.vn/developers — không đoán giá khác.

### Nếu không gọi được công cụ

Gửi người dùng tới link điền sẵn form (các URL này `noindex`, canonical về /tu-vi):

`https://amlichvietnam.vn/tu-vi?ngay=1990-05-15&gio=thin&gt=nam`

Tham số:

- `ngay` — YYYY-MM-DD
- `gio` — địa chi (`ty` hoặc `ti` = Tý; `suu`, `dan`, `mao`, `thin`; `tyj` hoặc `tỵ` = Tỵ; `ngo`, `mui`, `than`, `dau`, `tuat`, `hoi`) hoặc giờ `HH:mm` (ví dụ `07:30`)
- `gt` — `nam` | `nu`
- `lich` — `duong` (mặc định) | `am`
- `nhuan` — `1` nếu ngày âm thuộc tháng nhuận

Tham số không hợp lệ thì trang chỉ hiện form. Lá số chỉ được tính khi người dùng bấm lập lá số.

### Tài liệu thêm

- https://amlichvietnam.vn/developers · https://amlichvietnam.vn/developers.md
- https://amlichvietnam.vn/llms.txt · https://amlichvietnam.vn/openapi.json
- https://amlichvietnam.vn/auth.md

## English

### What the tool does

https://amlichvietnam.vn/tu-vi builds a free Vietnamese Zi Wei Dou Shu (Nam school) chart from birth date, birth time, and gender. The result shows 12 palaces and stars. The chart image does not print the user's name; it is marked amlichvietnam.vn.

Cultural reference only — not professional advice.

### If your client can call tools (MCP)

Use `https://amlichvietnam.vn/mcp` (Streamable HTTP).

- `get_tuvi_summary` — free chart summary (palaces + main stars). Required: `birth_date` (YYYY-MM-DD), `birth_time` (HH:mm, 24h), `gender` (`nam` | `nu`). Optional: `calendar` (`solar` default | `lunar`), `leap` (boolean, when lunar), `include_image`.
- `tuvi_image` — PNG chart. Same required fields. Optional: `calendar`, `leap`, `size` (`1080` default | `2160`, downgraded on the free tier), `theme` (`light` | `dark`). The image has no user name.

There is no tool named `tuvi_chart`. For a paid detailed reading see `tuvi_detail` (returns `upgrade_required` without a paid key; same required fields, plus `calendar`, `leap`, `sections`, `year`, `access_code`). Knowledge-base tools `get_tuvi_kb_star`, `search_tuvi_kb`, `get_tuvi_kb_cach_cuc`, and `retrieve_tuvi_kb_for_chart` require `birth_date` + `birth_time` + `gender` or `chart` (anyOf). `get_tuvi_kb_combo` requires `chi`; `explain_tuvi_term` requires `term`. Plans and limits: Free trial 0đ, 10 calls/day, all tools, no card; no key is counted per IP (IPv6 grouped /64), a free key after login is counted per account; resets at 00:00 Asia/Ho_Chi_Minh. API Plus 100.000đ/month (1,500 units/month), API Pro 199.000đ/month (6,000 units/month), top-up 1,000 units for 79.000đ. Tử vi summary/detail costs 3 units, chart image 5 units. Details: https://amlichvietnam.vn/developers — do not invent other prices.

### If you cannot call tools

Send the user to a prefilled form link (these URLs are `noindex`, canonical `/tu-vi`):

`https://amlichvietnam.vn/tu-vi?ngay=1990-05-15&gio=thin&gt=nam`

Parameters: `ngay`=YYYY-MM-DD; `gio`=branch slug (`thin`, …) or `HH:mm`; `gt`=`nam`|`nu`; optional `lich`=`duong`|`am`; `nhuan`=`1` for a leap lunar month. Invalid input shows the empty form. The chart is computed only when the user submits.

### Further docs

- https://amlichvietnam.vn/developers · https://amlichvietnam.vn/developers.md
- https://amlichvietnam.vn/llms.txt · https://amlichvietnam.vn/openapi.json
- https://amlichvietnam.vn/auth.md
