tail_log
Retrieve the last N lines from a log file to monitor recent application activity and debug issues by viewing recent log entries.
Instructions
Get the last N lines from a log file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filename | No | Name of the log file (default: combined.log) | combined.log |
lines | No | Number of lines to return (default: 50) |
Input Schema (JSON Schema)
{
"properties": {
"filename": {
"default": "combined.log",
"description": "Name of the log file (default: combined.log)",
"type": "string"
},
"lines": {
"default": 50,
"description": "Number of lines to return (default: 50)",
"type": "number"
}
},
"required": [],
"type": "object"
}