← Kết nối trợ lý AI

Công cụ CTAS Life

27 công cụ của máy chủ https://api.ctas.vn/mcp/life. Danh sách sinh từ chính máy chủ. Trợ lý chỉ thấy công cụ hợp với quyền truy cập bạn đã cho phép . Mô tả viết bằng tiếng Anh vì đó là chữ mô hình AI đọc; tên tiếng Việt là chữ bạn thấy khi trợ lý xin phép.

Đọc chỉ xem, không đổi dữ liệuGhi cần quyền thêm và sửaNhạy cảm xem trước rồi xác nhận

Chung · 1

Xem ngữ cảnh của tôi

Returns the signed-in CTAS user, the current date and time in Vietnam (Asia/Ho_Chi_Minh), the scopes of this connection and, for CTAS Work, every organization in the connection with the user's role, permissions and whether the connection can be used there. Call it once at the start of a conversation and reuse the answer.

Chia Chia · 16

Ghi khoản chi

Records an entry in a Chia Chia group: an expense (default), income, transfer between two members, or a fund deposit or withdrawal. Send the total, who paid and who takes part with split_mode; the server computes every share and refuses totals that do not add up, saying by how much. Member ids come from get_group. Returns the entry and the new balance of the user.

Tham số (16)
TênKiểuMô tả
group_idbắt buộcstringChia Chia group id, from list_groups.
amountbắt buộcintegerTotal, an integer in the smallest unit of currency (đồng for VND, cents for USD).
payersbắt buộcobject[]Who paid. One payer with no amount pays it all.
kindstringexpense (default), income, transfer (person to person), deposit (into the fund), withdraw (from the fund). Giá trị: expenseincometransferdepositwithdraw
titlestring
currencystringDefaults to the group currency; another currency needs rate. Giá trị: VNDUSDEURJPYKRWTHBSGDCNY
ratestringGroup currency per 1 unit of currency, e.g. "25380.5".
occurred_atstringISO 8601 date-time or YYYY-MM-DD; defaults to now in Vietnam.
categorystring Giá trị: fooddrinktransportlodgingshoppinggroceriesentertainmentbillsrenthealthgiftfeesother
notestring
payer_modestringHow several payers share the total; default amounts. Giá trị: equalamountssharespercent
split_modestringHow the total is shared; default equal among splits. Giá trị: equalamountssharespercentitems
splitsobject[]Who takes part (for transfer/deposit: the one receiving). The server computes each share.
itemsobject[]For split_mode items: each line and who shares it.
extrasobject[]For split_mode items: tax, tip or discount spread over the items.
idempotency_keystringKhoá chống lặp tuỳ chọn: gọi lại cùng khoá không tạo bản ghi thứ hai.

Thêm người vào nhóm

Adds a person (just a name, no CTAS account needed) to a Chia Chia group so expenses can be split with them. If someone with exactly that name is already in the group, returns them with created=false instead of adding a duplicate.

Tham số (3)
TênKiểuMô tả
group_idbắt buộcstringChia Chia group id, from list_groups.
namebắt buộcstring
idempotency_keystringKhoá chống lặp tuỳ chọn: gọi lại cùng khoá không tạo bản ghi thứ hai.

Tạo nhóm Chia Chia

Creates a Chia Chia group with the user as owner and, optionally, the names of the other people in it (they need no CTAS account) and a shared fund. Fails with PLAN_EXPIRED when the account has no free group slot. Returns the group with member ids.

Tham số (8)
TênKiểuMô tả
namebắt buộcstringGroup name, e.g. "Đà Lạt 3N2Đ".
typestringDefault other. Giá trị: triphomecoupleeventworkother
currencystringDefault VND. Cannot change once the group has entries. Giá trị: VNDUSDEURJPYKRWTHBSGDCNY
emojistring
fundbooleanAdd a shared fund (quỹ chung) people pay into.
my_namestringThe user's name in this group; defaults to their account name.
member_namesstring[]Names of the other people.
idempotency_keystringKhoá chống lặp tuỳ chọn: gọi lại cùng khoá không tạo bản ghi thứ hai.
delete_entryGhiXoá / huỷ

Xoá khoản chi

Deletes an entry from a Chia Chia group; balances no longer count it and the group activity records who deleted it. Returns the new balance of the user in the group.

Tham số (3)
TênKiểuMô tả
group_idbắt buộcstringChia Chia group id, from list_groups.
entry_idbắt buộcstring
idempotency_keystringKhoá chống lặp tuỳ chọn: gọi lại cùng khoá không tạo bản ghi thứ hai.

