Convert 和暦⇔西暦
convert_japanese_eraConvert between Japanese era years (和暦: Reiwa/Heisei/Showa/Taisho/Meiji) and Western calendar years (西暦). Provide year for 西暦→和暦, or era + era_year for 和暦→西暦.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "convert_japanese_era"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| era | No | Era name, e.g. 令和 or Reiwa | |
| year | No | Western year, e.g. 2026 | |
| era_year | No | Year within the era |