tail_log_file
Monitor log files on an Ubuntu server by viewing the most recent lines, enabling quick troubleshooting and analysis.
Instructions
Read the last N lines of any log 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": {
"alias": "<alias>",
"path": "<path>"
},
"name": "tail_log_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Full path to the log file | |
| alias | Yes | ||
| lines | No |