get_logs
Retrieve Minecraft instance logs with auto-detected launcher. Specify launcher type, instance, line count, and tail preference to get the log content.
Instructions
Get Minecraft instance logs. Auto-detects launcher or specify 'default', 'prism', or 'tlauncher'. For Prism, optionally specify an instance name. Returns the latest log file content with configurable line count.
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_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| launcher | No | Launcher type: 'default', 'prism', 'tlauncher', or omit for auto-detect | |
| instance | No | Instance name (for Prism Launcher only) | |
| lines | No | Number of lines to return (default: 100, max: 1000) | |
| tail | No | If true, return last N lines; if false, return first N lines (default: true) |