moose_tail_log
Follow DCS log files by reading only new lines after a given line index, for near-live updates. Handles log rotation and truncation.
Instructions
Tail mode for dcs.log. Parses only lines after from_line, for near-live following. Call repeatedly, advancing from_line from the returned newFromLine to get only new events. Handles truncation/rotation by resetting to 0.
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": {
"path": "<path>",
"from_line": "<from_line>"
},
"name": "moose_tail_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to a dcs.log file. | |
| from_line | Yes | Parse only lines after this 0-based line index. Use the newFromLine from a previous call. |