Compare weight-loss efficacy
compare_efficacyThe extracted weight-loss table for the named drugs, joined to trial design, one row per arm and timepoint.
Rows are NOT collapsed to one number per drug. The corpus holds several doses, timepoints and estimands per trial, and picking a single winner per drug would mean choosing between them here, silently and on the caller's behalf. The comparison is theirs to make; this returns the rows and the labels needed to make it correctly.
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": {
"drugs": "<drugs>"
},
"name": "compare_efficacy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drugs | Yes | ||
| limit | No | ||
| metric | No | mean_weight_change_pct | |
| estimand | No | ||
| timepoint_weeks | No |