Step-by-step pharmaceutical inventory audit procedure
When performing a pharmaceutical inventory audit, follow these steps exactly:
Call get_inventory_status() with no arguments to get all drugs.
Review the status column for any CRITICAL or WARNING drugs.
Delegate to inventory_analyst with instruction:
"Scan all drugs for expiry alerts within 14 days and calculate wastage risk for each flagged drug."
The analyst will use flag_expiry_alerts and calculate_wastage_risk tools.
Delegate to rl_optimizer with instruction:
"Run rl_order_decision for ALL drug IDs: D001, D002, D003, D004, D005"
The optimizer returns action + quantity + reward for each drug.
Combine analyst risk data + optimizer decisions into a single Markdown report:
Write the final report using write_file with path inventory_report.md