(
tool: AnyToolDefinition,
config: ReadonlyServerConfig,
private readonly getContext: () => Promise<McpContext>,
private readonly abandonPendingBrowserAttemptOnTimeout: () => void,
)
| 247 | #disabledReason?: string; |
| 248 | |
| 249 | constructor( |
| 250 | tool: AnyToolDefinition, |
| 251 | config: ReadonlyServerConfig, |
| 252 | private readonly getContext: () => Promise<McpContext>, |
| 253 | private readonly abandonPendingBrowserAttemptOnTimeout: () => void, |
| 254 | ) { |
| 255 | this.#tool = tool; |
| 256 | this.#config = config; |
| 257 | this.#registeredInputSchema = zod.object(tool.schema).strict(); |
| 258 | this.#updateStatus(tool); |
| 259 | } |
| 260 | |
| 261 | get registeredInputSchema(): zod.ZodObject< |
| 262 | zod.ZodRawShape, |
nothing calls this directly
no test coverage detected