日期平移
answer_date_shiftShift a date by a specified number of days (can be negative) and return the resulting date and weekday. Answers questions like 'What date is X days from now?' or 'What was the date N days ago?'
Instructions
把日期平移指定天数(可为负),返回结果日期与星期。"X 天后是几号""提前 N 天"类问题调用。
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": {
"date": "<date>",
"days": "<days>"
},
"name": "answer_date_shift"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | 基准日期 | |
| days | Yes | 平移天数,可为负数 | |
| _memoryRequestKey | No | 兼容代理注入的内部请求键,用于合并同一次模型工具调用 |