Read the server log
server_logsRetrieve the latest Minecraft server log lines, including console output when startup fails, and filter them by text to diagnose errors and monitor server activity.
Instructions
The last lines of the server log (logs/latest.log), or of the console output if the server failed to start. Optional filter keeps only lines containing that text. The RCON password is hidden.
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": "server_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | How many lines. Default 80. | |
| filter | No | Only lines containing this text (not case sensitive) |