Diagnose a proxy error
diagnose_proxy_errorDiagnose proxy failures from structured client, phase, status, or exception data; identify likely causes, next checks, uncertainty, and retry boundaries without sending raw logs, URLs, or credentials.
Instructions
Use structured client/version, phase, status or exception observations to identify possible causes and the next check. Returns uncertainty and retry boundaries. Do not send raw logs, URLs or credentials.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phase | Yes | ||
| client | Yes | ||
| method | No | unknown | |
| status | No | Observed HTTP status; identify its responding layer separately. | |
| version | Yes | ||
| exception | No | Normalized category, not raw exception text. HTTPX ConnectError alone does not establish a TLS error. | |
| responseSource | No | Use target/proxy only when established by response provenance, not merely the status code. | unknown |
| retryAfterSeconds | No | Parsed bounded Retry-After delay, if actually observed. Never submit the raw header. | |
| requestMayHaveBeenSent | No | Whether this target request may already have reached the application. Omit when unknown. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| retry | Yes | ||
| client | Yes | ||
| sources | Yes | ||
| summary | Yes | ||
| version | Yes | ||
| evidence | Yes | ||
| candidates | Yes | ||
| uncertainty | Yes | ||
| rulesRevision | Yes |