Tail rlg log file
tail_logReturn the most recent parseable records from an rlg log file, newest last, to quickly review recent log activity.
Instructions
Return the last N parseable rlg (RustLogs) records from a log file, newest last. Use this to glance at the most recent activity in a log; use filter_log when you need to select records by level or component, and summarize_errors for an aggregated error count.
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>"
},
"name": "tail_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | How many of the most recent parseable records to return (default 100). | |
| path | Yes | Filesystem path to an rlg log file (Logfmt/JSON records, one per line). |