Routing fallback — siblings to a flagged endpoint
alternativesReturns up to 5 healthy alternative endpoints when preflight flags a URL as invalid. Filters dead and error candidates, ranks by uptime and latency.
Instructions
Given a URL flagged by preflight (or a taskClass hint), returns up to 5 healthy sibling endpoints in the same provider/domain/category/price-band. Filters out 7-day-dead and 1-hour-erroring candidates; ranks by uptime + latency. Costs $0.005 USDC. Use this immediately after preflight returns ok=false — it answers 'where do I go instead?'. Pass {url} when you have a specific URL the agent was about to pay; pass {taskClass} (e.g. 'llm-completions', 'Inference') when discovering by service category; or both for a richer match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL flagged by preflight (or otherwise rejected). Looked up in the catalog to extract provider / domain / category / price band as match keys. | |
| taskClass | No | Service category hint (e.g. 'llm-completions', 'Inference'). Used as a fallback match key when `url` is unknown to the catalog, OR alone for category-only discovery. | |
| limit | No | Max alternatives to return (1..10, default 5). |