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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"game_id": "<game_id>"
},
"name": "get_console_errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Clear the buffer after reading (default false). | |
| game_id | Yes | Session id returned by open_game. |