Controlled substance log check
wever_vet-controlled-substance-log-checkAgent Veterinary Records: submit controlled substance log records with the prescription and treatment entries, period totals and inventory counts they answer to: each prescription or treatment entry with its id, reference, its kind (prescription or treatment), the animal, the controlled substance, the amount prescribed or ordered and the moment recorded; each log entry with its id, reference, the prescription or treatment entry it dispenses under, the animal, the substance, the amount dispensed and the moment dispensed; each period total and inventory count the log states with its id, reference, the substance, the moments its period starts and ends, the amount on hand at the start, the amount received, the amount the log totals as dispensed and the inventory count at the end. The signed report gives the log and the records behind it, each log entry against the prescription or treatment entry behind it, each dispensed total against the log entries dated in its period, each entry against an animal, a substance and an amount, and each inventory count against the opening count, the amount received and the entries dispensed, and counts them, and names divergent controlled substance logs: a log entry with no prescription or treatment entry behind it, a dispensed quantity the log’s own totals do not reflect, a log entry missing the animal, the substance or the amount, and an inventory count in the log that the entries do not support; then a prescription or treatment entry dispensed past the amount it records and an opening count unlike the prior period’s count, with the fix for each and what would change the verdict. No log entries, no prescription or treatment entries beside them, or no log totals or counts beside them leaves those points unverified. Entries, sources and animals match by letters and digits, substances by their words with plurals folded, so Ketamine injections and ketamine injection are one substance, amounts read to the hundredth in the unit the log uses, periods read by the day, and a count reads as the opening count plus receipts less the entries dispensed. This reads whether every dose in the practice’s controlled substance log rests on a prescription or treatment, is fully recorded and is carried into the log’s totals and inventory counts. Verdict vet_controlled_substance_log_divergent, vet_controlled_substance_log_partial, vet_controlled_substance_log_unverified or vet_controlled_substance_log_consistent. POST /api/vet-controlled-substance-log-check. Reads the veterinary practice records supplied in the call and returns a signed report with the verdict, the evidence read, the findings with their fixes, and what would change the verdict; it reads the records as supplied only: it treats no animal, contacts no regulator, pharmacy or other practice and issues no license, prescription or certification, which stay with the practice, its veterinarians and its regulators, and the records stay in the report, with no network request, fetch, message, payment or external write. Agent Veterinary Records reads a veterinary practice’s own records: animal records, vaccination records, treatment records with dental procedures as treatment entries, surgery records, prescription records, lab records, veterinarian license records and controlled substance log records, each against the vaccination, treatment, visit and identity records, the rabies currency dates and booster schedule the record states, the visit, diagnosis, discharge and prescription records, the admission, anesthesia and recovery entries, the refill counts and the controlled substance log, the lab orders, the signed practice records and license classes, or the log’s own totals and inventory counts on record. The family’s ground is the paper trail behind the practice: what the animal record shows, what the treatment and surgery records support, what the license record covers, and whether the prescription records and controlled substance logs hold up; it reads records held by a veterinary practice or clinic, whatever the species, not farm production records and not human healthcare records: the Agent Agriculture Records family reads a farm’s production records, herd treatments the farm itself recorded included, and the Agent Healthcare family reads human healthcare records, while this family reads a veterinary practice’s own records and reads neither. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-veterinary-records-contract. Human page: https://weverlabs.com/agent-veterinary-records/.
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": {
"sources": "<sources>",
"entries": "<entries>",
"balances": "<balances>"
},
"name": "wever_vet-controlled-substance-log-check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional name recorded in the report. | |
| entries | Yes | Each controlled substance log entry. | |
| sources | Yes | Each prescription or treatment entry the log answers to. | |
| balances | Yes | Each period total and inventory count the log states. |