{"ok":true,"site":{"host":"webmcp-pharmacy.vercel.app","url":"https://webmcp-pharmacy.vercel.app/","type":"live","desc":"WebMCP Pharmacy Demo","tools":[{"name":"list_pending_approvals","kind":"answer","impl":"imperative","description":"List the controlled-substance refill requests currently awaiting a caregiver decision, oldest first. Each entry includes the requestId needed by decide_pending_approval, the medication, the patient, and when it was requested. Returns an empty list when nothing is pending.","inputSchema":{"type":"object","properties":{},"required":[]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/caregiver.html","pages":["/caregiver.html"]},{"name":"decide_pending_approval","kind":"act","impl":"imperative","description":"Approve or deny a pending controlled-substance refill request on the caregiver's behalf — the same action as clicking Approve or Deny on the caregiver dashboard. Approving allows the requester to complete the refill; denying blocks it. Use list_pending_approvals to get the requestId first. A request that was already decided keeps its original decision.","inputSchema":{"type":"object","properties":{"requestId":{"type":"string","description":"The approval request id, from list_pending_approvals."},"decision":{"type":"string","enum":["approved","denied"],"description":"Either \"approved\" or \"denied\"."}},"required":["requestId","decision"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/caregiver.html","pages":["/caregiver.html"]},{"name":"list_pending_uploads","kind":"answer","impl":"imperative","description":"List the photographed prescriptions awaiting caregiver review, oldest first. Each entry includes the requestId needed by decide_pending_upload, the fields extracted from the image, and the extraction confidence — a low confidence means the photo was hard to read and the details deserve closer checking.","inputSchema":{"type":"object","properties":{},"required":[]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/caregiver.html","pages":["/caregiver.html"]},{"name":"decide_pending_upload","kind":"act","impl":"imperative","description":"Approve or reject a pending prescription upload on the caregiver's behalf — the same action as clicking Approve or Reject on the caregiver dashboard. Approving records the prescription (and flags it as a duplicate if the medication already exists); rejecting discards it. Use list_pending_uploads to get the requestId first.","inputSchema":{"type":"object","properties":{"requestId":{"type":"string","description":"The upload request id, from list_pending_uploads."},"decision":{"type":"string","enum":["approved","rejected"],"description":"Either \"approved\" or \"rejected\"."}},"required":["requestId","decision"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/caregiver.html","pages":["/caregiver.html"]},{"name":"get_activity_log","kind":"answer","impl":"imperative","description":"Get the pharmacy's decision history in one call: prescription uploads a caregiver approved, and caregiver decisions on controlled-substance refill requests. Both lists are newest first. Note that refills of non-controlled medications are not recorded here, because they never reach the server.","inputSchema":{"type":"object","properties":{"limit":{"type":"number","minimum":1,"description":"Optional. Return at most this many entries from each history. Omit for everything retained (each history keeps its 20 most recent entries)."}},"required":[]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/activity.html","pages":["/activity.html"]}],"category":"Health & Education","apiSurface":"spec","toolCount":5}}