health 2 credits · ~$0.030 <10ms

Medication Safety Gate

POST /v1/health/rx-check

A deterministic safety net for healthcare copilots and prescription workflows. It validates dose units (catching the 1000× mg/mcg error), checks total daily doses against known maximums including weight-based ranges, and screens every drug pair against a curated interaction table. Every result carries a signed certificate and a clear not-medical-advice disclaimer.

Capabilities

  • Unit-confusion detection (e.g. levothyroxine dosed in mg vs mcg)
  • Overdose checks vs. max daily dose, incl. weight-based (mg/kg)
  • Drug-drug interaction screening across a curated table
  • Severity moderate / major / contraindicated → FLAG or BLOCK
  • Deterministic and offline; signed certificate; not medical advice

Use cases

  • Telehealth and clinical copilots drafting medication lists
  • Pharmacy and e-prescribing assistants
  • Patient-facing agents that must never suggest an unsafe combo
  • A final safety gate before any dosing instruction is shown
example
curl -X POST https://api.agent-toolbox.ai/v1/health/rx-check \
  -H "Content-Type: application/json" \
  -d '{"medications": [{"name": "metformin", "dose": 1000, "unit": "mg", "frequency": "bid"}]}'
response shape
{
  "verdict": "PASS" | "FLAG" | "BLOCK",
  // tool-specific findings…
  "certificate": "sha256:..."
}