Calculate rope diameter
calculate_rope_diameterRead-only. Calculates the estimated diameter of a three-strand rope from a thread's linear density and the number of threads per strand. Use this tool when the user asks how thick a rope made from a given thread will be, or what diameter a custom dTex produces. Provide basis 'catalog' with threadId for a catalog thread, or basis 'dtex' with a value between 22.22 and 6000 for a custom thread. threadsPerStrand is 1 to 5; because all ropes have three strands, 2 corresponds to the 2 × 3 construction. The model does not use tension load: there are no load parameters and no load fields in the response. Diameters are model estimates, not measured values; above 3000 dTex the result carries an EXTRAPOLATION warning. The text response shows the diameter with three decimals, structuredContent carries the unrounded numbers plus API, algorithm, model and catalog versions. Use find_rope_threads when the user wants threads for a target diameter instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"basis": "<basis>",
"threadsPerStrand": "<threadsPerStrand>"
},
"name": "calculate_rope_diameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dtex | No | Custom linear density in dTex, from 22.22 to 6000 inclusive. Required when basis is 'dtex'. | |
| basis | Yes | Source of the linear density. Use 'catalog' for a thread from the catalog, or 'dtex' for a custom value. | |
| threadId | No | Catalog thread id, for example 'tera-40'. Required when basis is 'catalog'. Use find_rope_threads to see which thread ids match a target diameter. | |
| threadsPerStrand | Yes | Threads per strand: 1 to 5. All ropes have three strands, so 2 means the 2 × 3 construction. |