Tool tree
Learn the different formats used in Thailand. Thai dates, holidays, alcohol rules, unit conversions, ID cards, and more. Free API available.
Implementation
gradeNot graded
gradeNot graded
page: Every page
get_thai_holidaysAnswer
Get Thai public holidays for a year
View tool JSON
{
"name": "get_thai_holidays",
"kind": "answer",
"impl": "imperative",
"description": "Get Thai public holidays for a year",
"inputSchema": {
"type": "object",
"properties": {
"year": {
"type": "integer",
"description": "Gregorian year"
}
},
"required": [
"year"
]
},
"page": "/"
}check_alcohol_statusAnswer
Can you buy alcohol in Thailand right now?
View tool JSON
{
"name": "check_alcohol_status",
"kind": "answer",
"impl": "imperative",
"description": "Can you buy alcohol in Thailand right now?",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/"
}get_date_infoAnswer
Get Thai date info (Buddhist year, day colour, holidays)
View tool JSON
{
"name": "get_date_info",
"kind": "answer",
"impl": "imperative",
"description": "Get Thai date info (Buddhist year, day colour, holidays)",
"inputSchema": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "YYYY-MM-DD"
}
},
"required": [
"date"
]
},
"page": "/"
}calculate_working_daysAction
Calculate Thai business days between dates
View tool JSON
{
"name": "calculate_working_days",
"kind": "act",
"impl": "imperative",
"description": "Calculate Thai business days between dates",
"inputSchema": {
"type": "object",
"properties": {
"start_date": {
"type": "string"
},
"end_date": {
"type": "string"
}
},
"required": [
"start_date",
"end_date"
]
},
"page": "/"
}convert_areaAction
Convert Thai area units (Rai, Ngan, Wah)
View tool JSON
{
"name": "convert_area",
"kind": "act",
"impl": "imperative",
"description": "Convert Thai area units (Rai, Ngan, Wah)",
"inputSchema": {
"type": "object",
"properties": {
"amount": {
"type": "number"
},
"from": {
"type": "string"
},
"to": {
"type": "string"
}
},
"required": [
"from",
"to"
]
},
"page": "/"
}