install_include
Installs a MetaTrader include file into the Include/ directory from a source path, with optional rename. Deprecated: use deploy(file, name) for .mqh files.
Instructions
DEPRECATED (removed in 0.6.0): use deploy(file, name) with a .mqh file.
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": "install_include"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Absolute Windows path to the .mq4/.mq5/.mqh source file. | |
| target_name | No | File name to use inside Include/. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||