{"at":"2026-11-23T04:16:26.415Z","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-23T04:16:26.830Z","dir":"received","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"altinkaya-mcp","version":"0.1.0"}},"cacheScope":"private","capabilities":{"completions":{},"prompts":{"listChanged":true},"resources":{"listChanged":true},"tools":{"listChanged":true}},"instructions":"Altınkaya electronic enclosure catalog (Turkish manufacturer).\nWorkflow for picking an enclosure:\n1. filter_enclosures with min_outer_mm = contents size (plus clearance), min_ip, materials or category.\n2. get_enclosure for the shortlisted codes; compare_enclosures to weigh options.\n3. get_cad_files for the drawing (inner dimensions, PCB bosses) and STEP model.\nAll dimensions are millimetres. Listed dimensions are OUTER; usable inner space is smaller, so\nconfirm it on the drawing. Product names are Turkish with English names when available.\nData is crawled monthly from altinkaya.com; prices and stock are not included.","resultType":"complete","supportedVersions":["2026-07-28"],"ttlMs":0}}}
{"at":"2026-11-23T04:16:26.830Z","dir":"sent","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T04:16:26.837Z","dir":"received","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"altinkaya-mcp","version":"0.1.0"}},"cacheScope":"private","resultType":"complete","tools":[{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Keyword search across the Altınkaya enclosure catalog: product codes (EC-1015, RT-014), Turkish or English names, categories, materials and IP ratings.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"limit":{"default":10,"maximum":50,"minimum":1,"type":"integer"},"query":{"description":"e.g. \"EC-1015\", \"IP67 abs\", \"din rail\", \"el tipi\"","minLength":1,"type":"string"}},"required":["query"],"type":"object"},"name":"search_enclosures","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"results":{"items":{"additionalProperties":false,"properties":{"category":{"type":"string"},"code":{"type":"string"},"ipRating":{"type":["string","null"]},"materials":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"nameEn":{"type":["string","null"]},"outerMm":{"description":"A × B × C in mm","type":["string","null"]},"slug":{"description":"Unique id; use it when a code matches several products","type":"string"},"url":{"type":"string"}},"required":["code","slug","name","nameEn","category","outerMm","materials","ipRating","url"],"type":"object"},"type":"array"},"total":{"type":"number"}},"required":["total","results"],"type":"object"},"title":"Search enclosures"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Parametric search: outer size limits, minimum IP rating, material and category. Use min_outer_mm with your PCB or contents size as a first pass, then confirm the inner space on the drawing. Dimensions are outer dimensions in mm. Usable inner space is smaller: check the drawing (get_cad_files) before committing to a PCB size.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"category":{"description":"Category id, slug or name (includes subcategories)","type":"string"},"limit":{"default":20,"maximum":100,"minimum":1,"type":"integer"},"materials":{"description":"Any of, e.g. [\"ABS\", \"Alüminyum\"]","items":{"type":"string"},"type":"array"},"max_outer_mm":{"description":"Outer dimensions must be at most this","properties":{"x":{"exclusiveMinimum":0,"type":"number"},"y":{"exclusiveMinimum":0,"type":"number"},"z":{"exclusiveMinimum":0,"type":"number"}},"required":["x","y","z"],"type":"object"},"min_ip":{"description":"e.g. \"IP65\"","pattern":"^IP\\s*[\\dX][\\dX]$","type":"string"},"min_outer_mm":{"description":"Outer dimensions must be at least this","properties":{"x":{"exclusiveMinimum":0,"type":"number"},"y":{"exclusiveMinimum":0,"type":"number"},"z":{"exclusiveMinimum":0,"type":"number"}},"required":["x","y","z"],"type":"object"},"offset":{"default":0,"maximum":9007199254740991,"minimum":0,"type":"integer"},"query":{"description":"Optional keyword filter","type":"string"},"sort":{"default":"volume","description":"volume = smallest first","enum":["volume","code"],"type":"string"}},"type":"object"},"name":"filter_enclosures","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"note":{"type":"string"},"offset":{"type":"number"},"results":{"items":{"additionalProperties":false,"properties":{"category":{"type":"string"},"code":{"type":"string"},"ipRating":{"type":["string","null"]},"materials":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"nameEn":{"type":["string","null"]},"outerMm":{"description":"A × B × C in mm","type":["string","null"]},"slug":{"description":"Unique id; use it when a code matches several products","type":"string"},"url":{"type":"string"}},"required":["code","slug","name","nameEn","category","outerMm","materials","ipRating","url"],"type":"object"},"type":"array"},"total":{"type":"number"}},"required":["total","offset","results","note"],"type":"object"},"title":"Filter enclosures"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Full details for one enclosure: all specifications, drawing dimensions, documents, images and its variants (colors, lids, lengths… with order codes and barcodes). optionValues lists every option; pass `options` to get the order code of a specific configuration.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"code":{"description":"Model code (EC-1015), variant order code (EC-1015-7-0-0-G-0) or slug","type":"string"},"options":{"additionalProperties":{"type":"string"},"description":"Only variants with these options, e.g. { \"Renk\": \"Siyah\" }","propertyNames":{"type":"string"},"type":"object"},"variant_limit":{"default":50,"maximum":500,"minimum":1,"type":"integer"}},"required":["code"],"type":"object"},"name":"get_enclosure","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"category":{"type":"string"},"enclosure":{"additionalProperties":false,"properties":{"categoryId":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"code":{"type":"string"},"documents":{"items":{"additionalProperties":false,"properties":{"name":{"type":"string"},"type":{"enum":["drawing","dxf","step","ip-certificate","machining-template","print-template","other"],"type":"string"},"url":{"format":"uri","type":"string"}},"required":["type","name","url"],"type":"object"},"type":"array"},"drawing":{"additionalProperties":{"type":"number"},"propertyNames":{"type":"string"},"type":"object"},"id":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"images":{"items":{"format":"uri","type":"string"},"type":"array"},"ipRating":{"type":["string","null"]},"materials":{"items":{"type":"string"},"type":"array"},"name":{"additionalProperties":false,"properties":{"en":{"type":["string","null"]},"tr":{"type":"string"}},"required":["tr","en"],"type":"object"},"operatingTemperature":{"anyOf":[{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"required":["min","max"],"type":"object"},{"type":"null"}]},"optionValues":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"description":"Every option and its possible values, e.g. { Renk: [Siyah, Açık Gri] }","propertyNames":{"type":"string"},"type":"object"},"outer":{"anyOf":[{"additionalProperties":false,"properties":{"a":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"required":["min","max"],"type":"object"},"b":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"required":["min","max"],"type":"object"},"c":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"required":["min","max"],"type":"object"}},"required":["a","b","c"],"type":"object"},{"type":"null"}]},"slug":{"type":"string"},"specs":{"items":{"additionalProperties":false,"properties":{"group":{"type":"string"},"name":{"type":"string"},"values":{"items":{"type":"string"},"type":"array"}},"required":["group","name","values"],"type":"object"},"type":"array"},"url":{"additionalProperties":false,"properties":{"en":{"format":"uri","type":"string"},"tr":{"format":"uri","type":"string"}},"required":["tr","en"],"type":"object"},"variantCount":{"type":"number"},"variants":{"description":"Matching variants, at most `limit`","items":{"additionalProperties":false,"properties":{"barcode":{"type":["string","null"]},"code":{"type":"string"},"options":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"}},"required":["code","barcode","options"],"type":"object"},"type":"array"},"variantsTruncated":{"type":"boolean"}},"required":["id","code","slug","name","url","categoryId","outer","drawing","materials","ipRating","operatingTemperature","specs","documents","images","variantCount","optionValues","variants","variantsTruncated"],"type":"object"},"note":{"type":"string"}},"required":["category","enclosure","note"],"type":"object"},"title":"Get enclosure details"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Side-by-side comparison of 2–10 enclosures; lists which fields differ.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"codes":{"items":{"type":"string"},"maxItems":10,"minItems":2,"type":"array"}},"required":["codes"],"type":"object"},"name":"compare_enclosures","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"differences":{"items":{"type":"string"},"type":"array"},"enclosures":{"items":{"additionalProperties":false,"properties":{"category":{"type":"string"},"code":{"type":"string"},"drawing":{"additionalProperties":{"type":"number"},"propertyNames":{"type":"string"},"type":"object"},"ipRating":{"type":["string","null"]},"materials":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"nameEn":{"type":["string","null"]},"outerMm":{"description":"A × B × C in mm","type":["string","null"]},"slug":{"description":"Unique id; use it when a code matches several products","type":"string"},"url":{"type":"string"}},"required":["code","slug","name","nameEn","category","outerMm","materials","ipRating","url","drawing"],"type":"object"},"type":"array"},"notFound":{"description":"Codes that were unknown or ambiguous, with hints","items":{"type":"string"},"type":"array"}},"required":["enclosures","differences","notFound"],"type":"object"},"title":"Compare enclosures"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"The enclosure category tree with the number of enclosures in each category.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"type":"object"},"name":"list_categories","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"categories":{"items":{"additionalProperties":false,"properties":{"count":{"description":"Enclosures in this category and its subcategories","type":"number"},"id":{"type":"number"},"name":{"type":"string"},"parentId":{"type":["number","null"]},"slug":{"type":"string"}},"required":["id","slug","name","parentId","count"],"type":"object"},"type":"array"}},"required":["categories"],"type":"object"},"title":"List enclosure categories"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Download links for an enclosure's dimensioned PDF drawing, DXF, STEP 3D model, IP certificate, CNC machining template and UV print template.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"code":{"type":"string"},"types":{"description":"Only these document types","items":{"enum":["drawing","dxf","step","ip-certificate","machining-template","print-template","other"],"type":"string"},"type":"array"}},"required":["code"],"type":"object"},"name":"get_cad_files","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"code":{"type":"string"},"documents":{"items":{"additionalProperties":false,"properties":{"name":{"type":"string"},"type":{"enum":["drawing","dxf","step","ip-certificate","machining-template","print-template","other"],"type":"string"},"url":{"format":"uri","type":"string"}},"required":["type","name","url"],"type":"object"},"type":"array"},"productUrl":{"type":"string"}},"required":["code","productUrl","documents"],"type":"object"},"title":"Get CAD files and drawings"}],"ttlMs":0}}}
{"at":"2026-11-23T04:16:27.088Z","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-23T04:16:27.487Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"completions":{},"prompts":{"listChanged":true},"resources":{"listChanged":true},"tools":{"listChanged":true}},"instructions":"Altınkaya electronic enclosure catalog (Turkish manufacturer).\nWorkflow for picking an enclosure:\n1. filter_enclosures with min_outer_mm = contents size (plus clearance), min_ip, materials or category.\n2. get_enclosure for the shortlisted codes; compare_enclosures to weigh options.\n3. get_cad_files for the drawing (inner dimensions, PCB bosses) and STEP model.\nAll dimensions are millimetres. Listed dimensions are OUTER; usable inner space is smaller, so\nconfirm it on the drawing. Product names are Turkish with English names when available.\nData is crawled monthly from altinkaya.com; prices and stock are not included.","protocolVersion":"2025-11-25","serverInfo":{"name":"altinkaya-mcp","version":"0.1.0"}}}}
{"at":"2026-11-23T04:16:27.487Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T04:16:27.487Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T04:16:27.494Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Keyword search across the Altınkaya enclosure catalog: product codes (EC-1015, RT-014), Turkish or English names, categories, materials and IP ratings.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"limit":{"default":10,"maximum":50,"minimum":1,"type":"integer"},"query":{"description":"e.g. \"EC-1015\", \"IP67 abs\", \"din rail\", \"el tipi\"","minLength":1,"type":"string"}},"required":["query"],"type":"object"},"name":"search_enclosures","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"results":{"items":{"additionalProperties":false,"properties":{"category":{"type":"string"},"code":{"type":"string"},"ipRating":{"type":["string","null"]},"materials":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"nameEn":{"type":["string","null"]},"outerMm":{"description":"A × B × C in mm","type":["string","null"]},"slug":{"description":"Unique id; use it when a code matches several products","type":"string"},"url":{"type":"string"}},"required":["code","slug","name","nameEn","category","outerMm","materials","ipRating","url"],"type":"object"},"type":"array"},"total":{"type":"number"}},"required":["total","results"],"type":"object"},"title":"Search enclosures"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Parametric search: outer size limits, minimum IP rating, material and category. Use min_outer_mm with your PCB or contents size as a first pass, then confirm the inner space on the drawing. Dimensions are outer dimensions in mm. Usable inner space is smaller: check the drawing (get_cad_files) before committing to a PCB size.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"category":{"description":"Category id, slug or name (includes subcategories)","type":"string"},"limit":{"default":20,"maximum":100,"minimum":1,"type":"integer"},"materials":{"description":"Any of, e.g. [\"ABS\", \"Alüminyum\"]","items":{"type":"string"},"type":"array"},"max_outer_mm":{"description":"Outer dimensions must be at most this","properties":{"x":{"exclusiveMinimum":0,"type":"number"},"y":{"exclusiveMinimum":0,"type":"number"},"z":{"exclusiveMinimum":0,"type":"number"}},"required":["x","y","z"],"type":"object"},"min_ip":{"description":"e.g. \"IP65\"","pattern":"^IP\\s*[\\dX][\\dX]$","type":"string"},"min_outer_mm":{"description":"Outer dimensions must be at least this","properties":{"x":{"exclusiveMinimum":0,"type":"number"},"y":{"exclusiveMinimum":0,"type":"number"},"z":{"exclusiveMinimum":0,"type":"number"}},"required":["x","y","z"],"type":"object"},"offset":{"default":0,"maximum":9007199254740991,"minimum":0,"type":"integer"},"query":{"description":"Optional keyword filter","type":"string"},"sort":{"default":"volume","description":"volume = smallest first","enum":["volume","code"],"type":"string"}},"type":"object"},"name":"filter_enclosures","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"note":{"type":"string"},"offset":{"type":"number"},"results":{"items":{"additionalProperties":false,"properties":{"category":{"type":"string"},"code":{"type":"string"},"ipRating":{"type":["string","null"]},"materials":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"nameEn":{"type":["string","null"]},"outerMm":{"description":"A × B × C in mm","type":["string","null"]},"slug":{"description":"Unique id; use it when a code matches several products","type":"string"},"url":{"type":"string"}},"required":["code","slug","name","nameEn","category","outerMm","materials","ipRating","url"],"type":"object"},"type":"array"},"total":{"type":"number"}},"required":["total","offset","results","note"],"type":"object"},"title":"Filter enclosures"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Full details for one enclosure: all specifications, drawing dimensions, documents, images and its variants (colors, lids, lengths… with order codes and barcodes). optionValues lists every option; pass `options` to get the order code of a specific configuration.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"code":{"description":"Model code (EC-1015), variant order code (EC-1015-7-0-0-G-0) or slug","type":"string"},"options":{"additionalProperties":{"type":"string"},"description":"Only variants with these options, e.g. { \"Renk\": \"Siyah\" }","propertyNames":{"type":"string"},"type":"object"},"variant_limit":{"default":50,"maximum":500,"minimum":1,"type":"integer"}},"required":["code"],"type":"object"},"name":"get_enclosure","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"category":{"type":"string"},"enclosure":{"additionalProperties":false,"properties":{"categoryId":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"code":{"type":"string"},"documents":{"items":{"additionalProperties":false,"properties":{"name":{"type":"string"},"type":{"enum":["drawing","dxf","step","ip-certificate","machining-template","print-template","other"],"type":"string"},"url":{"format":"uri","type":"string"}},"required":["type","name","url"],"type":"object"},"type":"array"},"drawing":{"additionalProperties":{"type":"number"},"propertyNames":{"type":"string"},"type":"object"},"id":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"images":{"items":{"format":"uri","type":"string"},"type":"array"},"ipRating":{"type":["string","null"]},"materials":{"items":{"type":"string"},"type":"array"},"name":{"additionalProperties":false,"properties":{"en":{"type":["string","null"]},"tr":{"type":"string"}},"required":["tr","en"],"type":"object"},"operatingTemperature":{"anyOf":[{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"required":["min","max"],"type":"object"},{"type":"null"}]},"optionValues":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"description":"Every option and its possible values, e.g. { Renk: [Siyah, Açık Gri] }","propertyNames":{"type":"string"},"type":"object"},"outer":{"anyOf":[{"additionalProperties":false,"properties":{"a":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"required":["min","max"],"type":"object"},"b":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"required":["min","max"],"type":"object"},"c":{"additionalProperties":false,"properties":{"max":{"type":"number"},"min":{"type":"number"}},"required":["min","max"],"type":"object"}},"required":["a","b","c"],"type":"object"},{"type":"null"}]},"slug":{"type":"string"},"specs":{"items":{"additionalProperties":false,"properties":{"group":{"type":"string"},"name":{"type":"string"},"values":{"items":{"type":"string"},"type":"array"}},"required":["group","name","values"],"type":"object"},"type":"array"},"url":{"additionalProperties":false,"properties":{"en":{"format":"uri","type":"string"},"tr":{"format":"uri","type":"string"}},"required":["tr","en"],"type":"object"},"variantCount":{"type":"number"},"variants":{"description":"Matching variants, at most `limit`","items":{"additionalProperties":false,"properties":{"barcode":{"type":["string","null"]},"code":{"type":"string"},"options":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":"object"}},"required":["code","barcode","options"],"type":"object"},"type":"array"},"variantsTruncated":{"type":"boolean"}},"required":["id","code","slug","name","url","categoryId","outer","drawing","materials","ipRating","operatingTemperature","specs","documents","images","variantCount","optionValues","variants","variantsTruncated"],"type":"object"},"note":{"type":"string"}},"required":["category","enclosure","note"],"type":"object"},"title":"Get enclosure details"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Side-by-side comparison of 2–10 enclosures; lists which fields differ.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"codes":{"items":{"type":"string"},"maxItems":10,"minItems":2,"type":"array"}},"required":["codes"],"type":"object"},"name":"compare_enclosures","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"differences":{"items":{"type":"string"},"type":"array"},"enclosures":{"items":{"additionalProperties":false,"properties":{"category":{"type":"string"},"code":{"type":"string"},"drawing":{"additionalProperties":{"type":"number"},"propertyNames":{"type":"string"},"type":"object"},"ipRating":{"type":["string","null"]},"materials":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"nameEn":{"type":["string","null"]},"outerMm":{"description":"A × B × C in mm","type":["string","null"]},"slug":{"description":"Unique id; use it when a code matches several products","type":"string"},"url":{"type":"string"}},"required":["code","slug","name","nameEn","category","outerMm","materials","ipRating","url","drawing"],"type":"object"},"type":"array"},"notFound":{"description":"Codes that were unknown or ambiguous, with hints","items":{"type":"string"},"type":"array"}},"required":["enclosures","differences","notFound"],"type":"object"},"title":"Compare enclosures"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"The enclosure category tree with the number of enclosures in each category.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"type":"object"},"name":"list_categories","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"categories":{"items":{"additionalProperties":false,"properties":{"count":{"description":"Enclosures in this category and its subcategories","type":"number"},"id":{"type":"number"},"name":{"type":"string"},"parentId":{"type":["number","null"]},"slug":{"type":"string"}},"required":["id","slug","name","parentId","count"],"type":"object"},"type":"array"}},"required":["categories"],"type":"object"},"title":"List enclosure categories"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Download links for an enclosure's dimensioned PDF drawing, DXF, STEP 3D model, IP certificate, CNC machining template and UV print template.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"code":{"type":"string"},"types":{"description":"Only these document types","items":{"enum":["drawing","dxf","step","ip-certificate","machining-template","print-template","other"],"type":"string"},"type":"array"}},"required":["code"],"type":"object"},"name":"get_cad_files","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"code":{"type":"string"},"documents":{"items":{"additionalProperties":false,"properties":{"name":{"type":"string"},"type":{"enum":["drawing","dxf","step","ip-certificate","machining-template","print-template","other"],"type":"string"},"url":{"format":"uri","type":"string"}},"required":["type","name","url"],"type":"object"},"type":"array"},"productUrl":{"type":"string"}},"required":["code","productUrl","documents"],"type":"object"},"title":"Get CAD files and drawings"}]}}}
