thai_convert_date
Format ISO dates as Thai date strings with Buddhist year and weekday, or convert years between Christian Era (CE) and Buddhist Era (BE).
Instructions
Format an ISO date as a Thai date string, or convert years CE<->BE.
Returns: JSON string. For 'format': {"input", "buddhist_year", "thai_date"}. For year conversion: {"input_year", "result_year", "era"}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"params": "<params>"
},
"name": "thai_convert_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |