Validate CPCL
cpcl_validateLint CPCL label code and return positioned findings with severity as JSON. Checks the command set Labelixa implements from the CPCL manual — a clean result is not a guarantee that a specific printer accepts the job. Run this before cpcl_preview; if you are not sure which language the code is, call language_detect first.
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": {
"cpcl": "<cpcl>"
},
"name": "cpcl_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpcl | Yes | Raw CPCL code |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | ||
| diagnostics | Yes |