JUSTICE BUSBY delivered the opinion of the Court in which JUSTICE GUZMAN, JUSTICE LEHRMANN, JUSTICE DEVINE, JUSTICE BLAND, and JUSTICE HUDDLE joined, and in which CHIEF JUSTICE HECHT, JUSTICE BOYD, and JUSTICE BLACKLOCK joined as to Parts I and II. CHIEF JUSTICE HECHT filed an opinion dissenting in part, in which JUSTICE BOYD and JUSTICE BLACKLOCK joined. These mandamus petitions, which challenge rulings on a Rule 91a motion to dismiss, require us to examine the legal basis of claims against a liability insurer that solicited its insured to fund part of a settlement. According to the petition, the insurer chose to settle claims against its insured within policy limits but obtained a release that was contingent on the insured paying $100,000 of the $350,000 settlement. The insured paid and filed this suit for reimbursement, which the insurer seeks to dismiss on the ground that the insured’s claims for negligent failure to settle and for breach of contract have no basis in law. We agree with the insurer that the insured has no Stowers claim for negligent failure to settle because there was no judgment or settlement in excess of policy limits. But the insured can pursue her claim that the insurer breached its obligation to indemnify her for amounts she was legally responsible to pay under the settlement. The insurer does not assert that the settlement was unauthorized, but whether the insured can succeed on her claim may depend on other issues including coverage and the reasonableness of the settlement amount. We conditionally grant mandamus relief accordingly. BACKGROUND Gary Gibson sued Cassandra Longoria for damages he sustained in an automobile accident when Longoria rear-ended his vehicle. Longoria had purchased liability insurance from Farmers Texas County Mutual Insurance Company, which provided an attorney to represent her. Gibson alleged that Longoria’s negligence caused him serious bodily injury and sought damages of $1 million, which was more than Longoria’s $500,000 policy limit. Gibson designated experts, but Longoria alleges that the attorney representing her failed to designate an expert by the deadline, and the trial court denied a motion to make a late expert designation. Two months before trial, Gibson and Longoria attended mediation. Longoria, concerned about her potential liability for damages above her policy limits, brought her own attorney with her. The mediator proposed that the case settle for $350,000. After mediation, Gibson notified Farmers that he would accept the mediator’s proposal. Farmers made a counteroffer of $250,000. According to Longoria’s petition, Farmers “suggested” or “ma[de] a demand” that she “contribute the additional $100,000 necessary to secure a release.” Farmers also stated that Longoria had “created potential liability for gross negligence” even though that claim “had not been asserted by Gibson.” Gibson rejected Farmers’ $250,000 settlement offer and withdrew his own settlement offer, advising that he would now seek $2 million in damages. Before trial, Longoria’s personal counsel reopened settlement negotiations. Gibson again agreed to settle for $350,000. After Farmers again refused to contribute more than $250,000, Longoria offered to pay the additional $100,000 without waiving her right to seek recovery of that payment from Farmers. Gibson accepted and gave Longoria a release in exchange for Farmers’ and Longoria’s payments. Longoria then filed this suit against Farmers for negligent failure to settle, asserting that Farmers “failed to act as a reasonably prudent insurer” and as a result she had to pay $100,000 of her own funds to secure a release from Gibson. Farmers responded with a motion to dismiss under Texas Rule of Civil Procedure 91a on the ground that Longoria’s claim had no basis in law. Farmers argued that Texas law does not recognize a cause of action for negligent failure to settle—a Stowers claim—when there has not been a judgment against the insured exceeding policy limits. Longoria amended her petition to add claims for breach of contract, alleging that Farmers breached the policy by: failing to defend the suit by timely designating expert witnesses, failing to accept an offer to settle within policy limits, failing to use its coverage to secure a release, withholding $100,000 in coverage that it had a duty to pay, and demanding that Longoria contribute personal funds to settle a potential claim of gross negligence that had not been raised. Farmers filed another motion to dismiss, asserting that Longoria had no cause of action for breach of contract for the following reasons: Farmers had no contractual duty to pay damages because Longoria had not been held legally responsible for any damages, Farmers had a right under the policy to settle or defend “as we consider appropriate,” and its only duty to settle was the extra-contractual Stowers duty. The trial court denied both motions to dismiss. Farmers sought mandamus relief in the court of appeals, arguing that the trial court abused its discretion by denying the motions to dismiss. 604 S.W.3d 421 (Tex. App.—San Antonio 2019). The court of appeals agreed as to Longoria’s claim for breach of contract. Id. at 428. Regarding Longoria’s allegation that Farmers failed to timely designate experts, the court reasoned that it had had no basis in fact because she did not allege any damages as a result of the alleged breach. Id. at 427. Turning to Longoria’s allegation regarding Farmers’ failure to pay the settlement, the court concluded it had no basis in law because Farmers fulfilled its contractual obligation to “settle or defend” by electing to settle. Id. A majority of the court of appeals held, however, that the trial court properly denied Farmers’ motion to dismiss Longoria’s claim for negligent failure to settle. Id. at 429. Farmers argued that Longoria could not assert a Stowers claim absent a judgment in excess of policy limits. But the majority held that whether a Stowers claim always required an excess judgment was not so clearly established as to be free from doubt. Id. at 428. Both Farmers and Longoria seek mandamus relief in this Court. The parties disagree regarding whether Longoria’s claims for negligent failure to settle and breach of contract have a basis in law. ANALYSIS We explained over 25 years ago that it is “troubl[ing] for obvious reasons” when a liability insurer “solicit[s] a contribution to [a] settlement from its insured without committing its own policy limits.” Am. Physicians Ins. Exch. v. Garcia, 876 S.W.2d 842, 850 n.15 (Tex. 1994). Early in the last century, “the first qualifications to what had been unlimited insurer discretion to settle tort litigation came in situations where the insurance company bargained strategically with its insured . . . [,] us[ing] the risk of excess liability to coerce [the] insured to contribute to a settlement within the [policy] limits and below the expected [amount of a] judgment [against the insured].” Kent D. Syverud, The Duty to Settle, 76 VA. L. REV. 1113, 1153 (1990). As courts recognized various legal theories to limit this strategic behavior, many insurance companies “chose[] simply to get out of the game [of suggesting contributions by their insureds] altogether,” id. at 1156, but Longoria alleges that Farmers engaged in such behavior here. In reviewing Farmers’ Rule 91a motion to dismiss, we must decide whether this alleged behavior fits into certain of the modern doctrinal pigeonholes of Texas insurance law: specifically, whether an insured who contributes to a within-limits settlement in response to a solicitation or demand by her insurer can bring a claim for reimbursement under Stowers or the insurance policy. Standard of review Under Rule 91a, a party may move for dismissal on the ground that a cause of action has no basis in law. “A cause of action has no basis in law if the allegations, taken as true, together with inferences reasonably drawn from them, do not entitle the claimant to the relief sought.” TEX. R. CIV. P. 91a.1. In ruling on a Rule 91a motion to dismiss, a court may not consider evidence but “must decide the motion based solely on the pleading of the cause of action, together with any [permitted] pleading exhibits.” TEX. R. CIV. P. 91a.6. We review the merits of a Rule 91a ruling de novo; whether a defendant is entitled to dismissal under the facts alleged is a legal question. City of Dallas v. Sanchez, 494 S.W.3d 722, 724 (Tex. 2016) (per curiam). Mandamus relief is appropriate when the trial court abuses its discretion in denying a Rule 91a motion to dismiss. See In re Essex Ins. Co., 450 S.W.3d 524, 528 (Tex. 2014). Longoria has no Stowers claim against Farmers for negligent failure to settle because her liability did not exceed policy limits. Longoria’s first claim against Farmers is a Stowers action for negligent failure to settle, and she contends that Farmers failed to act as a reasonably prudent insurer would have done. In particular, she alleges that Farmers owed her a duty to accept a reasonable settlement offer within policy limits, that Gibson’s offer to settle for $350,000 was reasonable especially considering Farmers’ failure to designate an expert, and that Farmers’ failure to pay that amount in full was a breach of its duty. Farmers moved to dismiss this claim, arguing that a cause of action for negligent failure to settle exists only if the insurer’s failure results in a judgment against the insured in excess of policy limits, which did not occur here. Under the Stowers doctrine, an insurer has a common-law duty to settle third-party claims against its insureds when it is reasonably prudent to do so. Phillips v. Bramlett, 288 S.W.3d 876, 879 (Tex. 2009) (citing G.A. Stowers Furniture Co. v. Am. Indem. Co., 15 S.W.2d 544 (Tex. Comm’n App. 1929, holding approved)). The duty arises when (1) the third party’s claim against the insured is within the scope of coverage; (2) the settlement demand is within policy limits; and (3) the terms of the demand are “such that an ordinarily prudent insurer would accept it, considering the likelihood and degree of the insured’s potential exposure to an excess judgment.” Id. (citing Garcia, 876 S.W.2d at 849). When these conditions are met and “the insurer’s negligent failure to settle results in an excess judgment against the insured, the insurer is liable under the Stowers Doctrine for the entire amount of the judgment, including that part exceeding the insured’s policy limits.” Id. (emphasis added) (citing G.A. Stowers Furniture Co., 15 S.W.2d at 548). We have consistently recognized the requirement that an insured be liable in excess of policy limits—whether as a result of judgment or settlement—in order to bring a Stowers claim. See, e.g., Am. Centennial Ins. Co. v. Canal Ins. Co., 843 S.W.2d 480, 481 (Tex. 1992) (allowing excess insurance carrier to assert Stowers claim against primary carrier where insured’s liability was result of settlement); Murray v. San Jacinto Agency, Inc., 800 S.W.2d 826, 829 (Tex. 1990) (noting that the injury- producing event in determining when a Stowers claim accrues is the “underlying judgment in excess of policy limits“) (emphasis added). We decline to extend Stowers to cases in which there is no liability in excess of policy limits. We explained in Stowers that an insurer, when defending its insured, acts as the insured’s agent and is bound to exercise ordinary care to protect the insured’s interests. 15 S.W.2d at 547. But in cases where there is a substantial risk that the insured’s liability will exceed policy limits, a conflict may arise between the insurer and the insured. Phillips, 288 S.W.3d at 881; see Canal Ins. Co., 843 S.W.2d at 484 (opinion of Doggett, J.) (noting that the varying interests of the insured and the insurer can produce “complex and often conflicting relationships”). In such cases, an insurer may refrain from accepting a reasonable settlement offer under the assumption that any adverse judgment will exhaust policy limits and expose only the insured’s money to risk. Phillips, 288 S.W.3d at 881. Permitting a Stowers cause of action eliminates this potential conflict, encouraging prompt and reasonable settlements. Id. But we see no reason to extend Stowers to impose potential extra-contractual damages on an insurer in cases where an insured has no liability in excess of policy limits. See Garcia, 876 S.W.2d at 849 (describing the Stowers remedy as “shifting the risk of an excess judgment onto the insurer”). In such cases, the contract between the insured and insurer sets out the carrier’s obligations and protects the insured. See RESTATEMENT OF THE LAW OF LIABILITY INSURANCE § 24 cmt. b (2019) (explaining that insurer’s contractual liability for damages within policy limits provides incentive for insurer to make reasonable settlement decisions). Longoria points out that an excess judgment is not a necessary element of a Stowers claim, as we allowed recovery based on an excess settlement in Canal. See Canal, 843 S.W.2d 480. But Canal does not undermine the principle that liability in excess of policy limits is necessary. In that case, General Rent–A–Car was sued after a tire blew out on one of its cars. Id. at 481. General was insured by three insurers: Canal provided primary coverage up to $100,000, and First State and American Centennial provided excess coverage. Id. Canal investigated and defended the suit, and the carriers eventually settled for $3.7 million. Id. The excess carriers sued Canal, alleging that it mishandled the claim. Id. We considered whether an excess carrier was equitably subrogated to its insured’s rights against a primary carrier for negligently settling the claim. Id. at 482. We held that an excess carrier did have such equitable subrogation rights, permitting that carrier to maintain the insured’s cause of action against the primary carrier. Id. at 485 (Hecht, J., concurring).[1] We noted that “[i]f the excess carrier had no remedy, the primary insurer would have less incentive to settle within the policy limits.” Id. at 483 (Opinion of Doggett, J.). Our holding in Canal—that an excess carrier may sue a primary carrier that negligently settles for more than policy limits—is consistent with Stowers‘ goal of encouraging prompt and reasonable settlements within policy limits. See Phillips, 288 S.W.3d at 881. When a claim settles within policy limits, however, Stowers liability is not needed to resolve a conflict between insured and insurer. The insurance contract fully addresses the parties’ common-law obligations in that circumstance. In sum, our precedent has consistently recognized a Stowers cause of action only when the insured’s liability exceeds policy limits. Longoria’s claim for Farmers’ negligent failure to settle within policy limits has no basis in law because her “allegations, taken as true, . . . do not entitle [her] to the relief sought” under Stowers. See TEX. R. CIV. P. 91a.1. We hold the trial court abused its discretion by denying Farmers’ motion to dismiss that claim. Longoria has not alleged a viable claim for breach of Farmers’ contractual obligation to defend, but she has alleged a breach of its indemnity obligation. Turning to the insurance policy, Longoria alleges two principal breaches by Farmers: (1) Farmers breached its obligation to defend Longoria against Gibson’s suit by failing to designate expert witnesses on time; and (2) Farmers breached its obligation to pay a settlement within policy limits when it chose to settle without exhausting coverage or securing a release for Longoria, demanding instead that she contribute personal funds to the settlement because she was potentially liable for an uncovered claim. Longoria seeks the same damages for both breaches: reimbursement of the $100,000 she contributed to the settlement, which she characterizes as “withheld coverage.” In its motion to dismiss, Farmers contended that Longoria’s claims for breach of contract have no basis in law given the following policy language: We will pay damages for bodily injury or property damage for which any covered person becomes legally responsible because of an auto accident. . . . We will settle or defend, as we consider appropriate, any claim or suit asking for these damages Our duty to settle or defend ends when our limit of liability for this coverage has been exhausted. Farmers advances several arguments in support of this position, and we consider those arguments as they apply to each of the alleged breaches.[2] Breach of obligation to defend the suit We begin with Longoria’s allegation that Farmers breached its obligation to defend her. Farmers responds that the policy gave it the right to defend “as we consider appropriate,” and it points to the lack of any allegation that it failed to defend Longoria as it considered appropriate. The contractual right of an insurer to conduct the required defense includes the authority to select an attorney and “make other decisions that would normally be vested in the insured as the named party in the case.” North Cty. Mut. Ins. Co. v. Davalos, 140 S.W.3d 685, 688 (Tex. 2004). This contractual right of control means that an insured generally cannot second-guess the insurer’s decisions. Id. at 689. But we have also held that the right is not absolute, and we have recognized standards for determining whether the obligation to defend has been breached. Id. (“Under certain circumstances, however, an insurer may not insist upon its contractual right to control the defense.”). In Davalos, we provided several examples of how an insurer can breach its duty to defend, thereby allowing the insured to refuse the insurer’s offered defense and seek damages. 140 S.W.3d at 689 (citing 1 ALLAN D. WINDT, INSURANCE CLAIMS AND DISPUTES § 4.25 at 393 (4th ed. 2001)). Longoria has not shown that the defensive defect she alleges here falls within any of the circumstances we identified as actionable in Davalos. Longoria seeks to hold Farmers liable because the attorney it provided for her failed to secure and timely designate experts to testify in her favor on the issues of causation and amount of damages. We have held, however, that ordinarily “a liability insurer is not vicariously responsible for the conduct of an independent attorney it selects to defend an insured.” State Farm Mut. Auto. Ins. Co. v. Traver, 980 S.W.2d 625, 628 (Tex. 1998). Longoria identifies no pleaded facts that would take her claim outside this legal rule. Longoria’s claim that Farmers breached the policy based on counsel’s conduct therefore has no basis in law. Breach of indemnity obligation Longoria also alleges that Farmers breached its contractual obligations regarding indemnity and settlement. Some of her allegations echo her Stowers claim: Farmers failed to accept an offer to settle within policy limits, subjecting her to the risk of an excess verdict. But other allegations focus on Farmers withholding payment for a covered loss: Farmers failed to use its coverage to secure a release, withheld $100,000 in coverage that it had a duty to pay, and demanded that Longoria contribute personal funds to settle a potential claim of gross negligence that had not been raised. The latter allegations implicate Farmers’ indemnity obligation: its contractual promise to pay damages for which Longoria becomes legally responsible. Considering solely Longoria’s petition and Texas law, as we must under Rule 91a, we conclude that Longoria may pursue a claim for breach of Farmers’ duty to indemnify. The policy’s indemnity provision “An insurance policy is a contract that establishes the respective rights and obligations to which an insurer and its insured have mutually agreed,” and we generally “construe a policy using the same rules that govern the construction of any other contract.” USAA Tex. Lloyds Co. v. Menchaca, 545 S.W.3d 479, 488 (Tex. 2018) (cleaned up). “In liability insurance policies generally, an insurer assumes . . . the duty to indemnify the insured, that is, to pay all covered claims and judgments against an insured . . . subject to the terms of the policy.” D.R. Horton– Tex., Ltd. v. Markel Int’l Ins. Co., 300 S.W.3d 740, 743 (Tex. 2009) (cleaned up).[3] According to Longoria’s petition, the policy provides that Farmers “will pay damages for bodily injury or property damage for which any covered person becomes legally responsible because of an auto accident.” Longoria has alleged that she is a covered person, and that she and Farmers paid an amount within Farmers’ limit of liability to settle Gibson’s claims of bodily injury and property damage because of an auto accident. Farmers argues it did not breach its obligation to pay the remainder, however, because no court has determined that Longoria was “legally responsible” for the $100,000 she contributed to the settlement. Gibson’s suit against Longoria settled before trial, this argument runs, so she will never become legally responsible for damages and therefore cannot maintain a claim against Farmers for breach of contract. We disagree. Because Texas courts recognize that an insured can become legally responsible due to a settlement, Longoria has alleged facts that trigger Farmers’ payment obligation under the plain language of this policy provision. “A court judgment against an insured is not the only manner by which an insured can become legally obligated to pay a claim; a legal obligation can also arise out of a contract, such as a settlement.” 46 TEX. JUR. 3D INSURANCE CONTRACTS & COVERAGE § 893.[4] For example, we have held that an excess insurer was obligated to indemnify an insured for liability established by settlement. Evanston Ins. Co. v. ATOFINA Petrochems., Inc., 256 S.W.3d 660, 675 (Tex. 2008) (holding ATOFINA was an insured under the policy and therefore entitled to coverage for its contribution to settlement). And Texas courts of appeals have construed similar policy language “to provide unambiguously that the duty to indemnify arises only after an insured’s legal responsibility for covered damages has been established by judgment or settlement. [This] conclusion finds ample support in our State’s jurisprudence and other authorities.” Ohio Cas. Ins. Co. v. Time Warner Entm’t Co., L.P., 244 S.W.3d 885, 890 (Tex. App.—Dallas 2008, pet. denied) (emphasis added);[5] see 2 ALLAN D. WINDT, INSURANCE CLAIMS & DISPUTES § 6:6 (“Third-party liability policies require, as a condition precedent to the insurer’s liability, that the insured be liable to a third person, by means of either a judgment or a settlement.”). A contrary rule that insists on a judgment before indemnity can be sought “would contravene the policy of the courts to encourage settlements and to minimize litigation.” Getty Oil Co. v. Ins. Co. of N. Am., 845 S.W.2d 794, 799 (Tex. 1992).[6] Here, Longoria’s petition attaches the agreement settling Gibson’s suit. The agreement provided that Gibson released Longoria for consideration of $350,000: $250,000 to be paid by Farmers and $100,000 to be paid by Longoria. This settlement establishes that Longoria was “legally responsible” for damages because of the auto accident with Gibson. See Ohio Cas. Ins. Co., 244 S.W.3d at 890. Moreover, Farmers participated in the settlement, tendering $250,000 in payment of its portion of Gibson’s claim and thereby preventing a determination of liability at trial. It would be strange indeed if Farmers’ participation had the effect of relieving it of any obligation under the policy to pay Gibson. Farmers points out that a different policy clause gave it the right to “settle . . . as it considers appropriate.” Longoria’s petition appears to allege that Farmers also breached this clause by failing to accept an offer to settle within policy limits. We agree with Farmers that this part of her claim for breach of contract has no basis in law. Farmers concluded it was appropriate here to structure a settlement under which both it and Longoria contributed funds to obtain a release. See 14A COUCH ON INSURANCE § 203:30 (“[A]n insurer can and should condition settlement upon the injured party releasing the insured.”). But Longoria can assert— and has asserted—a claim against Farmers for breaching its separate promise to pay the damages for which this settlement made her legally responsible. Other issues that may affect Longoria’s claim Our conclusion that Longoria has alleged facts meeting the elements stated in her policy’s indemnity provision does not mean she will succeed in proving that Farmers is liable for breach of the policy. Because this case comes to us on a Rule 91a motion, we may not consider evidence regarding what Farmers’ reasons were for non-payment or whether those reasons implicate other policy provisions or legal doctrines that would prevent any liability for breach.[7] TEX. R. CIV. P. 91a.6. The entire policy is not before us because it was neither quoted in Longoria’s petition nor attached as an exhibit. Id. On remand, Farmers is free to offer evidence that it did not breach the policy. More generally, we do not hold that insureds who settle third-party claims unilaterally— without the consent or participation of their insurers—are entitled to reimbursement under their policies. The indemnity provision is only one part of a liability insurance policy, and there are other legal grounds that may prevent an insurer from being obligated to pay a settlement.[8] For example, Longoria pleads some facts suggesting that Farmers decided not to pay the entire settlement because it concluded part of Gibson’s suit was not covered by the policy. She alleges that a reason Farmers gave for soliciting her personal contribution to the settlement was that she had “created potential liability for gross negligence”; she also alleges that Gibson had not asserted a claim for gross negligence. Farmers does not address these allegations or take a position on what Gibson pled or whether its policy would cover liability for gross negligence. If a policy does not provide coverage for a claim made against an insured, the insurer has no duty to indemnify regarding that claim. See, e.g., Mid–Continent Cas. Co. v. Castagna, 410 S.W.3d 445, 450 (Tex. App.—Dallas 2013, pet. denied). On the other hand, if the insurer wrongly denies coverage, the insured is entitled under the policy to have the insurer pay the amount for which she is legally responsible.[9]