Read logs
read_logsTail and filter log files, extract JSON fields. Diagnose issues by reading the last lines of any configured log file directly from your development environment.
Instructions
Read the tail of a configured log file with optional filter.
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": "read_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| tail | No | ||
| filter | No | ||
| jsonField | No |