tail_logs
Read the final lines of an allowlisted log file to diagnose recent homelab incidents; path traversal is rejected.
Instructions
Read final lines of one exactly allowlisted log file; traversal is rejected.
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_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||