spraay_logs_query
Query structured logs by service, level, and time range. Returns newest entries first. Cost: $0.003 USDC.
Instructions
Query structured logs by service, level, and time range. Returns matching log entries sorted newest first. Data persists in Supabase. Costs $0.003 USDC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Filter by log level | |
| limit | No | Max results to return (default: '50', max: '500') | |
| since | No | Start time in ISO 8601 format (e.g. '2026-03-01T00:00:00Z') | |
| service | No | Filter by service name (e.g. 'batch-agent') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway call succeeded; false when it returned an error. | |
| data | No | The gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block). | |
| error | No | Human-readable error message, present only when ok is false. |