Get console errors
get_console_errorsFetch JavaScript errors and warnings from a Twine game page to debug playtesting and QA issues. Optionally clear the captured buffer after reading.
Instructions
Return JavaScript errors/warnings captured from the page (useful for playtesting / QA).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Clear the buffer after reading (default false). | |
| game_id | Yes | Session id returned by open_game. |