log_read
Read the last N lines of a log file to inspect recent entries and identify issues. Requires log.read permission.
Instructions
Read last N lines of a log file. Requires log.read.
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": "log_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to log file | |
| lines | No | Number of lines (default: 100) |