moose_parse_log
Parse DCS log files for runtime truth: session start, GM events, and scripting errors, with configurable event/error limits.
Instructions
Parse dcs.log for runtime truth (Pillar 4). Finds the current session start, extracts structured [GM] events (scope/phase/event sim + key=value), and collects SCRIPTING ERROR/WARNING, nil-index, and traceback lines. Never blends runs; handles truncation naturally. Token-budget returns only the requested number of events/errors, capped by default.
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": "moose_parse_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to a dcs.log file, or omit to use the auto-discovered DCS install. | |
| max_errors | No | Max errors to return (default 100). | |
| max_events | No | Max events to return (default 300). | |
| this_session_only | No | Only return events/errors from the current session (after the last session-start marker). |