ui_get_logs
ui_get_logsReads captured browser errors and failed requests from the current session so you can diagnose actions that appeared to do nothing; returns new logs by default or all logs with since start.
Instructions
Read the browser problems captured in this session so far: console errors, uncaught page errors, failed requests and HTTP 4xx/5xx responses (method + URL, never bodies or headers). Use it when an action seemed to do nothing. since: last (default) returns only what is new since the previous call; start returns everything. Pass level: warning to include console warnings. Repeats are grouped (×N); at most 50 lines.
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": "ui_get_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | error (default), or warning to also include console warnings | |
| since | No | last (default): new since the previous ui_get_logs; start: everything | |
| session_id | No | Which open session to act on, as returned by ui_start_session. Optional with one open session; required when several are open. |