check_syntax
Validate Pascal syntax and code structure without producing an executable. Use any installed compiler or let auto-selection choose the best available one.
Instructions
Check Pascal syntax without producing an executable.
Performs a syntax-only check (no linking). Faster than a full compile and useful for quickly validating code structure.
Args: source_code: The Pascal source code to check. compiler: Which compiler to use. Can be a type name ('fpc', 'dcc32', 'dcc64') or a full path to a specific compiler executable. If not specified, auto-selects the best available compiler.
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": {
"source_code": "<source_code>"
},
"name": "check_syntax"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compiler | No | ||
| source_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |