Decode IAB TCF v2 TC string
web-technology_tcf-consent-string-decodeDecode an IAB Europe TCF v2.x transparency and consent string into purposes, vendors and publisher restrictions. Price $0.03 USDC. POST /api/v1/web-technology/tcf-consent-string-decode. 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": {
"tcString": "<tcString>"
},
"name": "web-technology_tcf-consent-string-decode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tcString | Yes | tcString, string, length 1 to 10000. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmpId | No | cmpId. Number. | |
| created | No | created. String. | |
| sources | No | sources. Array. | |
| version | No | version. Number. | |
| segments | No | segments. Array. | |
| cmpVersion | No | cmpVersion. Number. | |
| lastUpdated | No | lastUpdated. String. | |
| limitations | No | limitations. Array. | |
| publisherCC | No | publisherCC. String. | |
| consentScreen | No | consentScreen. Number. | |
| vendorConsents | No | vendorConsents. Array. | |
| consentLanguage | No | consentLanguage. String. | |
| purposeConsents | No | purposeConsents. Array. | |
| tcfPolicyVersion | No | tcfPolicyVersion. Number. | |
| isServiceSpecific | No | isServiceSpecific. Boolean. | |
| vendorListVersion | No | vendorListVersion. Number. | |
| purposeOneTreatment | No | purposeOneTreatment. Boolean. | |
| specialFeatureOptins | No | specialFeatureOptins. Array. | |
| useNonStandardStacks | No | useNonStandardStacks. Boolean. | |
| publisherRestrictions | No | publisherRestrictions. Array. | |
| vendorLegitimateInterests | No | vendorLegitimateInterests. Array. | |
| purposeLegitimateInterests | No | purposeLegitimateInterests. Array. |