fetch
Fetch a medicine's card. Give the card's address or any one of three codes: the barcode on the pack (Global Trade Item Number, GTIN), the national pack code, or the authorisation number. Returns the signed card with its stamp; or a list of cards where several share the code; or an empty list. Each fetch leaves a signed receipt.
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": {
"code": "<code>"
},
"name": "fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | a card's address, or a pack barcode (GTIN), a national pack code or an authorisation number |