mt4_logs
Get the tail of a MetaTrader 4 terminal's newest log file, with optional regex pattern filtering and configurable line count.
Instructions
Return the tail of a terminal's newest log file.
Args: terminal: terminal id. pattern: optional case-insensitive regex to grep (e.g. "login|error"). lines: number of trailing lines to return (1-1000).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terminal | Yes | ||
| pattern | No | ||
| lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |