tspl_validate
Validate TSPL/TSPL2 label code and receive structured JSON diagnostics with issue positions and severity, so you can fix syntax errors before printing.
Instructions
Lint/validate TSPL/TSPL2 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": {
"tspl": "<tspl>"
},
"name": "tspl_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tspl | Yes | Raw TSPL/TSPL2 code |