game_logs
Capture live runtime logs from the running game to diagnose script errors with stack traces, warnings, and prints. Filter by level or substring and clear the buffer to isolate issues.
Instructions
Read the RUNNING game's captured output off the runtime channel (real-time, no file logging): runtime SCRIPT errors WITH stack traces, push_error/push_warning, and print(). This is the play->see-error->fix signal — the blind spot logs_read (file-based) can't reliably cover. level=error (default: errors+script+shader) | warning (adds warnings) | all (adds print/stderr). limit=newest N (default 100), filter=substring, clear=true empties the buffer after reading.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | ||
| level | No | error | warning | all | |
| limit | No | ||
| filter | No |