cpcl_validate
Validate CPCL label code and return structured JSON diagnostics with findings, positions, and severity so you can identify and fix label syntax issues.
Instructions
Lint/validate CPCL label code and return the structured diagnostics report (findings with positions and severity) as JSON.
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 |