时间戳时区换算
time-tool时间戳时区换算:Unix 秒 / 毫秒时间戳与日期互转,输出 UTC ISO、北京时间、星期、年内第几天、是否闰年、当月天数,支持 addDays 天数加减。处理日志、订单时间、账期时免踩时区坑。 传入参数对象,返回确定性计算结果与依据。适用场景:模型算数不稳、法规口径易错时,调用它拿准确答案。
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": {
"input": "<input>"
},
"name": "time-tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Unix 秒/毫秒时间戳或日期 | |
| addDays | No | 可选:天数加减 |