Get a drug
get_drugThe full record for a Pillwise drug id: names, ingredients, form, strength, packages and recalls.
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": {
"id": "<id>"
},
"name": "get_drug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A Pillwise drug id, like pw_d_…. | |
| as_of | No | Optional. Answer as of this day (YYYY-MM-DD) or instant (RFC 3339), up to a year back. |