name: inventory-audit description: Step-by-step pharmaceutical inventory audit procedure
Inventory Audit Procedure
When performing a pharmaceutical inventory audit, follow these steps exactly:
Step 1: Get Inventory Snapshot
Call get_inventory_status() with no arguments to get all drugs.
Review the status column for any CRITICAL or WARNING drugs.
Step 2: Flag Expiry Risks
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.
Step 3: Run RL Optimizer
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.
Step 4: Compile Report
Combine analyst risk data + optimizer decisions into a single Markdown report:
- Executive Summary (2-3 sentences)
- Inventory Status Table
- Expiry Risk Analysis
- RL Ordering Decisions Table
- Recommendations (prioritized action items)
Step 5: Save Report
Write the final report using write_file with path inventory_report.md