get_logs
Retrieve recent logs from server and browser with filtering by source, stream, regex, and incremental tailing. Scope logs to a specific project.
Instructions
Return recent events from the unified buffer (server stdout/stderr + browser console/network/pageerror), newest last. Filter by source, stream, grep, and tail incrementally with sinceSeq. Scope to one project's logs with app. For events around a specific moment use get_logs_around; to triage errors first use diagnose.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Scope to a specific app/project — matches a pane's label (project name) or id (see pane_list). Omit for all apps. | |
| grep | No | Case-insensitive regex (or substring if invalid). | |
| limit | No | Max events (default 200). | |
| source | No | Limit to one source: server, browser, or native. | |
| stream | No | Limit to one stream, e.g. stdout, stderr, console, network, pageerror. | |
| sinceSeq | No | Only events with seq >= this (for incremental tailing). |