Xem ai nợ ai

Returns the balance of every member of a Chia Chia group (positive: is owed; negative: owes) and the fewest transfers that settle everyone up, as the app shows them. settle_fund=true also pays out the fund cash to the people it belongs to.

Tham số (2)
TênKiểuMô tả
group_idbắt buộcstringChia Chia group id, from list_groups.
settle_fundbooleanInclude paying out the fund cash in the transfers.
get_entryĐọc

Xem một khoản chi

Returns one entry of a Chia Chia group in full: amount, payers and how it is split (with names and weights), items, extras, note, whether it has a receipt photo, whether it was deleted, and its change history.

Tham số (2)
TênKiểuMô tả
group_idbắt buộcstringChia Chia group id, from list_groups.
entry_idbắt buộcstring
get_groupĐọc

Xem một nhóm Chia Chia

Returns one Chia Chia group: its members (people and the shared fund, with ids to use in other tools), each member balance, the fewest transfers that settle everyone up, fund cash, currency and the current invite code. Bank accounts show only their last four digits.

Tham số (1)
TênKiểuMô tả
group_idbắt buộcstringChia Chia group id, from list_groups.

Xem báo cáo nhóm

Returns the spending report of a Chia Chia group: total spent, by category, by day, top payer and per member paid, consumed and balance. With member_id, returns that member instead: whom they paid for, who paid for them, transfers, fund deposits, by category and their latest entries.

Tham số (2)
TênKiểuMô tả
group_idbắt buộcstringChia Chia group id, from list_groups.
member_idstringReport on this member only.
leave_groupGhiXoá / huỷ

Rời nhóm Chia Chia

Makes the user leave a Chia Chia group. Their name and entries stay in the group for the others; an owner who leaves hands ownership to the next admin. Coming back needs an invite code from someone still in the group.

Tham số (2)
TênKiểuMô tả
group_idbắt buộcstringChia Chia group id, from list_groups.
idempotency_keystringKhoá chống lặp tuỳ chọn: gọi lại cùng khoá không tạo bản ghi thứ hai.

Xem hoạt động Chia Chia

Lists recent Chia Chia activity, newest first, as one-line summaries (who added, changed or deleted which entry, who joined or left): across all of the user's groups, or in one group with group_id.

Tham số (3)
TênKiểuMô tả
group_idstringOne group only; leave out for all groups.
limitintegerRows per page, default 20, at most 50.
cursorstringnext_cursor from the previous page; leave out for the first page.

Xem khoản chi của nhóm

Lists the entries of a Chia Chia group (expenses, incomes, transfers, fund deposits and withdrawals), newest first, with payer and split names. Filter by kind, member (as payer or participant), category, words in the title or a date range. response_format=detailed adds notes, items, weights and payer mode.

Tham số (10)
TênKiểuMô tả
group_idbắt buộcstringChia Chia group id, from list_groups.
kindstring Giá trị: expenseincometransferdepositwithdraw
member_idstringOnly entries this member paid or shares in.
categorystring Giá trị: fooddrinktransportlodgingshoppinggroceriesentertainmentbillsrenthealthgiftfeesother
querystringWords in the title.
date_fromstringYYYY-MM-DD, Vietnam time, inclusive.
date_tostringYYYY-MM-DD, Vietnam time, inclusive.
response_formatstringDefault concise. Giá trị: concisedetailed
limitintegerRows per page, default 20, at most 50.
cursorstringnext_cursor from the previous page; leave out for the first page.

Xem các nhóm Chia Chia

Lists the Chia Chia (shared expenses) groups the user belongs to, most recently active first, with their own member id and balance in each (positive: the group owes them; negative: they owe), total spent and fund cash. Amounts are integers in the smallest unit of the group currency. Archived groups only with archived=true.

Tham số (3)
TênKiểuMô tả
archivedbooleantrue lists archived groups instead of active ones.
limitintegerRows per page, default 20, at most 50.
cursorstringnext_cursor from the previous page; leave out for the first page.
remove_group_memberGhiXoá / huỷ

Bỏ người khỏi nhóm

Removes a member from a Chia Chia group. A member with no entries is deleted; one who appears in entries is only hidden (left=true) and their balance stays. Removing a name someone has claimed needs a group manager; the owner cannot be removed.

Tham số (3)
TênKiểuMô tả
group_idbắt buộcstringChia Chia group id, from list_groups.
member_idbắt buộcstring
idempotency_keystringKhoá chống lặp tuỳ chọn: gọi lại cùng khoá không tạo bản ghi thứ hai.

