compile
Builds a single .mq5 source file with MetaEditor and returns structured errors and warnings for debugging.
Instructions
Compile one .mq5 file with MetaEditor and return structured errors and warnings.
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": "compile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| timeout_sec | No |