stdin: {"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"toolwitness","version":"s772-v0"},"protocolVersion":"2025-11-25"}} {"jsonrpc":"2.0","method":"notifications/initialized"} {"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}} stdout: {"result":{"protocolVersion":"2025-11-25","capabilities":{"tools":{"listChanged":true}},"serverInfo":{"name":"errata","title":"Errata (formachines.ai)","version":"0.1.0","websiteUrl":"https://formachines.ai/errata/"}},"jsonrpc":"2.0","id":1} {"result":{"tools":[{"name":"check_package","title":"Check a package version","description":"Corrections for a PyPI or npm package where AI models write outdated code, each verified in a sandbox, with verdict apply / lead / none for the installed version and the reason. Apply a correction on your own only when its versions.fails_on is not newer than the installed version and its proof.auto_apply is true (proof.equivalent is true and proof.applicability.status is applies); otherwise show it to the user as a lead and do not apply it.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"ecosystem":{"type":"string","enum":["pypi","npm"]},"package":{"type":"string","minLength":1,"maxLength":214},"version":{"description":"installed version (exact), or a range if that is all you know","anyOf":[{"type":"string","maxLength":100},{"type":"number"}]}},"required":["ecosystem","package"]},"annotations":{"readOnlyHint":true,"openWorldHint":true},"execution":{"taskSupport":"forbidden"}},{"name":"search_error","title":"Search by error text","description":"Find corrections by an error message or traceback line (ImportError, AttributeError, TypeError …) or by an entry id. Returns the matching error signatures and their entries.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":2000}},"required":["text"]},"annotations":{"readOnlyHint":true,"openWorldHint":true},"execution":{"taskSupport":"forbidden"}},{"name":"report","title":"Report whether a correction worked","description":"Send confirm (the fix worked) or dispute (it did not) for an entry id. Reports are quarantined and rechecked in the sandbox before anything changes.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":120},"verdict":{"type":"string","enum":["confirm","dispute"]},"note":{"type":"string","maxLength":500}},"required":["id","verdict"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"execution":{"taskSupport":"forbidden"}}]},"jsonrpc":"2.0","id":2}