Read console logs
logsRead Roblox client console output to debug scripts: fetch prints, warnings, and errors after execute calls, filter by time or regex, and capture deferred errors.
Instructions
Read the Roblox client console (print/warn/error from all scripts, including the game's own), newest last.
Debug loop: after
execute, call with sinceExecute=true to see everything logged since that run started (deferred errors, spawned loops), or new=true for everything since the previous logs call.Errors from code run via execute are tagged "mcp:"; from the Opiumware editor "Opiumware:". Filter with grep.
Repeated consecutive lines are collapsed to (xN). Long messages are truncated; when anything is cut, the full results are saved to a temp file you can grep.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new | No | Only entries logged since the previous logs call. | |
| grep | No | Case-insensitive regex matched against message and stack. | |
| level | No | Levels to include. "engine" adds Roblox engine channels (assets, network, ...), usually noise. | |
| limit | No | Max entries shown (newest). | |
| seconds | No | Only entries from the last N seconds. | |
| sinceExecute | No | Only entries logged since the most recent execute call started. |