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":"llmintel","version":"0.2.0"}},"jsonrpc":"2.0","id":1} {"result":{"tools":[{"name":"check_model","title":"Check a model's lifecycle status","description":"Check whether an LLM model id is safe to use, deprecated, or retired, and what to migrate to. Accepts the exact string used in code (e.g. 'gpt-4o', 'claude-sonnet-4-5-20250929', 'anthropic/claude-opus-4-1'). Call this before writing or changing any hardcoded model id.","inputSchema":{"type":"object","properties":{"model":{"type":"string","minLength":1,"description":"Model id or alias exactly as it appears in code, e.g. 'gpt-4o'."}},"required":["model"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"openWorldHint":true},"execution":{"taskSupport":"forbidden"}},{"name":"list_retiring_models","title":"List models retiring soon","description":"List tracked models scheduled to retire within a time window, soonest first. Use this to audit a codebase or plan migration work.","inputSchema":{"type":"object","properties":{"withinDays":{"type":"integer","exclusiveMinimum":0,"maximum":1095,"default":180,"description":"Only include models retiring within this many days. Defaults to 180."},"provider":{"type":"string","enum":["openai","anthropic","azure","bedrock","google","cohere","mistral"],"description":"Restrict to one provider. Omit for all providers."}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"openWorldHint":true},"execution":{"taskSupport":"forbidden"}},{"name":"suggest_replacement","title":"Suggest a replacement for a model","description":"Given a deprecated or retiring model, return the provider's recommended replacement(s) and, when none is published, active models from the same provider to consider.","inputSchema":{"type":"object","properties":{"model":{"type":"string","minLength":1,"description":"Model id or alias to find a replacement for."}},"required":["model"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"openWorldHint":true},"execution":{"taskSupport":"forbidden"}},{"name":"search_models","title":"Search the model catalog","description":"List tracked models, optionally filtered by provider and lifecycle state. Use this to discover what is currently available from a provider.","inputSchema":{"type":"object","properties":{"provider":{"type":"string","enum":["openai","anthropic","azure","bedrock","google","cohere","mistral"],"description":"Filter by provider."},"state":{"type":"string","enum":["announced","active","legacy","deprecated","retiring","retired"],"description":"Filter by canonical lifecycle state, e.g. 'active' or 'deprecated'."},"limit":{"type":"integer","exclusiveMinimum":0,"maximum":200,"default":50,"description":"Maximum results."}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"openWorldHint":true},"execution":{"taskSupport":"forbidden"}},{"name":"recent_lifecycle_changes","title":"Recent lifecycle changes","description":"Lifecycle state changes across all tracked providers, newest first. Use this to answer 'what model deprecations happened recently?'.","inputSchema":{"type":"object","properties":{"sinceDays":{"type":"integer","exclusiveMinimum":0,"maximum":365,"default":30,"description":"Look back this many days. Defaults to 30."},"provider":{"type":"string","enum":["openai","anthropic","azure","bedrock","google","cohere","mistral"],"description":"Restrict to one provider."}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"openWorldHint":true},"execution":{"taskSupport":"forbidden"}}]},"jsonrpc":"2.0","id":2}