Vietnamese lunar calendar, auspicious days, Zi Wei, BaZi, compatibility, and knowledge MCP tools.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Free age-pair compatibility for marriage, business, or marrying in/out.
First person's birth year
Second person's birth year
vo-chong=couple, lam-an=business, lay-vo=marry a wife, lay-chong=marry a husband
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http amlichvietnam-tu-vi-mcp https://amlichvietnam.vn/mcp
Free age-pair compatibility for marriage, business, or marrying in/out.
| Argument | Type | Description |
|---|---|---|
| year_a* | integer | First person's birth year |
| year_b* | integer | Second person's birth year |
| purpose* | string | vo-chong=couple, lam-an=business, lay-vo=marry a wife, lay-chong=marry a husband |
{
"type": "object",
"required": [
"year_a",
"year_b",
"purpose"
],
"properties": {
"year_a": {
"type": "integer",
"description": "First person's birth year"
},
"year_b": {
"type": "integer",
"description": "Second person's birth year"
},
"purpose": {
"enum": [
"vo-chong",
"lam-an",
"lay-vo",
"lay-chong"
],
"type": "string",
"description": "vo-chong=couple, lam-an=business, lay-vo=marry a wife, lay-chong=marry a husband"
}
}
}Kim Lau / Hoang Oc / Tam Tai flags for a birth year vs construction year.
| Argument | Type | Description |
|---|---|---|
| birth_year* | integer | Owner birth year |
| build_year* | integer | Construction year |
{
"type": "object",
"required": [
"birth_year",
"build_year"
],
"properties": {
"birth_year": {
"type": "integer",
"description": "Owner birth year"
},
"build_year": {
"type": "integer",
"description": "Construction year"
}
}
}Score a single date for a purpose (bands tot/kha/xau ≈ good/ok/bad).
| Argument | Type | Description |
|---|---|---|
| date* | string | Date YYYY-MM-DD |
| category* | string | Purpose slug (same as find_good_days) |
| birth_year | integer | Optional birth year for personal filters |
{
"type": "object",
"required": [
"date",
"category"
],
"properties": {
"date": {
"type": "string",
"description": "Date YYYY-MM-DD"
},
"category": {
"type": "string",
"description": "Purpose slug (same as find_good_days)"
},
"birth_year": {
"type": "integer",
"description": "Optional birth year for personal filters"
}
}
}Requires an API key (free key, mã chat, api_plus, or api_pro). Returns plan, remaining_month, remaining_day, and reset_at. Pass access_code only when the client cannot send Authorization: Bearer.
| Argument | Type | Description |
|---|---|---|
| access_code | string | Mã chat ngắn hạn, chỉ khi client không gửi được header |
{
"type": "object",
"properties": {
"access_code": {
"type": "string",
"description": "Mã chat ngắn hạn, chỉ khi client không gửi được header"
}
}
}Convert between Gregorian (solar) and Vietnamese lunar dates using an astronomical algorithm at Vietnam time (GMT+7 / ICT).
| Argument | Type | Description |
|---|---|---|
| date* | string | Date as YYYY-MM-DD (solar or lunar depending on direction) |
| leap | boolean | Treat lunar month as leap when direction is lunar_to_solar |
| direction | string | Conversion direction (default solar_to_lunar) |
{
"type": "object",
"required": [
"date"
],
"properties": {
"date": {
"type": "string",
"description": "Date as YYYY-MM-DD (solar or lunar depending on direction)"
},
"leap": {
"type": "boolean",
"description": "Treat lunar month as leap when direction is lunar_to_solar"
},
"direction": {
"enum": [
"solar_to_lunar",
"lunar_to_solar"
],
"type": "string",
"description": "Conversion direction (default solar_to_lunar)"
}
}
}Explain a Zi Wei term (e.g. vô chính diệu, Tuần, Triệt, hóa kỵ) with the source definition passages.
| Argument | Type | Description |
|---|---|---|
| term* | string |
{
"type": "object",
"required": [
"term"
],
"properties": {
"term": {
"type": "string"
}
}
}Find auspicious (good) days for a purpose between from–to (max ~90 days). Category slugs are Vietnamese (e.g. cuoi-hoi = wedding).
| Argument | Type | Description |
|---|---|---|
| to* | string | Range end YYYY-MM-DD |
| from* | string | Range start YYYY-MM-DD |
| category* | string | Purpose slug: cuoi-hoi=wedding, khai-truong=grand opening, dong-tho=groundbreaking, xuat-hanh=travel, mua-nha=buy house, nhap-trach=move in, cau-an=prayer, mua-xe=buy vehicle, sinh-con=childbirth, an-tang=funeral |
| birth_year | integer | Optional birth year for personal filters |
{
"type": "object",
"required": [
"category",
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"description": "Range end YYYY-MM-DD"
},
"from": {
"type": "string",
"description": "Range start YYYY-MM-DD"
},
"category": {
"enum": [
"cuoi-hoi",
"khai-truong",
"dong-tho",
"xuat-hanh",
"mua-nha",
"nhap-trach",
"cau-an",
"mua-xe",
"sinh-con",
"an-tang"
],
"type": "string",
"description": "Purpose slug: cuoi-hoi=wedding, khai-truong=grand opening, dong-tho=groundbreaking, xuat-hanh=travel, mua-nha=buy house, nhap-trach=move in, cau-an=prayer, mua-xe=buy vehicle, sinh-con=childbirth, an-tang=funeral"
},
"birth_year": {
"type": "integer",
"description": "Optional birth year for personal filters"
}
}
}Four Pillars, day master, useful/favorable/unfavorable elements - free only. No luck-pillar timeline or monthly luck (liuYue).
| Argument | Type | Description |
|---|---|---|
| gender* | string | nam=male, nu=female |
| region | string | Vietnam birth region for historical timezone (north≈bac) |
| birth_date* | string | Birth date YYYY-MM-DD |
| birth_time | string | Optional birth time HH:mm (assumed noon if omitted) |
| late_rat_hour | boolean | Treat 23:00–00:00 as late Rat hour (late Ty) |
{
"type": "object",
"required": [
"birth_date",
"gender"
],
"properties": {
"gender": {
"enum": [
"nam",
"nu"
],
"type": "string",
"description": "nam=male, nu=female"
},
"region": {
"enum": [
"north",
"south",
"bac",
"nam",
"trung",
"hanoi",
"hcm",
"other"
],
"type": "string",
"description": "Vietnam birth region for historical timezone (north≈bac)"
},
"birth_date": {
"type": "string",
"description": "Birth date YYYY-MM-DD"
},
"birth_time": {
"type": "string",
"description": "Optional birth time HH:mm (assumed noon if omitted)"
},
"late_rat_hour": {
"type": "boolean",
"description": "Treat 23:00–00:00 as late Rat hour (late Ty)"
}
}
}Fetch one published article by category and slug.
| Argument | Type | Description |
|---|---|---|
| slug* | string | Article slug |
| category* | string | Category id |
{
"type": "object",
"required": [
"category",
"slug"
],
"properties": {
"slug": {
"type": "string",
"description": "Article slug"
},
"category": {
"type": "string",
"description": "Category id"
}
}
}Free romantic compatibility for two people. Optional birth_time (HH:mm) per person; without it, TuVi dims phu_the_a/phu_the_b/menh_cross are null and excluded from total (year/day/nap-am still score).
| Argument | Type | Description |
|---|---|---|
| a* | object | Person A |
| b* | object | Person B |
{
"type": "object",
"required": [
"a",
"b"
],
"properties": {
"a": {
"type": "object",
"required": [
"birth_date",
"gender"
],
"properties": {
"gender": {
"enum": [
"nam",
"nu"
],
"type": "string",
"description": "nam=male, nu=female"
},
"birth_date": {
"type": "string",
"description": "YYYY-MM-DD"
},
"birth_time": {
"type": "string",
"description": "Optional birth time HH:mm (24h). Omit → no noon assumption; TuVi Phu Thê / cross dims null."
}
},
"description": "Person A"
},
"b": {
"type": "object",
"required": [
"birth_date",
"gender"
],
"properties": {
"gender": {
"enum": [
"nam",
"nu"
],
"type": "string",
"description": "nam=male, nu=female"
},
"birth_date": {
"type": "string",
"description": "YYYY-MM-DD"
},
"birth_time": {
"type": "string",
"description": "Optional birth time HH:mm (24h). Omit → no noon assumption; TuVi Phu Thê / cross dims null."
}
},
"description": "Person B"
}
}
}List lunar day info for each Gregorian day in a given solar year/month.
| Argument | Type | Description |
|---|---|---|
| year* | integer | Gregorian year |
| month* | integer | Gregorian month (1–12) |
{
"type": "object",
"required": [
"year",
"month"
],
"properties": {
"year": {
"type": "integer",
"maximum": 2100,
"minimum": 1900,
"description": "Gregorian year"
},
"month": {
"type": "integer",
"maximum": 12,
"minimum": 1,
"description": "Gregorian month (1–12)"
}
}
}Return today's Vietnamese lunar date, stem-branch (can chi), solar term, and auspicious hours (ICT / Asia/Ho_Chi_Minh).
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Five-element destiny (mệnh), nạp âm, and basic harmony notes by birth year.
| Argument | Type | Description |
|---|---|---|
| birth_year* | integer | Birth year (Gregorian) |
{
"type": "object",
"required": [
"birth_year"
],
"properties": {
"birth_year": {
"type": "integer",
"description": "Birth year (Gregorian)"
}
}
}Numerology compatibility score for two people.
| Argument | Type | Description |
|---|---|---|
| a* | object | Person A |
| b* | object | Person B |
{
"type": "object",
"required": [
"a",
"b"
],
"properties": {
"a": {
"type": "object",
"required": [
"full_name",
"birth_date"
],
"properties": {
"full_name": {
"type": "string"
},
"birth_date": {
"type": "string",
"description": "YYYY-MM-DD"
}
},
"description": "Person A"
},
"b": {
"type": "object",
"required": [
"full_name",
"birth_date"
],
"properties": {
"full_name": {
"type": "string"
},
"birth_date": {
"type": "string",
"description": "YYYY-MM-DD"
}
},
"description": "Person B"
}
}
}Pythagorean numerology (life path, expression, soul urge, …). Names normalized to Latin.
| Argument | Type | Description |
|---|---|---|
| full_name* | string | Full name (Vietnamese accents OK) |
| birth_date* | string | Birth date YYYY-MM-DD |
{
"type": "object",
"required": [
"full_name",
"birth_date"
],
"properties": {
"full_name": {
"type": "string",
"description": "Full name (Vietnamese accents OK)"
},
"birth_date": {
"type": "string",
"description": "Birth date YYYY-MM-DD"
}
}
}Look up a chart pattern by id, or pass birth_date, birth_time, and gender (or a ChartFacts chart) to check which patterns the chart matches. Listing every pattern with no arguments is not allowed. Many rules are still editorial drafts (rule_status).
| Argument | Type | Description |
|---|---|---|
| id | string | Pattern id (look up one pattern) |
| leap | boolean | |
| chart | object | Knowledge-base ChartFacts (advanced) |
| gender | string | |
| calendar | string | |
| birth_date | string | Birth date YYYY-MM-DD |
| birth_time | string | Birth time HH:mm (24h) |
{
"type": "object",
"anyOf": [
{
"required": [
"id"
]
},
{
"required": [
"birth_date",
"birth_time",
"gender"
]
},
{
"required": [
"chart"
]
}
],
"properties": {
"id": {
"type": "string",
"description": "Pattern id (look up one pattern)"
},
"leap": {
"type": "boolean"
},
"chart": {
"type": "object",
"description": "Knowledge-base ChartFacts (advanced)"
},
"gender": {
"enum": [
"nam",
"nu"
],
"type": "string"
},
"calendar": {
"enum": [
"solar",
"lunar"
],
"type": "string"
},
"birth_date": {
"type": "string",
"description": "Birth date YYYY-MM-DD"
},
"birth_time": {
"type": "string",
"description": "Birth time HH:mm (24h)"
}
}
}Main-star combination at a branch (paired, single, or empty palace): brightness of each star, contested cells, and related passages.
| Argument | Type | Description |
|---|---|---|
| chi* | string | Branch id |
| stars | array | Main star ids at the palace; [] = no main star |
{
"type": "object",
"required": [
"chi"
],
"properties": {
"chi": {
"enum": [
"ty",
"suu",
"dan",
"mao",
"thin",
"ti",
"ngo",
"mui",
"than",
"dau",
"tuat",
"hoi"
],
"type": "string",
"description": "Branch id"
},
"stars": {
"type": "array",
"items": {
"type": "string"
},
"description": "Main star ids at the palace; [] = no main star"
}
}
}Look up one Zi Wei (Tử Vi) star in the AmLich knowledge base: attributes, canonical brightness for the 12 branches (source per cell), and source passages with citation codes. Pass palace to get the star-in-palace record. Requires birth_date, birth_time, and gender, or a ChartFacts chart — answers are scoped to that chart. Source file paths are not returned.
| Argument | Type | Description |
|---|---|---|
| leap | boolean | |
| star* | string | Star id (tu_vi) or Vietnamese name (Tử Vi) |
| chart | object | Knowledge-base ChartFacts (advanced) |
| gender | string | |
| palace | string | Optional palace id → star-in-palace record |
| calendar | string | |
| birth_date | string | Birth date YYYY-MM-DD |
| birth_time | string | Birth time HH:mm (24h) |
| brightness | string |
Free Zi Wei Dou Shu chart summary (palaces + main stars). Does not return Premium essays.
| Argument | Type | Description |
|---|---|---|
| leap | boolean | Leap lunar month when calendar=lunar |
| gender* | string | nam=male, nu=female |
| calendar | string | Calendar of birth_date (default solar) |
| birth_date* | string | Birth date YYYY-MM-DD |
| birth_time* | string | Birth time HH:mm (24h) |
| include_image | boolean | When true, add image_url and expires_at for a watermarked 1080 chart. Omitted when the image API is off. |
{
"type": "object",
"required": [
"birth_date",
"birth_time",
"gender"
],
"properties": {
"leap": {
"type": "boolean",
"description": "Leap lunar month when calendar=lunar"
},
"gender": {
"enum": [
"nam",
"nu"
],
"type": "string",
"description": "nam=male, nu=female"
},
"calendar": {
"enum": [
"solar",
"lunar"
],
"type": "string",
"description": "Calendar of birth_date (default solar)"
},
"birth_date": {
"type": "string",
"description": "Birth date YYYY-MM-DD"
},
"birth_time": {
"type": "string",
"description": "Birth time HH:mm (24h)"
},
"include_image": {
"type": "boolean",
"description": "When true, add image_url and expires_at for a watermarked 1080 chart. Omitted when the image API is off."
}
}
}Return a /nang-cap link and the monthly API plan list (free trial 0đ, 10 calls/day, all tools, no card; API key created free after login; API Plus 100.000đ/tháng with 1,500 units/month, API Pro 199.000đ/tháng with 6,000 units/month, nạp 1.000 đơn vị 79.000đ). The user opens the link and pays on the website. Paid monthly checkout is open. Year plans are not sold.
| Argument | Type | Description |
|---|---|---|
| plan | string | |
| tool | string | Analytics tool token |
{
"type": "object",
"properties": {
"plan": {
"enum": [
"api_plus",
"api_pro",
"api_topup_1000"
],
"type": "string"
},
"tool": {
"type": "string",
"description": "Analytics tool token"
}
}
}Find cuoi-hoi days. One birth year is scored with the good-days engine. Two years return two lists plus a couple note. No combined per-day score is invented.
| Argument | Type | Description |
|---|---|---|
| to* | string | End date YYYY-MM-DD (max 90 days) |
| from* | string | Start date YYYY-MM-DD |
| bride_birth_year | integer | |
| groom_birth_year | integer |
{
"type": "object",
"required": [
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"description": "End date YYYY-MM-DD (max 90 days)"
},
"from": {
"type": "string",
"description": "Start date YYYY-MM-DD"
},
"bride_birth_year": {
"type": "integer",
"maximum": 2100,
"minimum": 1900
},
"groom_birth_year": {
"type": "integer",
"maximum": 2100,
"minimum": 1900
}
}
}List published articles, optionally filtered by category.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Max results (1–50) |
| cursor | string | Pagination cursor |
| category | string | Optional category id |
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"description": "Max results (1–50)"
},
"cursor": {
"type": "string",
"description": "Pagination cursor"
},
"category": {
"type": "string",
"description": "Optional category id"
}
}
}List published knowledge category ids and Vietnamese titles (read-only).
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}[api_plus/api_pro] For AI readings: from a chart (birth_date, birth_time, and gender, or ChartFacts) return the most relevant knowledge-base passages with fact_id and citation codes, within a token budget. Free callers receive upgrade_required (isError false).
| Argument | Type | Description |
|---|---|---|
| leap | boolean | |
| chart | object | Knowledge-base ChartFacts (advanced) |
| gender | string | |
| calendar | string | |
| birth_date | string | Birth date YYYY-MM-DD |
| birth_time | string | Birth time HH:mm (24h) |
| max_tokens | integer | |
| access_code | string | Mã chat ngắn hạn, chỉ khi client không gửi được header Authorization |
{
"type": "object",
"anyOf": [
{
"required": [
"birth_date",
"birth_time",
"gender"
]
},
{
"required": [
"chart"
]
}
],
"properties": {
"leap": {
"type": "boolean"
},
"chart": {
"type": "object",
"description": "Knowledge-base ChartFacts (advanced)"
},
"gender": {
"enum": [
"nam",
"nu"
],
"type": "string"
},
"calendar": {
"enum": [
"solar",
"lunar"
],
"type": "string"
},
"birth_date": {
"type": "string",
"description": "Birth date YYYY-MM-DD"
},
"birth_time": {
"type": "string",
"description": "Birth time HH:mm (24h)"
},
"max_tokens": {
"type": "integer",
"maximum": 8000,
"minimum": 500
},
"access_code": {
"type": "string",
"description": "Mã chat ngắn hạn, chỉ khi client không gửi được header Authorization"
}
}
}[api_plus/api_pro] Save a chart for the key owner. consent must be true. The save limit comes from the active billing config. Not read-only. Free callers receive upgrade_required. A mã chat cannot save (it only has read:premium).
| Argument | Type | Description |
|---|---|---|
| leap | boolean | |
| label* | string | |
| gender* | string | |
| consent* | boolean | |
| calendar | string | |
| birth_date* | string | Birth date YYYY-MM-DD |
| birth_time* | string | Birth time HH:mm (24h) |
| access_code | string | Mã chat ngắn hạn, chỉ khi client không gửi được header |
{
"type": "object",
"required": [
"birth_date",
"birth_time",
"gender",
"label",
"consent"
],
"properties": {
"leap": {
"type": "boolean"
},
"label": {
"type": "string",
"maxLength": 60
},
"gender": {
"enum": [
"nam",
"nu"
],
"type": "string"
},
"consent": {
"type": "boolean",
"const": true
},
"calendar": {
"enum": [
"solar",
"lunar"
],
"type": "string"
},
"birth_date": {
"type": "string",
"description": "Birth date YYYY-MM-DD"
},
"birth_time": {
"type": "string",
"description": "Birth time HH:mm (24h)"
},
"access_code": {
"type": "string",
"description": "Mã chat ngắn hạn, chỉ khi client không gửi được header"
}
}
}Search published cultural / astrology knowledge articles.
| Argument | Type | Description |
|---|---|---|
| q* | string | Search query |
| limit | integer | Max results (1–20) |
| cursor | string | Pagination cursor |
| category | string | Optional category id |
{
"type": "object",
"required": [
"q"
],
"properties": {
"q": {
"type": "string",
"description": "Search query"
},
"limit": {
"type": "integer",
"description": "Max results (1–20)"
},
"cursor": {
"type": "string",
"description": "Pagination cursor"
},
"category": {
"type": "string",
"description": "Optional category id"
}
}
}Full-text search (BM25, diacritics optional) over the Zi Wei knowledge base with filters (star, palace, branch, brightness, transformation, period, topic). Requires birth_date, birth_time, and gender, or a ChartFacts chart. Returns source passages with citation codes; restricted classical texts are cut to 200 characters. Free calls return at most 3 hits. Source file paths are not returned.
| Argument | Type | Description |
|---|---|---|
| q* | string | Search text (Vietnamese) |
| chi | string | |
| han | string | |
| hoa | string | |
| leap | boolean | |
| star | string | |
| chart | object | Knowledge-base ChartFacts (advanced) |
| limit | integer | Requested hit cap; free responses are capped at 3 |
| topic | string | |
| gender |
[api_plus/api_pro] Full Zi Wei reading for a key with read:premium. A call with no key, or a free key, returns status upgrade_required (isError false) with preview and upgrade_url. If the user says they already upgraded but this client cannot send Authorization: Bearer, ask for a short mã chat and pass it as access_code (10 characters, 24 hours, read:premium, not the original key). Do not collect payment details. Paid monthly checkout is open on /nang-cap.
| Argument | Type | Description |
|---|---|---|
| leap | boolean | |
| year | integer | |
| gender* | string | |
| calendar | string | |
| sections | array | |
| birth_date* | string | Birth date YYYY-MM-DD |
| birth_time* | string | Birth time HH:mm (24h) |
| access_code | string | Mã chat ngắn hạn, chỉ khi client không gửi được header Authorization |
Render a 1080px Tu Vi dia ban PNG with a watermark. size 2160 is accepted and downgraded (gated image_hd). HD without watermark is sắp ra mắt.
| Argument | Type | Description |
|---|---|---|
| leap | boolean | |
| size | string | 1080 default. 2160 is downgraded on the free tier. |
| theme | string | |
| gender* | string | |
| calendar | string | |
| birth_date* | string | Birth date YYYY-MM-DD |
| birth_time* | string | Birth time HH:mm (24h) |
{
"type": "object",
"required": [
"birth_date",
"birth_time",
"gender"
],
"properties": {
"leap": {
"type": "boolean"
},
"size": {
"enum": [
"1080",
"2160"
],
"type": "string",
"description": "1080 default. 2160 is downgraded on the free tier."
},
"theme": {
"enum": [
"light",
"dark"
],
"type": "string"
},
"gender": {
"enum": [
"nam",
"nu"
],
"type": "string"
},
"calendar": {
"enum": [
"solar",
"lunar"
],
"type": "string"
},
"birth_date": {
"type": "string",
"description": "Birth date YYYY-MM-DD"
},
"birth_time": {
"type": "string",
"description": "Birth time HH:mm (24h)"
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 29, 2026.
{
"type": "object",
"anyOf": [
{
"required": [
"birth_date",
"birth_time",
"gender"
]
},
{
"required": [
"chart"
]
}
],
"required": [
"star"
],
"properties": {
"leap": {
"type": "boolean"
},
"star": {
"type": "string",
"description": "Star id (tu_vi) or Vietnamese name (Tử Vi)"
},
"chart": {
"type": "object",
"description": "Knowledge-base ChartFacts (advanced)"
},
"gender": {
"enum": [
"nam",
"nu"
],
"type": "string"
},
"palace": {
"enum": [
"menh",
"phu_mau",
"phuc_duc",
"dien_trach",
"quan_loc",
"no_boc",
"thien_di",
"tat_ach",
"tai_loc",
"tu_tuc",
"phu_the",
"huynh_de"
],
"type": "string",
"description": "Optional palace id → star-in-palace record"
},
"calendar": {
"enum": [
"solar",
"lunar"
],
"type": "string"
},
"birth_date": {
"type": "string",
"description": "Birth date YYYY-MM-DD"
},
"birth_time": {
"type": "string",
"description": "Birth time HH:mm (24h)"
},
"brightness": {
"enum": [
"mieu",
"vuong",
"dac",
"binh",
"ham"
],
"type": "string"
}
}
}| string |
| palace | string |
| calendar | string |
| birth_date | string | Birth date YYYY-MM-DD |
| birth_time | string | Birth time HH:mm (24h) |
| brightness | string |
{
"type": "object",
"anyOf": [
{
"required": [
"birth_date",
"birth_time",
"gender"
]
},
{
"required": [
"chart"
]
}
],
"required": [
"q"
],
"properties": {
"q": {
"type": "string",
"description": "Search text (Vietnamese)"
},
"chi": {
"enum": [
"ty",
"suu",
"dan",
"mao",
"thin",
"ti",
"ngo",
"mui",
"than",
"dau",
"tuat",
"hoi"
],
"type": "string"
},
"han": {
"type": "string"
},
"hoa": {
"type": "string"
},
"leap": {
"type": "boolean"
},
"star": {
"type": "string"
},
"chart": {
"type": "object",
"description": "Knowledge-base ChartFacts (advanced)"
},
"limit": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "Requested hit cap; free responses are capped at 3"
},
"topic": {
"type": "string"
},
"gender": {
"enum": [
"nam",
"nu"
],
"type": "string"
},
"palace": {
"enum": [
"menh",
"phu_mau",
"phuc_duc",
"dien_trach",
"quan_loc",
"no_boc",
"thien_di",
"tat_ach",
"tai_loc",
"tu_tuc",
"phu_the",
"huynh_de"
],
"type": "string"
},
"calendar": {
"enum": [
"solar",
"lunar"
],
"type": "string"
},
"birth_date": {
"type": "string",
"description": "Birth date YYYY-MM-DD"
},
"birth_time": {
"type": "string",
"description": "Birth time HH:mm (24h)"
},
"brightness": {
"enum": [
"mieu",
"vuong",
"dac",
"binh",
"ham"
],
"type": "string"
}
}
}{
"type": "object",
"required": [
"birth_date",
"birth_time",
"gender"
],
"properties": {
"leap": {
"type": "boolean"
},
"year": {
"type": "integer",
"maximum": 2100,
"minimum": 1900
},
"gender": {
"enum": [
"nam",
"nu"
],
"type": "string"
},
"calendar": {
"enum": [
"solar",
"lunar"
],
"type": "string"
},
"sections": {
"type": "array",
"items": {
"enum": [
"menh",
"than",
"phu_the",
"quan_loc",
"tai_bach",
"tat_ach",
"dai_van",
"luu_nien"
],
"type": "string"
}
},
"birth_date": {
"type": "string",
"description": "Birth date YYYY-MM-DD"
},
"birth_time": {
"type": "string",
"description": "Birth time HH:mm (24h)"
},
"access_code": {
"type": "string",
"description": "Mã chat ngắn hạn, chỉ khi client không gửi được header Authorization"
}
}
}