Parse a GS1 Digital Link URI
product-safety_gs1-digital-link-parseParse an uncompressed GS1 Digital Link URI into primary key, qualifiers and attributes; return canonical URI and element string. Price $0.01 USDC. POST /api/v1/product-safety/gs1-digital-link-parse. An unpaid call returns the x402 payment terms and does not run.
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": {
"uri": "<uri>"
},
"name": "product-safety_gs1-digital-link-parse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | uri, string, length 8 to 2048. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | No | valid. Boolean. | |
| errors | No | errors. Array. | |
| sources | No | sources. Array. | |
| attributes | No | attributes. Array. | |
| primaryKey | No | primaryKey. Object. | |
| qualifiers | No | qualifiers. Array. | |
| otherParams | No | otherParams. Object. | |
| canonicalUri | No | canonicalUri. String. | |
| elementString | No | elementString. String. |