app_log
Reads the tail of an app's stderr log on a given instance to debug crashes, blank renders, or misbehavior. Returns the last lines, total count, and truncation status.
Instructions
Tail of the stderr log of the app launched on an instance (launch_app / open_file) — read it when an app crashed, drew nothing, or misbehaves.
Returns {"ok", "instance", "path", "lines": [...], "total_lines", "truncated"} (max 500 lines per call). The log is per instance and overwritten by each launch on that instance. Instance 1 (start-display.sh) logs to /tmp/chromium-x1.log instead. Fails (isError) if no log exists for that instance 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": "app_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |