read_logs
Fetch recent Gadget app logs via the ggt CLI to debug errors, failed actions, or webhooks; filter by time, level, text, or app-only logs.
Instructions
Read recent logs from the Gadget app (via the ggt CLI) to debug errors, failed actions or webhooks. Defaults to the last 15 minutes at info level. Needs a one-time npx ggt login on this machine.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Minimum level (default info); use "error" to find failures | |
| limit | No | Max log lines to return, newest last (default 100, max 500) | |
| since | No | How far back: "15m", "2h", "1d", or an ISO timestamp (default 15m) | |
| search | No | Only return log lines containing this text (case-insensitive), e.g. a record ID or action name | |
| my_logs | No | Only logs from the app's own code, hiding platform logs |