aism_logs
Read the end of a WordPress debug log or PHP error log, optionally filtering lines by search text, to diagnose site errors from configured files.
Instructions
Read the end of the WordPress debug log (source=debug, WP_DEBUG_LOG) or PHP error log (source=php), optionally only lines containing search. Only these configured files can be read. Requires diagnostics:read.
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": "aism_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Configured site name from aism_sites. Omit for the default site. | |
| lines | No | ||
| search | No | Case-insensitive text filter; scans up to the last 4 MiB. | |
| source | No | debug |