List packages
get_packagesThe package NDCs that belong to a Pillwise drug id.
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_packages"
}
}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. |