detect_n_plus_one
Detect N+1 query patterns in Laravel HTTP requests to identify unnecessary database queries and optimize performance. Filter by URI, time range, or request ID for targeted analysis.
Instructions
Detect N+1 query patterns in a request
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Analyze all available requests (max 100) | |
| uri | No | Filter by URI pattern (substring match) | |
| count | No | Number of recent HTTP requests to analyze | |
| since | No | Time duration to look back (e.g., "30m", "1h", "2d", "1w") | |
| token | No | Pre-authenticated X-Clockwork-Auth token (alternative to password) | |
| baseUrl | No | Clockwork application base URL (e.g. https://my-app.test). Overrides CLOCKWORK_BASE_URL / local storage for this call | |
| password | No | Clockwork authentication password | |
| username | No | Clockwork authentication username | |
| requestId | No | Specific request ID (highest priority) | |
| threshold | No | Min repetitions to flag as N+1 |