slc_era
Convert Chinese dynasty or reign name to AD year range and vice versa. Enter a term like 'Ming' to get its years or a year to find the era. Requires your Shanghai Library API key.
Instructions
中国历史纪年表:输入朝代/年号返回公元年范围,或反之。例:明 -> 1368~1644。请传入 key(自己的上海图书馆开放数据 APIKey)。
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": {
"term": "<term>"
},
"name": "slc_era"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | 上海图书馆开放数据 APIKey(必填) | |
| term | Yes | 朝代/年号/公元年,如 明、洪武、1369 |