Read recent Laravel log lines
read_laravel_logsRead and redact recent lines from the newest or selected Laravel log file to quickly debug while protecting sensitive data.
Instructions
Reads and redacts recent lines from the newest Laravel log or a selected log file.
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": {
"project": "<project>"
},
"name": "read_laravel_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional project-relative working directory. When omitted, the tool auto-detects the relevant app root. | |
| file | No | ||
| project | Yes | Project key from list_projects. | |
| contains | No | ||
| maxLines | No |