get_playground_logs
Retrieve recent Playground logs to check PHP errors, startup messages, and debug WordPress runtime issues.
Instructions
Returns recent logs from the Playground instance. Useful for checking PHP errors, startup messages, and debugging.
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": "get_playground_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter log output. "all" = everything, "error" = PHP errors/warnings/notices, "php" = PHP-related output. Default: "all". | |
| lines | No | Number of log lines to return. Default: 50. |