package architecture import "fmt" // Route selects a fixed read-only endpoint, not a model-supplied URL. func Route(tool string) (string, string, error) { switch tool { case "health": return "GET", "/api/v5/btc/health", nil case "balance": return "POST", "/api/v5/btc/wallet/balance", nil case "utxos": return "POST", "/api/v5/btc/wallet/utxos", nil default: return "", "", fmt.Errorf("unsupported tool %q", tool) } }