Tail Log File
sm_file_tail_log_fileReads the last lines of a specified log file to inspect recent entries for troubleshooting and monitoring.
Instructions
Tail log file (sm_file_operations). Operations for file and log management
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sm_file_tail_log_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Number of lines to tail | |
| filepath | No | Path to file |