instance_log
Retrieve captured stdout and stderr from a game instance to diagnose boot failures or crashes. Provides trailing log lines with stack traces from the bridge-launched process.
Instructions
The captured stdout/stderr of an instance this bridge launched. When a game fails to boot, or dies mid-session, the stack trace is here and nowhere else.
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": "instance_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Debug port of the game instance to talk to. Defaults to the bridge's --port, then GAME_BRIDGE_PORT, then 7777. launch_instance returns one; list_instances finds the rest. | |
| lines | No | How many trailing lines (default 50) |