{"at":"2026-11-23T03:40:01.393Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T03:40:01.740Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T03:40:01.840Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T03:40:02.211Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"rendercheck","version":"0.6.0"}}}}
{"at":"2026-11-23T03:40:02.212Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T03:40:02.212Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T03:40:02.215Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Check from a screenshot that expected text is really visible to a user (not just in the DOM). Runs local OCR, offline. Returns pass/fail, what was read, confidence and, on failure, the reason (NOT_FOUND, LOW_CONFIDENCE, INSUFFICIENT_CONTRAST) and where on the screenshot. Use it after changing UI to confirm the change rendered.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"exact":{"description":"Require the region text to equal the expected text","type":"boolean"},"expected":{"description":"The text a user should be able to read","type":"string"},"ignore_case":{"type":"boolean"},"image_base64":{"description":"Base64 PNG or JPEG, if there is no file path","type":"string"},"image_path":{"description":"Path to a PNG or JPEG screenshot on this machine","type":"string"},"min_confidence":{"description":"OCR confidence, default 80","maximum":100,"minimum":0,"type":"number"},"min_contrast_ratio":{"description":"WCAG contrast ratio, e.g. 4.5","maximum":21,"minimum":1,"type":"number"},"region":{"description":"Only read this part of the screenshot (pixels from the top-left corner)","properties":{"height":{"type":"number"},"width":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y","width","height"],"type":"object"}},"required":["expected"],"type":"object"},"name":"verify_text","title":"Verify text is visible on screen"},{"description":"OCR a screenshot locally and return the text a user would see, line by line with confidence and position. Use it to see what actually rendered when you do not know what to expect.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"image_base64":{"description":"Base64 PNG or JPEG, if there is no file path","type":"string"},"image_path":{"description":"Path to a PNG or JPEG screenshot on this machine","type":"string"},"region":{"description":"Only read this part of the screenshot (pixels from the top-left corner)","properties":{"height":{"type":"number"},"width":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y","width","height"],"type":"object"}},"type":"object"},"name":"read_text","title":"Read the text visible in a screenshot"}]}}}
