modx_read_error_log
Read the tail of the MODX error log to diagnose issues, with an optional line limit (default 100).
Instructions
Read the tail of the MODX error log (core/cache/logs/error.log) for diagnostics. Optional limit (lines, default 100).
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": "modx_read_error_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No |