get_query_stack_trace
Retrieve the source location of a database query by supplying the request ID and query index. Trace the query back to its exact code path to identify and fix Laravel performance issues.
Instructions
Get source location for a database query
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 | Yes | Clockwork request ID | |
| queryIndex | Yes | 0-based index of the query |