recommend_failover
Should you RETRY the same target, SWITCH provider, FALL BACK to another chain, or STOP? Pass the error + your configured topology (current_chain, available_chains, and/or current_provider, available_providers) and get deterministic routing advice with the reason — so a flaky Solana RPC doesn't get retried 5x when you should switch to Base. Free, no token, no LLM. Reads only what you tell it (no network calls).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | Yes | the error you hit | |
| current_chain | No | the chain you're on (e.g. 'solana') | |
| available_chains | No | fallback chains you can use (e.g. ['base','arbitrum']) | |
| current_provider | No | the RPC/provider you're using (e.g. 'helius') | |
| available_providers | No | backup providers on the same chain |