format_check
Check if an MQL4/MQL5 source file adheres to clang-format standards before compilation. Specify style rules to validate formatting and identify non-compliant code for correction.
Instructions
DEPRECATED (removed in 0.6.0): use format_mql(source) (dry run by default).
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": "<source>"
},
"name": "format_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | clang-format style string. | |
| source | Yes | Absolute Windows path to the .mq4/.mq5/.mqh source file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||