Sửa khoản chi

Changes an entry of a Chia Chia group. Send only the fields to change; the rest stay. If only the amount changes, a single payer pays the new total and weighted splits keep their weights; fixed per-person amounts must be sent again. The server recomputes every share and returns the entry and the new balance of the user.

Tham số (17)
TênKiểuMô tả
group_idbắt buộcstringChia Chia group id, from list_groups.
entry_idbắt buộcstring
kindstringexpense (default), income, transfer (person to person), deposit (into the fund), withdraw (from the fund). Giá trị: expenseincometransferdepositwithdraw
titlestring
amountintegerTotal, an integer in the smallest unit of currency (đồng for VND, cents for USD).
currencystringDefaults to the group currency; another currency needs rate. Giá trị: VNDUSDEURJPYKRWTHBSGDCNY
ratestringGroup currency per 1 unit of currency, e.g. "25380.5".
occurred_atstringISO 8601 date-time or YYYY-MM-DD; defaults to now in Vietnam.
categorystring Giá trị: fooddrinktransportlodgingshoppinggroceriesentertainmentbillsrenthealthgiftfeesother
notestring
payersobject[]Who paid. One payer with no amount pays it all.
payer_modestringHow several payers share the total; default amounts. Giá trị: equalamountssharespercent
split_modestringHow the total is shared; default equal among splits. Giá trị: equalamountssharespercentitems
splitsobject[]Who takes part (for transfer/deposit: the one receiving). The server computes each share.
itemsobject[]For split_mode items: each line and who shares it.
extrasobject[]For split_mode items: tax, tip or discount spread over the items.
idempotency_keystringKhoá chống lặp tuỳ chọn: gọi lại cùng khoá không tạo bản ghi thứ hai.

Sửa nhóm Chia Chia

Changes a Chia Chia group: name, type, emoji, currency (only while it has no entries), the shared fund (on, or off once its cash is zero) or archived. Currency and fund need a group manager. Send only the fields to change.

Tham số (8)
TênKiểuMô tả
group_idbắt buộcstringChia Chia group id, from list_groups.
namestring
typestring Giá trị: triphomecoupleeventworkother
currencystring Giá trị: VNDUSDEURJPYKRWTHBSGDCNY
emojistring
fundboolean
archivedbooleantrue archives (read-only), false brings it back.
idempotency_keystringKhoá chống lặp tuỳ chọn: gọi lại cùng khoá không tạo bản ghi thứ hai.

Sửa người trong nhóm

Changes a member of a Chia Chia group: rename them, set role admin or member (group owner only), or set settled_by_member_id so another member pays and receives on their behalf (null undoes it). Send only the fields to change.

Tham số (6)
TênKiểuMô tả
group_idbắt buộcstringChia Chia group id, from list_groups.
member_idbắt buộcstring
namestring
rolestring Giá trị: adminmember
settled_by_member_idstring | nullMember who settles for this one; null to settle alone again.
idempotency_keystringKhoá chống lặp tuỳ chọn: gọi lại cùng khoá không tạo bản ghi thứ hai.

Lịch Âm · 9

Đổi ngày dương ↔ âm

Converts one day between the solar (Gregorian) and Vietnamese lunar calendar, 1900 to 2100: give date (solar) or lunar_day, lunar_month, lunar_year and lunar_leap. Returns both dates, weekday, can chi of day/month/year, solar term, truc, hoang dao or hac dao spirit, auspicious hours and holidays. A pure calculation.

Tham số (5)
TênKiểuMô tả
datestringSolar date YYYY-MM-DD to convert to lunar.
lunar_dayinteger
lunar_monthinteger
lunar_yearinteger
lunar_leapbooleanThe leap month (tháng nhuận) of that number; default false.
delete_lunar_eventGhiXoá / huỷ

Xoá ngày riêng

Deletes a Lich Am day by its client_id from list_lunar_events. A day in a family book disappears for everyone in that book; the phones drop it and its reminders on their next sync.

Tham số (2)
TênKiểuMô tả
client_idbắt buộcstring
idempotency_keystringKhoá chống lặp tuỳ chọn: gọi lại cùng khoá không tạo bản ghi thứ hai.
find_good_daysĐọcTốn 3 đơn vị

Tìm ngày tốt

Finds good days for an undertaking (wedding, opening, moving house, ground breaking, travel, signing a contract, buying a vehicle) in a range of at most 90 days, 1900 to 2100, by Vietnamese tradition. Drops nguyet ky, tam nuong, bad truc and, with birth_year, days clashing with that person; scores the rest. Costs 3 units of the rate budget, so pick the range first.

