read_test_log
Reads and filters plugin test/debug logs from Minecraft servers using configurable prefixes and incremental reading to monitor testing events.
Instructions
Read plugin test/debug logs filtered by a configurable prefix.
Only lines containing the configured LOG_PREFIX (default ``[TEST]``) are
returned. Supports incremental reading: pass the ``position`` value from a
previous call as ``since_position`` to only get new entries.
Args:
since_position: Byte offset to start reading from (0 = beginning).
event_filter: Optional event type filter (e.g. ``PASS``, ``FAIL``,
``SUMMARY``). Only lines matching ``{prefix} {event_filter}`` are
returned.
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": "read_test_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since_position | No | ||
| event_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |