mt4_control
Start, stop, or restart a MetaTrader 4 terminal's systemd unit. Confirmation required for live terminals.
Instructions
Start, stop, or restart a terminal's systemd unit.
Mutating a live terminal requires confirm=true.
Args: terminal: terminal id. action: one of "start", "stop", "restart". confirm: must be true to act on a terminal tagged env=live.
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": {
"terminal": "<terminal>",
"action": "<action>"
},
"name": "mt4_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terminal | Yes | ||
| action | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |