Finish package (write)
finish_packageFinish a zero-quantity package in METRC to remove it from active inventory and update compliance status. Provide the package label and finish date to complete the process.
Instructions
Mark a zero-quantity package as finished, removing it from active inventory. This modifies the state compliance record. Requires METRC_ALLOW_WRITES=true.
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": {
"label": "<label>",
"actualDate": "<actualDate>"
},
"name": "finish_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | The package tag label to finish. | |
| actualDate | Yes | Finish date, YYYY-MM-DD. | |
| licenseNumber | No | Facility license number. Omit to use METRC_LICENSE_NUMBER. |