tail_logs
Read recent log events, newest last. Narrow results by topic, level, or text to find relevant events, and pass the returned cursor back as 'since' to read only new events.
Instructions
Read recent log events, newest last. ALWAYS narrow with topic and/or level - the firehose can be thousands of events per second. Returns a cursor; pass it back as since to read only what is new since your last call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Minimum level; ERROR is the usual choice when hunting a bug | |
| limit | No | Max events (default 50, cap 200) | |
| since | No | Cursor from a previous call; 0 or omitted starts from the oldest kept | |
| topic | No | Exact topic (cpp.clock), a prefix ending in a dot (cpp. matches all cpp streams), or * for all | |
| trace | No | Follow ONE user action across every stream by its correlation id. This is the best tool for "what happened when X was pressed" - it deliberately ignores topic. | |
| contains | No | Only events whose text contains this (case-insensitive) |