date-recent
Generates a random date in the recent past, letting you set a day range and reference date for test data or date inputs.
Instructions
Generates a random date in the recent past.
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": "date-recent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | The range of days the date may be in the past. | |
| refDate | No | The date to use as reference point for the newly generated date. |