Diagnose a failed request
diagnose_last_failureExplains why a Kurlo request failed by returning status, errors, failed tests, unset variables, response differences, and likely-cause hints for the most recent failure or a specified history entry.
Instructions
Explain why a request sent from the Kurlo app failed. Without entry it takes the most recent request that got no response, a 4xx or 5xx status, or failing tests. Returns the status, error, failed tests, the {{variables}} nothing sets, how the response differs from the saved example, and hints for the likely cause. Secrets are masked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry | No | History entry id from list_history. Defaults to the most recent failure. | |
| environment | No | Environment to check variables against. Defaults to the one active in the app. |