Record a lot's expiry and beyond-use dates (Record plan)
record_lot_datesRecords a lot's expiry date, beyond-use date or both, the same as POST /v1/lots/{id}/dates. Appended: an earlier date stays on record. Takes the lot_id from list_lots or create_lot, and dates as YYYY-MM-DD.
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": {
"lot_id": "<lot_id>"
},
"name": "record_lot_dates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lot_id | Yes | The lot's id, from list_lots or create_lot. | |
| source | No | Where the date comes from. Default operator. | |
| expiry_date | No | YYYY-MM-DD. | |
| beyond_use_date | No | YYYY-MM-DD. |