build_epcis2_pharma_event
Converts a raw pharma scan into a GS1 EPCIS 2.0 JSON-LD ObjectEvent for Saudi SFDA RSD or UAE Tatmeen reporting.
Instructions
Generate a GS1 EPCIS 2.0 JSON-LD ObjectEvent (SGTIN / SGLN URIs) for Saudi SFDA RSD or UAE Tatmeen reporting.
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": {
"raw_scan": "<raw_scan>"
},
"name": "build_epcis2_pharma_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| regime | No | SFDA_RSD | |
| raw_scan | Yes | ||
| sender_gln | No | 6281000000013 | |
| action_type | No | DISPENSE | |
| receiver_gln | No |