upload_ea
Uploads an Expert Advisor from your computer—compiled .ex5 or .mq5 source—to an MT5 account, compiling source and returning errors so you can attach it next.
Instructions
Upload an EA from this computer: compiled .ex5, or .mq5 source (compiled on the server; errors come back). Then attach_ea.
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": {
"account_id": "<account_id>",
"file_path": "<file_path>"
},
"name": "upload_ea"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| account_id | Yes |