Read game output
get_debug_outputRetrieve debug output and errors from a running Godot project launched with run_project. Returns only unseen lines by default, with options to filter errors, limit lines, or wait for output.
Instructions
Read output and errors from the game started with run_project. By default returns only lines you have not seen yet.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_debug_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | Return at most this many of the latest lines (default 200). | |
| onlyNew | No | Only lines not returned before (default true). Set false for the full log. | |
| errorsOnly | No | Only errors and warnings (default false). | |
| waitSeconds | No | Wait this long first (or until the game exits), e.g. to let something happen. |