Find rope threads
find_rope_threadsRead-only. Finds catalog thread constructions whose estimated rope diameter is within ±10% of a target diameter. Use this tool when the user asks which threads to use for a rope of a given thickness. It checks 1, 2, 3, 4 and 5 threads per strand for every selected thread. Omit threadIds to search the whole active catalog, or pass thread ids to narrow the search. Results are sorted by absolute deviation from the target, then dTex, then threads per strand, with a deterministic tie-break. The ±10% window is a search tolerance, not an accuracy claim of the model. The response includes every match with its diameter and deviation percent, the tolerance, the model and catalog versions, and any warnings such as EXTRAPOLATION. An empty results array means no construction fits the ±10% tolerance; it is a successful answer, not an error. Use calculate_rope_diameter to get the diameter for one specific thread.
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": {
"targetDiameterMm": "<targetDiameterMm>"
},
"name": "find_rope_threads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadIds | No | Optional list of catalog thread ids to check, for example ['tera-40', 'tera-30']. Omit to check the whole active catalog. An empty array is rejected rather than treated as the whole catalog. | |
| targetDiameterMm | Yes | Target rope diameter in millimetres, greater than zero. Matches within ±10% of this value are returned. |