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.3","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 on your own only verdict apply (checked on the installed version, proof.auto_apply true); show a lead to the user, a newer version than the checked ones included. readiness: patch, partial or lead. Opens with a five-line summary.","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. On no match it sends the error type and a scrubbed message (no code, paths, numbers or quoted values) to formachines.ai so missing errors get covered; ERRATA_NO_TELEMETRY=1 turns that off.","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}