(
tool: AnyToolDefinition,
config: ReadonlyServerConfig,
private readonly getContext: () => Promise<McpContext>,
private readonly abandonPendingBrowserAttemptOnTimeout: () => void,
)
| 272 | #disabledReason?: string; |
| 273 | |
| 274 | constructor( |
| 275 | tool: AnyToolDefinition, |
| 276 | config: ReadonlyServerConfig, |
| 277 | private readonly getContext: () => Promise<McpContext>, |
| 278 | private readonly abandonPendingBrowserAttemptOnTimeout: () => void, |
| 279 | ) { |
| 280 | this.#tool = tool; |
| 281 | this.#config = config; |
| 282 | this.#registeredInputSchema = zod.object(tool.schema).strict(); |
| 283 | this.#updateStatus(tool); |
| 284 | } |
| 285 | |
| 286 | get registeredInputSchema(): zod.ZodObject< |
| 287 | zod.ZodRawShape, |
nothing calls this directly
no test coverage detected