The Cable Code is an MCP server published by io.github.exquad, hosted at thecablecode.com. When last checked on 2026-11-21 it was working: it answers and lists its tools. It declares 25 tools, including decode_cable_code, design_cable, find_equivalents, overhead_conductor, check_cable.
Decode cables in 71 coding systems; design, rate, check, find equivalents; drums, laying, fire.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Decode a cable type designation (DIN VDE, HAR, BS/IEC, NEC, TS, UTE, CEI-UNEL and 64 more of its 71 coding systems, plus LAN and fibre) into its layers: conductor, insulation, screen, armour, sheath, with the source behind each symbol. Deterministic, no LLM. 5 free calls per caller per UTC day (with find_equivalents, overhead_conductor), then $0.10 USDC per call (x402).
| Parameter | Type | Description |
|---|---|---|
| code * | string | A cable type designation as printed or listed. |
| lang | string | Any of the site's 15 languages; default en. |
{
"name": "decode_cable_code",
"title": "Decode a cable designation",
"description": "Decode a cable type designation (DIN VDE, HAR, BS/IEC, NEC, TS, UTE, CEI-UNEL and 64 more of its 71 coding systems, plus LAN and fibre) into its layers: conductor, insulation, screen, armour, sheath, with the source behind each symbol. Deterministic, no LLM. 5 free calls per caller per UTC day (with find_equivalents, overhead_conductor), then $0.10 USDC per call (x402).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"examples": [
"NYY-J 3x1,5",
"N2XSEYRY",
"12/2 NM-B",
"H07RN-F 3G2,5"
],
"maxLength": 120,
"minLength": 1,
"description": "A cable type designation as printed or listed."
},
"lang": {
"enum": [
"en",
"tr",
"de",
"nl",
"sv",
"fr",
"es",
"da",
"no",
"fi",
"it",
"ro",
"pl",
"cs",
"ru"
],
"type": "string",
"description": "Any of the site's 15 languages; default en."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Design and size a cable (power, control, LAN, coaxial, fibre) from a sentence in any site language, a designation, a spec or a design: each layer with its standard and source, diameter, weight, designation, current, voltage drop and short-circuit ratings, optional files (XML, DXF, SVG, CSV, GLB, STEP, PDF). Deterministic, no LLM; nominal values. Notes: thecablecode://guide/design_cable. 2 free designs per caller per UTC day, then $0.50 USDC per design (x402).
| Parameter | Type | Description |
|---|---|---|
| cpc | object | The protective conductor check: {kind, system, device and device_a or ia_a, length_m, ...}. |
| nec | object | North American wires: {ocpd_a, install, ambient_c, carrying, termination_c}: NEC ampacity and EGC; CSA designs by C22.1. |
| lang | string | Language of the answer's words; the sentence is read in any. |
| load | object | For voltage_drop and sizing: {length_m (required), amps or kw, phases, volts, pf, limit_pct, conduit, formation}. |
| spec | object | Or {voltage: "12/20", cores: 3, section: 95, metal, screen, insulation, sheath, armour, standard (a design_presets id), ...} or {lan: {category, shield, awg}}. |
| fault | object | For cpc: {ka, seconds}, the adiabatic check up to 1 kV. |
| design | object | Instead of a sentence: the design field of an earlier answer, changed. |
| fault_s | number |
The same power cable under other countries' standards (IEC 60502, HD 603, HD 620, BS, EN 50618, HD 627), rebuilt and compared layer by layer with sources: equivalent, close (the differences) or none (the reason). Deterministic, no LLM; never a statement of interchangeability. Notes: thecablecode://guide/find_equivalents. The decodes' 5 free calls per caller per UTC day, then $0.10 USDC per call (x402).
| Parameter | Type | Description |
|---|---|---|
| code | string | A power cable designation with its size and voltage. |
| lang | string | Language of the notes; default en. |
| design | object | Instead of code: a design (the design field of a design_cable answer), compared with its own layers. |
| country | string | Comma separated target countries: NL, SE, DK, NO, DE, GB, INT, EU, ES, IT, FR, PT, IN, CN, JP, AU, ZA, TH, US, CA. Default: all. |
| standard | string | Comma separated target standards, e.g. HD620-10J, BS6724, IEC, EN50618; default all. Every id: thecablecode://guide/find_equivalents. |
{
"name": "find_equivalents",
"title": "Find a cable's equivalents in other countries",
"description": "The same power cable under other countries' standards (IEC 60502, HD 603, HD 620, BS, EN 50618, HD 627), rebuilt and compared layer by layer with sources: equivalent, close (the differences) or none (the reason). Deterministic, no LLM; never a statement of interchangeability. Notes: thecablecode://guide/find_equivalents. The decodes' 5 free calls per caller per UTC day, then $0.10 USDC per call (x402).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"code": {
"type": "string",
"examples": [
"AXCLJ-TT 3x95/25 12/20 kV",
"NA2XS(F)2Y 1x240/25 12/20 kV",
"NYY-J 4x16"
],
"maxLength": 120,
"minLength": 1,
"description": "A power cable designation with its size and voltage."
},
"lang": {
"enum": [
"en",
"tr",
"de",
"nl",
"sv",
"fr",
"es",
"da",
"no",
"fi",
"it",
"ro",
"pl",
"cs",
"ru"
],
"type": "string",
"description": "Language of the notes; default en."
},
"design": {
"type": "object",
"description": "Instead of code: a design (the design field of a design_cable answer), compared with its own layers.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"country": {
"type": "string",
"examples": [
"NL",
"DE,GB"
],
"description": "Comma separated target countries: NL, SE, DK, NO, DE, GB, INT, EU, ES, IT, FR, PT, IN, CN, JP, AU, ZA, TH, US, CA. Default: all."
},
"standard": {
"type": "string",
"description": "Comma separated target standards, e.g. HD620-10J, BS6724, IEC, EN50618; default all. Every id: thecablecode://guide/find_equivalents."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}A bare overhead line conductor (AAC, AAAC, ACSR, ACSS) by its code ("242-AL1/39-ST1A", EN 50182; "401-AL0/28-MEHST", FprEN 50540) or an EN 50182 Annex F table ("F.19"): stranding, areas, diameters, mass, strength and resistance as printed, with table and page. Deterministic, no LLM. Notes: thecablecode://guide/overhead_conductor. The decodes' 5 free calls per caller per UTC day, then $0.10 USDC per call (x402).
| Parameter | Type | Description |
|---|---|---|
| row | string | With table: one conductor code of that table. |
| code | string | A bare overhead conductor code: EN 50182:2001 4.5, the envelope's area and wire then the core's, e.g. "242-AL1/39-ST1A", "65-A20SA", "434-AL1/56-ST1A"; or an ACSS code by FprEN 50540 clause 4, e.g. "401-AL0/28-MEHST", read by its areas. Every Annex F country table that lists it answers. |
| core | string | The core wire of the ACSS build (FprEN 50540 clause 4): ST6A, EHST, MEHST, UHST, MUHST, 20SA, 20EHSA, 14EHSA; default ST6A, or an ACSS code's own core. |
| table | string | Instead of code (or to narrow it): an EN 50182 Annex F country table (52 tables). Alone it answers every row of the table. |
{
"name": "overhead_conductor",
"title": "Look up a bare overhead line conductor (EN 50182, ACSS)",
"description": "A bare overhead line conductor (AAC, AAAC, ACSR, ACSS) by its code (\"242-AL1/39-ST1A\", EN 50182; \"401-AL0/28-MEHST\", FprEN 50540) or an EN 50182 Annex F table (\"F.19\"): stranding, areas, diameters, mass, strength and resistance as printed, with table and page. Deterministic, no LLM. Notes: thecablecode://guide/overhead_conductor. The decodes' 5 free calls per caller per UTC day, then $0.10 USDC per call (x402).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"row": {
"type": "string",
"maxLength": 120,
"description": "With table: one conductor code of that table."
},
"code": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "A bare overhead conductor code: EN 50182:2001 4.5, the envelope's area and wire then the core's, e.g. \"242-AL1/39-ST1A\", \"65-A20SA\", \"434-AL1/56-ST1A\"; or an ACSS code by FprEN 50540 clause 4, e.g. \"401-AL0/28-MEHST\", read by its areas. Every Annex F country table that lists it answers."
},
"core": {
"enum": [
"ST6A",
"EHST",
"MEHST",
"UHST",
"MUHST",
"20SA",
"20EHSA",
"14EHSA"
],
"type": "string",
"description": "The core wire of the ACSS build (FprEN 50540 clause 4): ST6A, EHST, MEHST, UHST, MUHST, 20SA, 20EHSA, 14EHSA; default ST6A, or an ACSS code's own core."
},
"table": {
"type": "string",
"description": "Instead of code (or to narrow it): an EN 50182 Annex F country table (52 tables). Alone it answers every row of the table."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Check a power cable (a designation with size and voltage, a design, or a datasheet's construction) against a standard's nominal rules: each rule with required, found, pass / fail / not checkable and its source. Deterministic, no LLM; not a certificate or a type test. Notes: thecablecode://guide/check_cable. 2 free checks per caller per UTC day, then $0.50 USDC per check (x402).
| Parameter | Type | Description |
|---|---|---|
| design | object | Instead of a designation: a thecablecode design v1 (the design field of a design_cable answer). |
| standard | string | "auto" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2023, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, hd-620-10-e1, hd-620-10-e2, hd-620-10-i1, hd-620-10-i2, hd-620-10-i3… |
| designation | string | A power cable designation with its size and voltage. |
| construction | object | Or a datasheet's construction: {voltage: "12/20", cores, conductor: {metal, section}, core: [{kind, material, nominal, minimum}], common: [...], standards}, inside out. |
{
"name": "check_cable",
"title": "Check a power cable against a standard",
"description": "Check a power cable (a designation with size and voltage, a design, or a datasheet's construction) against a standard's nominal rules: each rule with required, found, pass / fail / not checkable and its source. Deterministic, no LLM; not a certificate or a type test. Notes: thecablecode://guide/check_cable. 2 free checks per caller per UTC day, then $0.50 USDC per check (x402).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"design": {
"type": "object",
"description": "Instead of a designation: a thecablecode design v1 (the design field of a design_cable answer).",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"standard": {
"type": "string",
"description": "\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2023, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, hd-620-10-e1, hd-620-10-e2, hd-620-10-i1, hd-620-10-i2, hd-620-10-i3, hd-620-10-g, hd-620-10-l, hd-620-10-n, hd-620-10-o, hd-620-10-p, hd-620-9-e, hd-620-9-i, hd-620-11-n, hd-620-11-o, hd-620-12-i, hd-620-12-j, hd-620-12-k, bs-5467, bs-6724, bs-7846, bs-6622, is-694, is-1554-1, is-1554-2, is-7098-1, is-7098-2, is-8130-2013, iec-62067-2011, iec-60840-2011, din-vde-0250-204, din-vde-0250-214, din-vde-0250-215, din-vde-0250-405, en-50525-2-31, en-50525-3-31, en-50525-2-11, en-50525-3-11, en-50525-2-21, en-50525-3-21, en-50525-2-51, en-50525-2-12, en-50525-2-41, en-50525-2-42, en-50525-2-72, en-50525-2-81, en-50525-2-82, en-50525-2-83, en-50525-3-41, en-50618-2014, iec-62930-cdv, din-vde-0271, gb-9330-2020, hd-627-4-n, hd-627-7-n, bs-7211-2012, as-nzs-5000-2-2006, ul-62-spt, din-vde-0815, din-vde-0250-502, din-vde-0250-602, din-vde-0250-806, din-vde-0250-812, din-vde-0250-814, sans-1507-4-2022, as-nzs-5000-3-2003, ul-1277, ul-13-2025, ul-1424-2025, ul-444-2026, aeic-cs9-06, jb-t-8735-2-2016, din-vde-0250-813, din-vde-0250-809, bs-6004-2012, gb-t-18890-2. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\")."
},
"designation": {
"type": "string",
"examples": [
"NA2XS(F)2Y 1x240/25 12/20 kV",
"NYY-J 4x16",
"H07RN-F 3G2.5"
],
"maxLength": 120,
"minLength": 1,
"description": "A power cable designation with its size and voltage."
},
"construction": {
"type": "object",
"description": "Or a datasheet's construction: {voltage: \"12/20\", cores, conductor: {metal, section}, core: [{kind, material, nominal, minimum}], common: [...], standards}, inside out.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Read a power cable datasheet (an https link to a PDF or page, or pasted text) into constructions: each size's voltage, cores, conductor, layers with nominal and smallest thickness, screen, armour, diameters and standards, with page and row. An LLM (Claude) reads, deciding nothing; with standard set the rules check each row. Notes: thecablecode://guide/extract_datasheet. Price (USDC, x402): a paid call from the first document: $2.00 in USDC per document, no free allowance.
| Parameter | Type | Description |
|---|---|---|
| url | string | An https link to a PDF datasheet or a datasheet web page. |
| hint | string | A designation or size to look for, e.g. "3x95/25 12/20 kV": only matching rows are returned. |
| text | string | Pasted datasheet, catalogue or tender text. |
| standard | string | Also check every row: "auto" (the standards each row claims, else IEC 60502 by voltage) or rule sets, comma separated. |
{
"name": "extract_datasheet",
"title": "Read a cable datasheet into constructions",
"description": "Read a power cable datasheet (an https link to a PDF or page, or pasted text) into constructions: each size's voltage, cores, conductor, layers with nominal and smallest thickness, screen, armour, diameters and standards, with page and row. An LLM (Claude) reads, deciding nothing; with standard set the rules check each row. Notes: thecablecode://guide/extract_datasheet. Price (USDC, x402): a paid call from the first document: $2.00 in USDC per document, no free allowance.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"url": {
"type": "string",
"maxLength": 2000,
"description": "An https link to a PDF datasheet or a datasheet web page."
},
"hint": {
"type": "string",
"maxLength": 120,
"description": "A designation or size to look for, e.g. \"3x95/25 12/20 kV\": only matching rows are returned."
},
"text": {
"type": "string",
"maxLength": 60000,
"description": "Pasted datasheet, catalogue or tender text."
},
"standard": {
"type": "string",
"description": "Also check every row: \"auto\" (the standards each row claims, else IEC 60502 by voltage) or rule sets, comma separated."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Read a tender or project document's text into its cables (built and checked by the rules), the required / offered schedule, requirements, conflicts and missing sections, with pages. An LLM (Claude) copies values, deciding nothing. Waits up to about two minutes, then answers a poll link (GET /api/v1/tender/{job}); a PDF: POST /api/v1/tender. Notes: thecablecode://guide/read_tender. Always paid: $4.00 up to 20 pages, $2.00 for each further 10 pages begun, up to 80 pages, USDC (x402).
| Parameter | Type | Description |
|---|---|---|
| hint | string | A cable tag or a voltage to look for first. |
| lang | string | The language of the schedule's parameter names: any of the site's 15 (en, tr, de, nl, sv, fr, es, da, no, fi, it, ro, pl, cs, ru). Default en. |
| text * | string | The document's text (a Word file turned into text); it counts one page per 1,700 characters begun. |
{
"name": "read_tender",
"title": "Read a tender document: cables built, requirements, schedule, conflicts and gaps",
"description": "Read a tender or project document's text into its cables (built and checked by the rules), the required / offered schedule, requirements, conflicts and missing sections, with pages. An LLM (Claude) copies values, deciding nothing. Waits up to about two minutes, then answers a poll link (GET /api/v1/tender/{job}); a PDF: POST /api/v1/tender. Notes: thecablecode://guide/read_tender. Always paid: $4.00 up to 20 pages, $2.00 for each further 10 pages begun, up to 80 pages, USDC (x402).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text"
],
"properties": {
"hint": {
"type": "string",
"maxLength": 120,
"description": "A cable tag or a voltage to look for first."
},
"lang": {
"type": "string",
"description": "The language of the schedule's parameter names: any of the site's 15 (en, tr, de, nl, sv, fr, es, da, no, fi, it, ro, pl, cs, ru). Default en."
},
"text": {
"type": "string",
"maxLength": 136000,
"minLength": 1,
"description": "The document's text (a Word file turned into text); it counts one page per 1,700 characters begun."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}Write the cable specification for a tender, one cable or a project, each as design_cable takes it, with the project's requirements: the specification in tender order (Markdown and text) and the required / offered schedule (CSV and JSON), REQUIRED filled with sources, OFFERED left for the bidder. Deterministic, no LLM; a draft to check. Notes: thecablecode://guide/write_specification. Always paid: $2.00 for the first cable, $0.50 for each further cable in the same call, up to 30, USDC (x402).
| Parameter | Type | Description |
|---|---|---|
| drum | string | The drums section's line; absent: the bidder proposes. |
| lang | string | Language of the specification; default en. |
| spec | object | Or a design_cable spec. |
| cables | array | Or a project: cables, each {sentence | spec | design, installation, fault_s, drum}. |
| design | object | Or a design_cable design. |
| fault_s | number | Fault duration for the short-circuit rows, s (default 1). |
| sentence | string | One cable, as design_cable takes it. |
| installation | object | For the current rating row, as design_cable takes it. |
| requirements | array |
What design_cable builds: presets[] (power, MV, HV, North American, building wire, cords, control, LAN, coaxial, fibre), each with the sentence that builds it, its designation, voltage, cores, section and metal; and spec_standards[], the families a spec may name in spec.standard. Takes only lang. Free, no LLM.
| Parameter | Type | Description |
|---|---|---|
| lang | string | Language of the preset sentences and names; default en. |
{
"name": "design_presets",
"title": "List what the cable designer can build",
"description": "What design_cable builds: presets[] (power, MV, HV, North American, building wire, cords, control, LAN, coaxial, fibre), each with the sentence that builds it, its designation, voltage, cores, section and metal; and spec_standards[], the families a spec may name in spec.standard. Takes only lang. Free, no LLM.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"lang": {
"enum": [
"en",
"tr",
"de",
"nl",
"sv",
"fr",
"es",
"da",
"no",
"fi",
"it",
"ro",
"pl",
"cs",
"ru"
],
"type": "string",
"description": "Language of the preset sentences and names; default en."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Which cable drum (reel) a length needs (od, length), or what one drum takes (od, D, d, W): nested whole layers on 1.05 x OD under a freeboard, over KTG, Nordic K, DIN, Spanish, NEMA, Turkish, IS 10418 and makers' drums with sources, with barrel and load checks; reeling adds the NFPA 79 derating, lagging the handling block. Notes: thecablecode://guide/drum_fit. Free, outside the daily calls; deterministic, no LLM.
| Parameter | Type | Description |
|---|---|---|
| D | number | A drum by its dimensions: flange diameter, mm. |
| W | number | Winding width between the flanges, mm. |
| d | number | Barrel diameter, mm, less than D. |
| kg | number | Cable mass, kg/km: adds weights and the load check. |
| od * | number | Cable outer diameter, mm (a flat cable: its larger side). |
| max | integer | Most drums of one size the length may be split over; default 1. |
| kind | string | Cable kind for the smallest barrel; default lv-multi. |
| lang | string | The handling block's words: any of the site's 15 languages. |
| pool | any | With length, 1: pooled sizes over makers (pools[]) instead of one row per drum. |
Minimum burial cover of a power cable by country, voltage and place (open ground, road, pavement; direct or in a raceway for US and AU), from that country's rule with its source and seen level, or null with the reason. Free, no LLM. Notes: thecablecode://guide/burial_depth.
| Parameter | Type | Description |
|---|---|---|
| u * | ["number","string"] | U in kV (1 for 0.6/1 kV, 20 for 12/20 kV) or Uo/U such as "0.6/1". |
| place | string | field (open ground, default), road or pavement. |
| method | string | direct (default) or raceway (duct or conduit); the US and Australian rules tell them apart. |
| country * | string | ISO country code. |
{
"name": "burial_depth",
"title": "Minimum burial depth of a cable by country",
"description": "Minimum burial cover of a power cable by country, voltage and place (open ground, road, pavement; direct or in a raceway for US and AU), from that country's rule with its source and seen level, or null with the reason. Free, no LLM. Notes: thecablecode://guide/burial_depth.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"country",
"u"
],
"properties": {
"u": {
"type": [
"number",
"string"
],
"description": "U in kV (1 for 0.6/1 kV, 20 for 12/20 kV) or Uo/U such as \"0.6/1\"."
},
"place": {
"enum": [
"field",
"road",
"pavement"
],
"type": "string",
"description": "field (open ground, default), road or pavement."
},
"method": {
"enum": [
"direct",
"raceway"
],
"type": "string",
"description": "direct (default) or raceway (duct or conduit); the US and Australian rules tell them apart."
},
"country": {
"enum": [
"DE",
"TR",
"GB",
"FR",
"IT",
"PL",
"HK",
"US",
"AU",
"IN",
"NL",
"SE",
"NO",
"DK"
],
"type": "string",
"examples": [
"DE",
"US"
],
"description": "ISO country code."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}The lowest fire class or listing a country asks for in a kind of building or space (DE, ES, FR, GB, IT, TR, US: escape route, high-rise, tunnel, hospital, plenum ...), the rule lines with sources and seen levels; the US NEC Article 722 listing ladders. To read a printed class use decode_cable_code. Free, no LLM. Notes: thecablecode://guide/fire_class.
| Parameter | Type | Description |
|---|---|---|
| lang | string | Answer language; default en. |
| place * | string | The kind of building or space: escape (escape route), general, highrise, tunnel, hospital, datacentre, plenum, riser or railway. |
| country * | string | ISO country code of the installation. |
{
"name": "fire_class",
"title": "Lowest fire class or listing a country asks for",
"description": "The lowest fire class or listing a country asks for in a kind of building or space (DE, ES, FR, GB, IT, TR, US: escape route, high-rise, tunnel, hospital, plenum ...), the rule lines with sources and seen levels; the US NEC Article 722 listing ladders. To read a printed class use decode_cable_code. Free, no LLM. Notes: thecablecode://guide/fire_class.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"country",
"place"
],
"properties": {
"lang": {
"enum": [
"en",
"tr",
"de",
"nl",
"sv",
"fr",
"es",
"da",
"no",
"fi",
"it",
"ro",
"pl",
"cs",
"ru"
],
"type": "string",
"description": "Answer language; default en."
},
"place": {
"enum": [
"escape",
"general",
"highrise",
"tunnel",
"hospital",
"datacentre",
"plenum",
"riser",
"railway"
],
"type": "string",
"description": "The kind of building or space: escape (escape route), general, highrise, tunnel, hospital, datacentre, plenum, riser or railway."
},
"country": {
"enum": [
"DE",
"ES",
"FR",
"GB",
"IT",
"TR",
"US"
],
"type": "string",
"examples": [
"GB",
"US"
],
"description": "ISO country code of the installation."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}AWG / kcmil against IEC 60228 mm2, both ways, by area and by maximum resistance at 20 °C, each size with its resistance and source; with k, the ICEA insulation constant in MΩ·km. Send awg or mm2, metal Cu (default) or Al. Free, no LLM. Notes: thecablecode://guide/awg_metric.
| Parameter | Type | Description |
|---|---|---|
| k | number | An ICEA insulation constant K, MΩ·1000 ft at 15.6 °C. |
| awg | string | An AWG or kcmil size: 12, 1/0, 4/0, 500. |
| mm2 | number | An IEC 60228 class 2 size, mm². |
| lang | string | Answer language; default en. |
| metal | string | Cu (default) or Al. |
{
"name": "awg_metric",
"title": "AWG or kcmil to mm² and back, by area and by resistance",
"description": "AWG / kcmil against IEC 60228 mm2, both ways, by area and by maximum resistance at 20 °C, each size with its resistance and source; with k, the ICEA insulation constant in MΩ·km. Send awg or mm2, metal Cu (default) or Al. Free, no LLM. Notes: thecablecode://guide/awg_metric.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"k": {
"type": "number",
"description": "An ICEA insulation constant K, MΩ·1000 ft at 15.6 °C."
},
"awg": {
"type": "string",
"description": "An AWG or kcmil size: 12, 1/0, 4/0, 500."
},
"mm2": {
"type": "number",
"description": "An IEC 60228 class 2 size, mm²."
},
"lang": {
"enum": [
"en",
"tr",
"de",
"nl",
"sv",
"fr",
"es",
"da",
"no",
"fi",
"it",
"ro",
"pl",
"cs",
"ru"
],
"type": "string",
"description": "Answer language; default en."
},
"metal": {
"enum": [
"Cu",
"Al"
],
"type": "string",
"description": "Cu (default) or Al."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}NEC Chapter 9 conduit fill: the smallest trade size of a raceway type (EMT, IMC, RMC, PVC, ENT, FMC, LFNC, LFMC, HDPE ...) for a list of conductors or cables, against Table 1's fill limits, with the jam ratio; each area with its table. Free, no LLM. Notes: thecablecode://guide/conduit_fill.
| Parameter | Type | Description |
|---|---|---|
| cables * | array | Conductor rows: {type (THHN, XHHW, THW, RHW, RHW*, USE-2, THHN-5A ... bare, bare-solid), size (AWG or kcmil), count}, or a cable by its diameter {type: "od", od_mm, count}. |
| nipple | boolean | A nipple up to 600 mm (Note 4, 60 %). |
| raceway | string | Table 4 raceway type; default EMT. |
{
"name": "conduit_fill",
"title": "NEC conduit fill: the smallest trade size",
"description": "NEC Chapter 9 conduit fill: the smallest trade size of a raceway type (EMT, IMC, RMC, PVC, ENT, FMC, LFNC, LFMC, HDPE ...) for a list of conductors or cables, against Table 1's fill limits, with the jam ratio; each area with its table. Free, no LLM. Notes: thecablecode://guide/conduit_fill.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"cables"
],
"properties": {
"cables": {
"type": "array",
"items": {
"type": "object",
"required": [
"type"
],
"properties": {
"size": {
"type": "string",
"description": "AWG or kcmil size."
},
"type": {
"enum": [
"THHN",
"XHHW",
"THW",
"RHW",
"RHW*",
"USE-2",
"THHN-5A",
"XHHW-5A",
"THW-5A",
"RHH*-5A",
"bare-solid",
"bare",
"od"
],
"type": "string",
"description": "Conductor type, or \"od\" for a cable by its diameter."
},
"count": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "How many of this row, 1 to 200."
},
"od_mm": {
"type": "number",
"description": "With type \"od\": the cable's diameter, mm."
}
}
},
"maxItems": 40,
"minItems": 1,
"description": "Conductor rows: {type (THHN, XHHW, THW, RHW, RHW*, USE-2, THHN-5A ... bare, bare-solid), size (AWG or kcmil), count}, or a cable by its diameter {type: \"od\", od_mm, count}."
},
"nipple": {
"type": "boolean",
"description": "A nipple up to 600 mm (Note 4, 60 %)."
},
"raceway": {
"enum": [
"EMT",
"ENT",
"FMC",
"IMC",
"LFNCA",
"LFNCB",
"LFNCC",
"LFMC",
"RMC",
"PVC80",
"PVC40",
"PVCA",
"PVCEB"
],
"type": "string",
"description": "Table 4 raceway type; default EMT."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Pull a cable through straights and bends (conduit or rollers): tension per segment from either end, sidewall pressure per bend, jam ratio and fill, against the allowable values with sources. $0.50 USDC per calculation (x402); the verdict alone (no full) is free within the designs' 2 calls per caller per UTC day. Notes: thecablecode://guide/pull_cable.
| Parameter | Type | Description |
|---|---|---|
| boolean | Full mode: add the calculation sheet as pdf_base64. | |
| full | boolean | true: the whole answer (paid). |
| lang | string | Answer language; default en. |
| spec | object | Or a design_cable spec. |
| input | object | input: {route: [{kind: "straight", length, slope} | {kind: "bend", radius, angle, plane}], n, duct: {kind: "conduit", material, idMm} | {kind: "rollers"}, head, ...} |
| items | array | Or a list of {sentence | spec | design, input}, paid per item. |
| design | object | Or a design_cable design. |
| sentence | string | The cable, as design_cable takes it. |
NEC cable tray fill (392.22) and each cable's derated ampacity (392.80), up to 2000 V and Type MV: pass or fail. A conduit: conduit_fill (free). $0.50 USDC per calculation (x402); the verdict alone (no full) is free within the designs' 2 calls per caller per UTC day. Notes: thecablecode://guide/tray_fill.
| Parameter | Type | Description |
|---|---|---|
| boolean | Full mode: add the calculation sheet as pdf_base64. | |
| full | boolean | true: the whole answer (paid). |
| lang | string | Answer language; default en. |
| input | object | input: {tray, width (mm), use, layout, ambientC, mv, cables: [{kind, size, metal, count, od, tempC, carrying}], ...} |
| items | array | Or a list of {input}, paid per item. |
{
"name": "tray_fill",
"title": "NEC cable tray fill and ampacity",
"description": "NEC cable tray fill (392.22) and each cable's derated ampacity (392.80), up to 2000 V and Type MV: pass or fail. A conduit: conduit_fill (free). $0.50 USDC per calculation (x402); the verdict alone (no full) is free within the designs' 2 calls per caller per UTC day. Notes: thecablecode://guide/tray_fill.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"pdf": {
"type": "boolean",
"description": "Full mode: add the calculation sheet as pdf_base64."
},
"full": {
"type": "boolean",
"description": "true: the whole answer (paid)."
},
"lang": {
"enum": [
"en",
"tr",
"de",
"nl",
"sv",
"fr",
"es",
"da",
"no",
"fi",
"it",
"ro",
"pl",
"cs",
"ru"
],
"type": "string",
"description": "Answer language; default en."
},
"input": {
"type": "object",
"description": "input: {tray, width (mm), use, layout, ambientC, mv, cables: [{kind, size, metal, count, od, tempC, carrying}], ...}",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"items": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"maxItems": 50,
"minItems": 1,
"description": "Or a list of {input}, paid per item."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}How filled drums travel: vehicles needed by space and payload, rows, chocks, and EN 12195-1 securing (blocking, lashings), each vehicle compared, with sources. Choose the drum with drum_fit (free). $0.50 USDC per calculation (x402); the verdict alone (no full) is free within the designs' 2 calls per caller per UTC day. Notes: thecablecode://guide/drum_loading.
| Parameter | Type | Description |
|---|---|---|
| full | boolean | true: the whole answer (paid). |
| lang | string | Answer language; default en. |
| input | object | input: {vehicle, dt (transport diameter, mm), width (mm), gross (kg per drum), qty, ...} |
| items | array | Or a list of {input}, paid per item. |
{
"name": "drum_loading",
"title": "Drum loading plan for trucks and containers",
"description": "How filled drums travel: vehicles needed by space and payload, rows, chocks, and EN 12195-1 securing (blocking, lashings), each vehicle compared, with sources. Choose the drum with drum_fit (free). $0.50 USDC per calculation (x402); the verdict alone (no full) is free within the designs' 2 calls per caller per UTC day. Notes: thecablecode://guide/drum_loading.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"full": {
"type": "boolean",
"description": "true: the whole answer (paid)."
},
"lang": {
"enum": [
"en",
"tr",
"de",
"nl",
"sv",
"fr",
"es",
"da",
"no",
"fi",
"it",
"ro",
"pl",
"cs",
"ru"
],
"type": "string",
"description": "Answer language; default en."
},
"input": {
"type": "object",
"description": "input: {vehicle, dt (transport diameter, mm), width (mm), gross (kg per drum), qty, ...}",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"items": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"maxItems": 50,
"minItems": 1,
"description": "Or a list of {input}, paid per item."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}A place's long-term mean daily minimum in a month (NASA POWER, stored) against the design's minimum laying temperature: comfortable, marginal, prewarm or unknown. $0.50 USDC per calculation (x402), no free allowance. Notes: thecablecode://guide/cold_weather_check.
| Parameter | Type | Description |
|---|---|---|
| lang | string | Answer language; default en. |
| spec | object | Or a design_cable spec. |
| input | object | input: {place: a GeoNames id (number) or "lat, lon", month: 1 to 12} |
| items | array | Or a list of {sentence | spec | design, input}, paid per item. |
| design | object | Or a design_cable design. |
| sentence | string | The cable, as design_cable takes it. |
{
"name": "cold_weather_check",
"title": "Cold-weather laying check",
"description": "A place's long-term mean daily minimum in a month (NASA POWER, stored) against the design's minimum laying temperature: comfortable, marginal, prewarm or unknown. $0.50 USDC per calculation (x402), no free allowance. Notes: thecablecode://guide/cold_weather_check.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"lang": {
"enum": [
"en",
"tr",
"de",
"nl",
"sv",
"fr",
"es",
"da",
"no",
"fi",
"it",
"ro",
"pl",
"cs",
"ru"
],
"type": "string",
"description": "Answer language; default en."
},
"spec": {
"type": "object",
"description": "Or a design_cable spec.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"input": {
"type": "object",
"description": "input: {place: a GeoNames id (number) or \"lat, lon\", month: 1 to 12}",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"items": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"maxItems": 50,
"minItems": 1,
"description": "Or a list of {sentence | spec | design, input}, paid per item."
},
"design": {
"type": "object",
"description": "Or a design_cable design.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"sentence": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "The cable, as design_cable takes it."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}MV or HV design: capacitance, charging current, reactance, a.c. resistance (IEC 60287-1-1), dielectric loss and impulse levels (IEC 60502-2), each with its source. $0.50 USDC per calculation (x402), no free allowance. Notes: thecablecode://guide/mv_electrical.
| Parameter | Type | Description |
|---|---|---|
| lang | string | Answer language; default en. |
| spec | object | Or a design_cable spec. |
| input | object | input: {freq: 50 | 60, trefoilMm?, flatMm?} (axis spacing, mm; absent: touching) |
| items | array | Or a list of {sentence | spec | design, input}, paid per item. |
| design | object | Or a design_cable design. |
| sentence | string | The cable, as design_cable takes it. |
{
"name": "mv_electrical",
"title": "Electrical values of an MV or HV design",
"description": "MV or HV design: capacitance, charging current, reactance, a.c. resistance (IEC 60287-1-1), dielectric loss and impulse levels (IEC 60502-2), each with its source. $0.50 USDC per calculation (x402), no free allowance. Notes: thecablecode://guide/mv_electrical.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"lang": {
"enum": [
"en",
"tr",
"de",
"nl",
"sv",
"fr",
"es",
"da",
"no",
"fi",
"it",
"ro",
"pl",
"cs",
"ru"
],
"type": "string",
"description": "Answer language; default en."
},
"spec": {
"type": "object",
"description": "Or a design_cable spec.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"input": {
"type": "object",
"description": "input: {freq: 50 | 60, trefoilMm?, flatMm?} (axis spacing, mm; absent: touching)",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"items": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"maxItems": 50,
"minItems": 1,
"description": "Or a list of {sentence | spec | design, input}, paid per item."
},
"design": {
"type": "object",
"description": "Or a design_cable design.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"sentence": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "The cable, as design_cable takes it."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Economic conductor size of an MV or HV design (IEC 60287-3-2): losses and their present cost for this size and the two sizes up, and the payback, each step with its source. $0.50 USDC per calculation (x402), no free allowance. Notes: thecablecode://guide/economic_size.
| Parameter | Type | Description |
|---|---|---|
| lang | string | Answer language; default en. |
| spec | object | Or a design_cable spec. |
| input | object | input: {amps, hours, mu, price (per kWh), years, interest (%), lengthM, ambientC, ...} |
| items | array | Or a list of {sentence | spec | design, input}, paid per item. |
| design | object | Or a design_cable design. |
| sentence | string | The cable, as design_cable takes it. |
{
"name": "economic_size",
"title": "Economic size of an MV or HV design",
"description": "Economic conductor size of an MV or HV design (IEC 60287-3-2): losses and their present cost for this size and the two sizes up, and the payback, each step with its source. $0.50 USDC per calculation (x402), no free allowance. Notes: thecablecode://guide/economic_size.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"lang": {
"enum": [
"en",
"tr",
"de",
"nl",
"sv",
"fr",
"es",
"da",
"no",
"fi",
"it",
"ro",
"pl",
"cs",
"ru"
],
"type": "string",
"description": "Answer language; default en."
},
"spec": {
"type": "object",
"description": "Or a design_cable spec.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"input": {
"type": "object",
"description": "input: {amps, hours, mu, price (per kWh), years, interest (%), lengthM, ambientC, ...}",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"items": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"maxItems": 50,
"minItems": 1,
"description": "Or a list of {sentence | spec | design, input}, paid per item."
},
"design": {
"type": "object",
"description": "Or a design_cable design.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"sentence": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "The cable, as design_cable takes it."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}The tests after installation for a design (IEC 60502-2, IEC 60840, IEC 62067, HD 620, BS, IEEE 400.2), each with voltage, duration and source, as a PDF to record results in. $0.50 USDC per calculation (x402), no free allowance. Notes: thecablecode://guide/commissioning_sheet.
| Parameter | Type | Description |
|---|---|---|
| lang | string | Answer language; default en. |
| spec | object | Or a design_cable spec. |
| input | object | input: {tests?, variant?, length? (m)} |
| items | array | Or a list of {sentence | spec | design, input}, paid per item. |
| design | object | Or a design_cable design. |
| sentence | string | The cable, as design_cable takes it. |
{
"name": "commissioning_sheet",
"title": "Commissioning sheet (PDF)",
"description": "The tests after installation for a design (IEC 60502-2, IEC 60840, IEC 62067, HD 620, BS, IEEE 400.2), each with voltage, duration and source, as a PDF to record results in. $0.50 USDC per calculation (x402), no free allowance. Notes: thecablecode://guide/commissioning_sheet.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"lang": {
"enum": [
"en",
"tr",
"de",
"nl",
"sv",
"fr",
"es",
"da",
"no",
"fi",
"it",
"ro",
"pl",
"cs",
"ru"
],
"type": "string",
"description": "Answer language; default en."
},
"spec": {
"type": "object",
"description": "Or a design_cable spec.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"input": {
"type": "object",
"description": "input: {tests?, variant?, length? (m)}",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"items": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"maxItems": 50,
"minItems": 1,
"description": "Or a list of {sentence | spec | design, input}, paid per item."
},
"design": {
"type": "object",
"description": "Or a design_cable design.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"sentence": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "The cable, as design_cable takes it."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}End preparation of an LV, MV or HV cable for a termination or joint: cut steps with the design's depths, makers' cut-back lengths (typical), lug, accessory kinds, outdoor creepage (IEC TS 60815-3), glands and cleats. $0.50 USDC per calculation (x402); the verdict alone (no full) is free within the designs' 2 calls per caller per UTC day. Notes: thecablecode://guide/cable_prep.
| Parameter | Type | Description |
|---|---|---|
| boolean | Full mode: add the calculation sheet as pdf_base64. | |
| full | boolean | true: the whole answer (paid). |
| lang | string | Answer language; default en. |
| spec | object | Or a design_cable spec. |
| input | object | input: {pollution?: a to e, fittings?: {formation, spacingMm, currentA, ...}, ...} |
| items | array | Or a list of {sentence | spec | design, input}, paid per item. |
| design | object | Or a design_cable design. |
| sentence | string | The cable, as design_cable takes it. |
{
"name": "cable_prep",
"title": "Cable end preparation",
"description": "End preparation of an LV, MV or HV cable for a termination or joint: cut steps with the design's depths, makers' cut-back lengths (typical), lug, accessory kinds, outdoor creepage (IEC TS 60815-3), glands and cleats. $0.50 USDC per calculation (x402); the verdict alone (no full) is free within the designs' 2 calls per caller per UTC day. Notes: thecablecode://guide/cable_prep.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"pdf": {
"type": "boolean",
"description": "Full mode: add the calculation sheet as pdf_base64."
},
"full": {
"type": "boolean",
"description": "true: the whole answer (paid)."
},
"lang": {
"enum": [
"en",
"tr",
"de",
"nl",
"sv",
"fr",
"es",
"da",
"no",
"fi",
"it",
"ro",
"pl",
"cs",
"ru"
],
"type": "string",
"description": "Answer language; default en."
},
"spec": {
"type": "object",
"description": "Or a design_cable spec.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"input": {
"type": "object",
"description": "input: {pollution?: a to e, fittings?: {formation, spacingMm, currentA, ...}, ...}",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"items": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"maxItems": 50,
"minItems": 1,
"description": "Or a list of {sentence | spec | design, input}, paid per item."
},
"design": {
"type": "object",
"description": "Or a design_cable design.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"sentence": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "The cable, as design_cable takes it."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}IEC 60287 rating of one MV or HV circuit at the site sent (buried, ducts or air), each step with clause and page; optional IEC 60853 cyclic and emergency ratings, banks, troughs, crossings. $5.00 USDC per calculation (x402), no free allowance. Notes: thecablecode://guide/iec60287_rating.
| Parameter | Type | Description |
|---|---|---|
| lang | string | Answer language; default en. |
| spec | object | Or a design_cable spec. |
| input | object | input: {laying: buried | duct | air, formation: trefoil | flat, bonding, depthM?, soil?, groundC?, airC?, cycle?, emergency?, ...} |
| items | array | Or a list of {sentence | spec | design, input}, paid per item. |
| design | object | Or a design_cable design. |
| sentence | string | The cable, as design_cable takes it. |
{
"name": "iec60287_rating",
"title": "IEC 60287 rating of one MV or HV circuit",
"description": "IEC 60287 rating of one MV or HV circuit at the site sent (buried, ducts or air), each step with clause and page; optional IEC 60853 cyclic and emergency ratings, banks, troughs, crossings. $5.00 USDC per calculation (x402), no free allowance. Notes: thecablecode://guide/iec60287_rating.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"lang": {
"enum": [
"en",
"tr",
"de",
"nl",
"sv",
"fr",
"es",
"da",
"no",
"fi",
"it",
"ro",
"pl",
"cs",
"ru"
],
"type": "string",
"description": "Answer language; default en."
},
"spec": {
"type": "object",
"description": "Or a design_cable spec.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"input": {
"type": "object",
"description": "input: {laying: buried | duct | air, formation: trefoil | flat, bonding, depthM?, soil?, groundC?, airC?, cycle?, emergency?, ...}",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"items": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"maxItems": 50,
"minItems": 1,
"description": "Or a list of {sentence | spec | design, input}, paid per item."
},
"design": {
"type": "object",
"description": "Or a design_cable design.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"sentence": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "The cable, as design_cable takes it."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Days an XLPE MV or HV core needs in the oven before its sheath (Fick diffusion, published coefficients): a band, not a standard's result; the AEIC CS8-20 wait beside it up to 46 kV. $5.00 USDC per calculation (x402), no free allowance. Notes: thecablecode://guide/degassing_time.
| Parameter | Type | Description |
|---|---|---|
| lang | string | Answer language; default en. |
| spec | object | Or a design_cable spec. |
| input | object | input: {tempC? (default 70), target? (share left, default 0.1), calibration?, ...} |
| items | array | Or a list of {sentence | spec | design, input}, paid per item. |
| design | object | Or a design_cable design. |
| sentence | string | The cable, as design_cable takes it. |
{
"name": "degassing_time",
"title": "XLPE degassing time estimate",
"description": "Days an XLPE MV or HV core needs in the oven before its sheath (Fick diffusion, published coefficients): a band, not a standard's result; the AEIC CS8-20 wait beside it up to 46 kV. $5.00 USDC per calculation (x402), no free allowance. Notes: thecablecode://guide/degassing_time.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"lang": {
"enum": [
"en",
"tr",
"de",
"nl",
"sv",
"fr",
"es",
"da",
"no",
"fi",
"it",
"ro",
"pl",
"cs",
"ru"
],
"type": "string",
"description": "Answer language; default en."
},
"spec": {
"type": "object",
"description": "Or a design_cable spec.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"input": {
"type": "object",
"description": "input: {tempC? (default 70), target? (share left, default 0.1), calibration?, ...}",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"items": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"maxItems": 50,
"minItems": 1,
"description": "Or a list of {sentence | spec | design, input}, paid per item."
},
"design": {
"type": "object",
"description": "Or a design_cable design.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"sentence": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "The cable, as design_cable takes it."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}An IEC cable in mm2 against its North American counterpart (XHHW-2, RHW-2, THHN or MV-105), value by value with sources, as lines and a report file; never a statement of interchangeability. $0.50 USDC per calculation (x402), no free allowance. Notes: thecablecode://guide/equivalence_report.
| Parameter | Type | Description |
|---|---|---|
| lang | string | Answer language; default en. |
| spec | object | Or a design_cable spec. |
| input | object | input: {format?: md | txt (the report file; default md)} |
| items | array | Or a list of {sentence | spec | design, input}, paid per item. |
| design | object | Or a design_cable design. |
| sentence | string | The cable, as design_cable takes it. |
{
"name": "equivalence_report",
"title": "IEC against NEC / UL equivalence report",
"description": "An IEC cable in mm2 against its North American counterpart (XHHW-2, RHW-2, THHN or MV-105), value by value with sources, as lines and a report file; never a statement of interchangeability. $0.50 USDC per calculation (x402), no free allowance. Notes: thecablecode://guide/equivalence_report.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"lang": {
"enum": [
"en",
"tr",
"de",
"nl",
"sv",
"fr",
"es",
"da",
"no",
"fi",
"it",
"ro",
"pl",
"cs",
"ru"
],
"type": "string",
"description": "Answer language; default en."
},
"spec": {
"type": "object",
"description": "Or a design_cable spec.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"input": {
"type": "object",
"description": "input: {format?: md | txt (the report file; default md)}",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"items": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"maxItems": 50,
"minItems": 1,
"description": "Or a list of {sentence | spec | design, input}, paid per item."
},
"design": {
"type": "object",
"description": "Or a design_cable design.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"sentence": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "The cable, as design_cable takes it."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}The Cable Code: cable designations, designs and installation calculations; deterministic (no language model) unless a tool says so, every value with its source and how firmly it was seen. The tools by group, each line with that group's own price: - Designations: decode_cable_code (any of 71 coding systems), find_equivalents and overhead_conductor (EN 50182 bare overhead conductors, ACSS): 5 free calls per caller per UTC day together, then $0.10 in USDC per call over x402. - Designs: design_cable builds and sizes a cable from a sentence, a spec or a design (ratings, voltage drop, sizing, NEC checks and the tests after installation inside): 2 free designs per caller per UTC day, then $0.50. check_cable checks a cable against a rule set: 2 free a day, then $0.50. - Datasheets: extract_datasheet reads a datasheet into rows and checks them (an LLM reads, the rules decide). Its price, for this tool only: a paid call from the first document: $2.00 in USDC per document, no free allowance. - Tenders: write_specification writes a tender specification, always paid: $2.00 for the first cable, $0.50 for each further cable in the same call, up to 30. read_tender reads a tender document's text into its cables (built and checked), requirements, schedule, conflicts and gaps (an LLM copies, the rules decide), always paid: $4.00 up to 20 pages, $2.00 for each further 10 pages begun, up to 80 pages. - Installation calculations (Pro on the site): pull_cable, tray_fill, drum_loading, cold_weather_check, mv_electrical, economic_size, commissioning_sheet, cable_prep, iec60287_rating, degassing_time, equivalence_report: $0.50 per calculation in USDC with x402; the free verdict counts against the designs' 2 free calls per caller per UTC day; a list of up to 50 items at $0.50 per item, one payment. Their own prices: commissioning_sheet $0.50, cable_prep $0.50, iec60287_rating $5.00, degassing_time $5.00 (an estimate with a band, no standard gives one). - Free, outside the daily calls: drum_fit (a designed cable's OD is design_cable's overall_diameter_mm), design_presets, burial_depth, fire_class, awg_metric and conduit_fill. Paid tools take the x402 payment in _meta["x402/payment"]. lang: any of the site's 15 languages. Resources: thecablecode://laying-guide, thecablecode://glossary, thecablecode://changelog, and thecablecode://guide/{tool} with a tool's full notes.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| Fault duration for ratings.short_circuit, s (default 1). |
| formats | array | Files to include: xml, dxf, svg, csv, glb, step, pdf (datasheet). |
| sentence | string | The cable in words (any site language) or a designation; what is not said takes a default, listed in the answer. |
| installation | object | For ratings.current: how the cable is installed; what is not given takes the defaults the answer lists. |
| test_variant | string | A national variant of the tests after installation; default the design standard's. |
{
"name": "design_cable",
"title": "Design and size a power cable",
"description": "Design and size a cable (power, control, LAN, coaxial, fibre) from a sentence in any site language, a designation, a spec or a design: each layer with its standard and source, diameter, weight, designation, current, voltage drop and short-circuit ratings, optional files (XML, DXF, SVG, CSV, GLB, STEP, PDF). Deterministic, no LLM; nominal values. Notes: thecablecode://guide/design_cable. 2 free designs per caller per UTC day, then $0.50 USDC per design (x402).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"cpc": {
"type": "object",
"description": "The protective conductor check: {kind, system, device and device_a or ia_a, length_m, ...}.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"nec": {
"type": "object",
"description": "North American wires: {ocpd_a, install, ambient_c, carrying, termination_c}: NEC ampacity and EGC; CSA designs by C22.1.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"lang": {
"enum": [
"en",
"tr",
"de",
"nl",
"sv",
"fr",
"es",
"da",
"no",
"fi",
"it",
"ro",
"pl",
"cs",
"ru"
],
"type": "string",
"description": "Language of the answer's words; the sentence is read in any."
},
"load": {
"type": "object",
"description": "For voltage_drop and sizing: {length_m (required), amps or kw, phases, volts, pf, limit_pct, conduit, formation}.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"spec": {
"type": "object",
"description": "Or {voltage: \"12/20\", cores: 3, section: 95, metal, screen, insulation, sheath, armour, standard (a design_presets id), ...} or {lan: {category, shield, awg}}.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"fault": {
"type": "object",
"description": "For cpc: {ka, seconds}, the adiabatic check up to 1 kV.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"design": {
"type": "object",
"description": "Instead of a sentence: the design field of an earlier answer, changed.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"fault_s": {
"type": "number",
"maximum": 5,
"minimum": 0.1,
"description": "Fault duration for ratings.short_circuit, s (default 1)."
},
"formats": {
"type": "array",
"items": {
"enum": [
"xml",
"dxf",
"svg",
"csv",
"glb",
"step",
"pdf"
],
"type": "string"
},
"description": "Files to include: xml, dxf, svg, csv, glb, step, pdf (datasheet)."
},
"sentence": {
"type": "string",
"examples": [
"NA2XS(F)2Y 1x240/25 12/20 kV",
"3-core collective screen 12/20 kV 3x95/25 Al, longitudinally watertight",
"NYY-J 4x16"
],
"maxLength": 300,
"minLength": 1,
"description": "The cable in words (any site language) or a designation; what is not said takes a default, listed in the answer."
},
"installation": {
"type": "object",
"properties": {
"air_c": {
"type": "number",
"description": "Air temperature, °C."
},
"group": {
"type": "integer",
"maximum": 12,
"minimum": 1,
"description": "Cables or circuits side by side."
},
"phase": {
"enum": [
"single",
"three"
],
"type": "string",
"description": "IS 694 single-core: the circuit."
},
"tiers": {
"enum": [
"yes",
"no"
],
"type": "string",
"description": "rating_basis is3961: buried in tiers."
},
"trays": {
"type": "integer",
"maximum": 3,
"minimum": 1,
"description": "Trays one above the other."
},
"h3_pct": {
"type": "number",
"description": "0.6/1 kV 4- and 5-core: third-harmonic share, %."
},
"is_pvc": {
"enum": [
"A",
"C"
],
"type": "string",
"description": "rating_basis is3961, IS 1554-1: the PVC grade."
},
"laying": {
"enum": [
"buried",
"duct",
"air"
],
"type": "string",
"description": "Buried, in a duct, or in air."
},
"loaded": {
"anyOf": [
{
"type": "number",
"const": 2
},
{
"type": "number",
"const": 3
}
],
"description": "0.6/1 kV single-core: loaded conductors."
},
"method": {
"enum": [
"C",
"E",
"D_direct",
"D_duct"
],
"type": "string",
"description": "BS 7671 reference method."
},
"depth_m": {
"type": "number",
"description": "Laying depth, m."
},
"support": {
"enum": [
"tray",
"ladder",
"vertical"
],
"type": "string",
"description": "In air with a group: the support."
},
"ground_c": {
"type": "number",
"description": "Ground temperature, °C."
},
"strip_mm": {
"type": "number",
"description": "Short circuit: armour strip thickness, mm."
},
"au_method": {
"enum": [
"air",
"spaced",
"trefoil",
"conduit",
"buried",
"duct"
],
"type": "string",
"description": "rating_basis au: the installation."
},
"clearance": {
"enum": [
"touching",
"oneDiameter",
"0.125",
"0.25",
"0.5",
"1.0"
],
"type": "string",
"description": "0.6/1 kV: touching, oneDiameter, or a ground clearance, m."
},
"formation": {
"enum": [
"trefoil",
"flatTouching",
"flatSpaced"
],
"type": "string",
"description": "Single-core circuits."
},
"is_method": {
"enum": [
"clipped",
"enclosed",
"defined",
"trefoil"
],
"type": "string",
"description": "IS 694: the installation method."
},
"mv_temp_c": {
"anyOf": [
{
"type": "number",
"const": 90
},
{
"type": "number",
"const": 105
}
],
"description": "Type MV and URD: the 90 or 105 °C column."
},
"reel_drum": {
"enum": [
"cylindrical",
"radial-vent",
"radial-closed"
],
"type": "string",
"description": "A flexible cable on a reeling drum."
},
"iec_method": {
"enum": [
"A1",
"A2",
"B1",
"B2",
"C",
"D1",
"D2",
"E",
"F",
"G"
],
"type": "string",
"description": "IEC 60364-5-52 reference method, 0.6/1 kV."
},
"is_circuit": {
"enum": [
"three",
"single",
"dc"
],
"type": "string",
"description": "rating_basis is3961: the circuit."
},
"lead_alloy": {
"enum": [
"yes",
"no"
],
"type": "string",
"description": "Short circuit: the lead sheath is a lead alloy."
},
"mv_install": {
"enum": [
"airIsolated",
"airTriplexed",
"conduitAir",
"duct",
"buried",
"buriedTriplexed"
],
"type": "string",
"description": "Type MV and URD, NEC 315.60: the installation."
},
"protection": {
"enum": [
"close",
"coarse"
],
"type": "string",
"description": "IS 694: the excess current protection."
},
"restrained": {
"enum": [
"yes",
"no"
],
"type": "string",
"description": "Short circuit: buried, clamped or bent tight."
},
"spacing_mm": {
"type": "number",
"description": "Group spacing, mm; 0 touching."
},
"arrangement": {
"enum": [
"bunched",
"wall",
"ceiling",
"perforated",
"vertical",
"unperforated",
"ladder",
"spaced"
],
"type": "string",
"description": "0.6/1 kV in air: how the group lies."
},
"circuit_use": {
"enum": [
"power",
"signal",
"electronic"
],
"type": "string",
"description": "0.6/1 kV, Table 52.2: sets the smallest conductor."
},
"reel_layers": {
"type": "integer",
"maximum": 5,
"minimum": 1,
"description": "With reel_drum cylindrical: layers wound."
},
"loaded_cores": {
"type": "integer",
"maximum": 61,
"minimum": 1,
"description": "HD 603, over four cores: loaded cores."
},
"rating_basis": {
"enum": [
"iec",
"is3961",
"hd620",
"de",
"au"
],
"type": "string",
"description": "The rating tables; default iec."
},
"air_formation": {
"enum": [
"trefoil",
"flat",
"horizontal",
"vertical"
],
"type": "string",
"description": "0.6/1 kV single-core in free air."
},
"cord_carrying": {
"anyOf": [
{
"type": "number",
"const": 2
},
{
"type": "number",
"const": 3
}
],
"description": "North American cord: current-carrying conductors."
},
"soil_k_m_per_w": {
"type": "number",
"description": "Soil thermal resistivity, K·m/W."
}
},
"description": "For ratings.current: how the cable is installed; what is not given takes the defaults the answer lists."
},
"test_variant": {
"type": "string",
"description": "A national variant of the tests after installation; default the design standard's."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}| Requirement ids (rodent, uv-sunlight, flame-bunched, fire-resistance, longitudinal-watertight ...), or {id, option}; set on every cable. Every id and option: thecablecode://guide/write_specification or GET /api/v1/spec/requirements. |
{
"name": "write_specification",
"title": "Write a cable specification and its required / offered schedule",
"description": "Write the cable specification for a tender, one cable or a project, each as design_cable takes it, with the project's requirements: the specification in tender order (Markdown and text) and the required / offered schedule (CSV and JSON), REQUIRED filled with sources, OFFERED left for the bidder. Deterministic, no LLM; a draft to check. Notes: thecablecode://guide/write_specification. Always paid: $2.00 for the first cable, $0.50 for each further cable in the same call, up to 30, USDC (x402).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"drum": {
"type": "string",
"maxLength": 240,
"description": "The drums section's line; absent: the bidder proposes."
},
"lang": {
"enum": [
"en",
"tr",
"de",
"nl",
"sv",
"fr",
"es",
"da",
"no",
"fi",
"it",
"ro",
"pl",
"cs",
"ru"
],
"type": "string",
"description": "Language of the specification; default en."
},
"spec": {
"type": "object",
"description": "Or a design_cable spec.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"cables": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"maxItems": 30,
"minItems": 1,
"description": "Or a project: cables, each {sentence | spec | design, installation, fault_s, drum}."
},
"design": {
"type": "object",
"description": "Or a design_cable design.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"fault_s": {
"type": "number",
"maximum": 5,
"minimum": 0.1,
"description": "Fault duration for the short-circuit rows, s (default 1)."
},
"sentence": {
"type": "string",
"examples": [
"NA2XS(F)2Y 1x240/25 12/20 kV"
],
"maxLength": 300,
"minLength": 1,
"description": "One cable, as design_cable takes it."
},
"installation": {
"type": "object",
"description": "For the current rating row, as design_cable takes it.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"requirements": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"option": {
"type": "string"
}
}
}
]
},
"description": "Requirement ids (rodent, uv-sunlight, flame-bunched, fire-resistance, longitudinal-watertight ...), or {id, option}; set on every cable. Every id and option: thecablecode://guide/write_specification or GET /api/v1/spec/requirements."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}| layers |
| integer |
| With reeling: the layers wound; default 1. |
| length | number | Cable length to wind, m. |
| system | string | Drum family; default all. |
| lagging | string | Adds the handling and storage block, with this lagging. |
| reeling | string | A motor-driven reeling drum: adds the NFPA 79 (2024) derating. |
| handling | any | 1: the handling block with lagging none. |
| material | string | With D, d and W: the drum's material for the handling block (default wood). |
| allowance | number | Wound diameter over OD. Default 1.05. |
| barrel_od | number | A bundle's lay-up diameter for the barrel check, mm; default od. |
| freeboard | number | Freeboard to the flange rim, mm. |
| free_height | number | With D, d and W, a part-used drum: flange rim down to the cable top, mm. |
{
"name": "drum_fit",
"title": "Find the cable drum a length needs",
"description": "Which cable drum (reel) a length needs (od, length), or what one drum takes (od, D, d, W): nested whole layers on 1.05 x OD under a freeboard, over KTG, Nordic K, DIN, Spanish, NEMA, Turkish, IS 10418 and makers' drums with sources, with barrel and load checks; reeling adds the NFPA 79 derating, lagging the handling block. Notes: thecablecode://guide/drum_fit. Free, outside the daily calls; deterministic, no LLM.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"od"
],
"properties": {
"D": {
"type": "number",
"description": "A drum by its dimensions: flange diameter, mm."
},
"W": {
"type": "number",
"description": "Winding width between the flanges, mm."
},
"d": {
"type": "number",
"description": "Barrel diameter, mm, less than D."
},
"kg": {
"type": "number",
"description": "Cable mass, kg/km: adds weights and the load check."
},
"od": {
"type": "number",
"description": "Cable outer diameter, mm (a flat cable: its larger side)."
},
"max": {
"type": "integer",
"maximum": 10,
"minimum": 1,
"description": "Most drums of one size the length may be split over; default 1."
},
"kind": {
"enum": [
"flexible",
"lv-multi",
"lv-single",
"mv-multi",
"mv-single",
"hv",
"telecom",
"paper-lead"
],
"type": "string",
"description": "Cable kind for the smallest barrel; default lv-multi."
},
"lang": {
"enum": [
"en",
"tr",
"de",
"nl",
"sv",
"fr",
"es",
"da",
"no",
"fi",
"it",
"ro",
"pl",
"cs",
"ru"
],
"type": "string",
"description": "The handling block's words: any of the site's 15 languages."
},
"pool": {
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"const": 1
},
{
"type": "boolean"
}
],
"description": "With length, 1: pooled sizes over makers (pools[]) instead of one row per drum."
},
"layers": {
"type": "integer",
"maximum": 5,
"minimum": 1,
"description": "With reeling: the layers wound; default 1."
},
"length": {
"type": "number",
"description": "Cable length to wind, m."
},
"system": {
"enum": [
"KTG",
"nordic-k",
"din",
"spanish",
"EU",
"NEMA",
"NA",
"TR",
"IS",
"reels",
"maker",
"other",
"all"
],
"type": "string",
"description": "Drum family; default all."
},
"lagging": {
"enum": [
"none",
"full",
"export",
"spaced",
"cat",
"wrap",
"steel"
],
"type": "string",
"description": "Adds the handling and storage block, with this lagging."
},
"reeling": {
"enum": [
"cylindrical",
"radial-vent",
"radial-closed"
],
"type": "string",
"description": "A motor-driven reeling drum: adds the NFPA 79 (2024) derating."
},
"handling": {
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"const": 1
},
{
"type": "boolean"
}
],
"description": "1: the handling block with lagging none."
},
"material": {
"enum": [
"wood",
"plywood",
"steel",
"plastic",
"cardboard"
],
"type": "string",
"description": "With D, d and W: the drum's material for the handling block (default wood)."
},
"allowance": {
"type": "number",
"description": "Wound diameter over OD. Default 1.05."
},
"barrel_od": {
"type": "number",
"description": "A bundle's lay-up diameter for the barrel check, mm; default od."
},
"freeboard": {
"type": "number",
"description": "Freeboard to the flange rim, mm."
},
"free_height": {
"type": "number",
"description": "With D, d and W, a part-used drum: flange rim down to the cable top, mm."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}{
"name": "pull_cable",
"title": "Cable pull: tensions and sidewall pressure",
"description": "Pull a cable through straights and bends (conduit or rollers): tension per segment from either end, sidewall pressure per bend, jam ratio and fill, against the allowable values with sources. $0.50 USDC per calculation (x402); the verdict alone (no full) is free within the designs' 2 calls per caller per UTC day. Notes: thecablecode://guide/pull_cable.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"pdf": {
"type": "boolean",
"description": "Full mode: add the calculation sheet as pdf_base64."
},
"full": {
"type": "boolean",
"description": "true: the whole answer (paid)."
},
"lang": {
"enum": [
"en",
"tr",
"de",
"nl",
"sv",
"fr",
"es",
"da",
"no",
"fi",
"it",
"ro",
"pl",
"cs",
"ru"
],
"type": "string",
"description": "Answer language; default en."
},
"spec": {
"type": "object",
"description": "Or a design_cable spec.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"input": {
"type": "object",
"description": "input: {route: [{kind: \"straight\", length, slope} | {kind: \"bend\", radius, angle, plane}], n, duct: {kind: \"conduit\", material, idMm} | {kind: \"rollers\"}, head, ...}",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"items": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"maxItems": 50,
"minItems": 1,
"description": "Or a list of {sentence | spec | design, input}, paid per item."
},
"design": {
"type": "object",
"description": "Or a design_cable design.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"sentence": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "The cable, as design_cable takes it."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}