Tham số (4)
TênKiểuMô tả
taskbắt buộcstring Giá trị: weddingopeningmovingbuildingtravelcontractvehicle
date_frombắt buộcstringYYYY-MM-DD, inclusive.
date_tobắt buộcstringYYYY-MM-DD, inclusive; at most 90 days after date_from.
birth_yearintegerYear of birth of the person it is for.

Xem chi tiết một ngày

Returns one solar day (1900 to 2100) in full by the Vietnamese lunar calendar: lunar date, can chi, solar term, holidays, truc with the activities it favours and avoids, hoang dao or hac dao spirit, auspicious hours, nguyet ky and tam nuong warnings, and tuoi xung (the clashing earthly branch; with birth_year, whether it clashes with that person). A pure calculation.

Tham số (2)
TênKiểuMô tả
datebắt buộcstringSolar date YYYY-MM-DD.
birth_yearintegerYear of birth, to check the tuoi xung of that person.

Xem một sổ ngày

Returns one Lich Am family book: its name, the user's role, its members with their roles and when they joined, the number of days, and its current invite code. Its days are listed by list_lunar_events with this book_id.

Tham số (1)
TênKiểuMô tả
book_idbắt buộcstringFrom list_lunar_books.

Xem lịch một tháng

Returns one month of the Vietnamese lunar calendar, one short row per day: solar date, weekday, lunar day and month, can chi of the day, hoang dao or not, solar term starting that day and holidays. calendar=solar (default) takes a Gregorian month; calendar=lunar takes a lunar month, leap=true for its leap month. 1900 to 2100. A pure calculation.

Tham số (4)
TênKiểuMô tả
yearbắt buộcinteger
monthbắt buộcinteger
calendarstringDefault solar. Giá trị: solarlunar
leapbooleanWith calendar=lunar: the leap month of that number.

Xem sổ ngày của nhà

Lists the Lich Am family books (so ngay cua nha) the user is in: shared lists of family days such as death anniversaries that every member sees and is reminded of. Returns each book with the user's role, member names and number of days.

Tham số (2)
TênKiểuMô tả
limitintegerRows per page, default 20, at most 50.
cursorstringnext_cursor from the previous page; leave out for the first page.

Xem ngày riêng sắp tới

Lists the user's Lich Am days (death anniversaries, birthdays, anniversaries, others) and those of the family books they are in, each with its next occurrence as a solar date and days until it, soonest first. days_ahead (1 to 366) keeps only days coming up within that window. Filter by book_id or kind.

Tham số (5)
TênKiểuMô tả
days_aheadintegerOnly days occurring within this many days from today.
book_idstringA family book id from list_lunar_books, or "personal" for the user's own days only.
kindstring Giá trị: giobirthdayanniversaryother
limitintegerRows per page, default 20, at most 50.
cursorstringnext_cursor from the previous page; leave out for the first page.

Lưu ngày riêng

Creates a Lich Am day (death anniversary, birthday, anniversary, other) on the lunar or solar calendar, or changes one when client_id is given (send only the fields to change). book_id puts it in a family book the user is in, so everyone there sees it; leave it out for a personal day. It syncs to the user's phones, which remind on it. Returns the day with its next occurrence.

Tham số (14)
TênKiểuMô tả
client_idstringId of an existing day to change, from list_lunar_events. Leave out to create.
titlestring
kindstringgio = death anniversary. Giá trị: giobirthdayanniversaryother
calendarstring Giá trị: lunarsolar
dayintegerLunar day 1-30 or solar day 1-31.
monthinteger
leapbooleanLunar leap month; lunar only.
yearinteger | nullYear it started; required with repeat none.
repeatstringyearly, monthly (lunar only) or none. Giá trị: yearlymonthlynone
reminders_days_beforeinteger[]Remind this many days before, e.g. [3, 0].
remind_timestring | nullHH:MM of the reminder.
notestring | null
book_idstring | nullFamily book id; null for a personal day.
idempotency_keystringKhoá chống lặp tuỳ chọn: gọi lại cùng khoá không tạo bản ghi thứ hai.

Tài khoản Life · 1

Xem tài khoản CTAS Life

Returns the user's CTAS Life account: whether Premium is active and until when, AI credit balance and today's use, how many Chia Chia groups they own and the limit, Lich Am settings (birth year, primary calendar) and the bank account they receive money on, with only its last four digits.