runtime_output
Reads and drains a running game's printed output and structured errors since the last call, including file, function, zero-based line, and call stack.
Instructions
Read what a running game printed and every structured error it reported since the last call - push_error, push_warning, engine and script errors, each with file, function, ZERO-BASED line and call stack. Drained on each call.
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": "runtime_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Seconds to wait for more first (default 0.5) | |
| session_id | No | Session from runtime_run. Required only when several games run. |