pool_test
Test asynchronous responses within the browser pool MCP server to verify functionality and ensure reliable operation of concurrent, isolated Playwright browser sessions.
Instructions
Test async response
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes |
Implementation Reference
- index.js:479-491 (handler)The handler function for the 'pool_test' tool, which logs the input, simulates an asynchronous delay, and returns a formatted response.
server.tool('pool_test', 'Test async response', { message: z.string() }, async (args) => { log(`[pool_test] called with: ${JSON.stringify(args)}`); // Simulate async operation await new Promise(r => setTimeout(r, 100)); const response = { content: [{ type: 'text', text: `Received: ${args.message}` }] }; log(`[pool_test] returning: ${JSON.stringify(response)}`); return response;