diagnostics
Inspect Strudel MCP server and browser state to troubleshoot caches, errors, performance, and memory using status, full, perf, memory, or errors levels.
Instructions
Inspect server and browser state. level=status returns a quick state snapshot (cache read, <15ms SLA), plus which config.json was read and any warnings from it. level=full returns detailed browser diagnostics including caches, errors, and performance. level=perf returns server-side timing metrics + top bottlenecks. level=memory returns process memory usage. level=errors returns captured console errors and warnings from Strudel. Default level=full preserves the pre-consolidation behaviour. Example: diagnostics({ level: "status" }) — millisecond-cheap. For screenshots use browser_window; for tool listings use the strudel://docs/tools resource.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Which diagnostic surface to read (default: full) | |
| session_id | No | Optional session ID (#108). Applies to level=status, full, errors. Ignored for perf/memory (server-wide metrics). |