get_debug_logs
Retrieve recent debug log entries from a live play session to verify engine actions like inputs, errors, or audio. Enable domains first, then filter by type, domain, or timestamp.
Instructions
Read recent debug log entries from the running play session. Useful for verifying what the engine saw after a test action (input received? error fired? audio playing?). Only entries for currently-enabled domains exist in the buffer — call set_debug_domains first to enable categories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Optional: max entries to return (default 200, returns most recent). | |
| since | No | Optional: only return entries with timestamp >= this (ms since epoch). Use Date.now() before a test action, then read entries with since=<that timestamp>. | |
| types | No | Optional: filter by entry type (summary, log, error, domain). Empty/omitted = all types. | |
| domains | No | Optional: filter to entries from these domains (collision, movement, follow, dodge, physics, zone, camera, mask, input, audio, errors, log). Empty/omitted = all domains. |