date-past
Generates a random date in the past, using an optional reference date and year range to produce test data for apps, fixtures, and schedules.
Instructions
Generates a random date in the 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-past"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | The range of years the date may be in the past. | |
| refDate | No | The date to use as reference point for the newly generated date. |