()
| 238 | } |
| 239 | |
| 240 | hasListChangedCapability(): boolean { |
| 241 | return !!this.client.getServerCapabilities()?.tools?.listChanged |
| 242 | } |
| 243 | |
| 244 | /** Chains with the SDK's internal onclose handler so its cleanup still runs. */ |
| 245 | onClose(callback: () => void): void { |