format_mql
Format MQL source code using clang-format, with optional custom style and file overwrite.
Instructions
Format an MQL file via clang-format (treats source as C++).
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_mql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | ||
| write | No | ||
| source | Yes |