List Hole Thread Options
list_thread_optionsList valid coupled thread type and size values for threaded holes, optionally filtered by type, before creating a hole to prevent failed enum-value calls.
Instructions
Discover the COUPLED ThreadType / ThreadSize enums on the hole tool.
Call with no args to list valid thread_type values. Call with thread_type=... to list the valid thread_size values for that type (the coupling: thread_size='M4' is valid for 'ISOMetricProfile' but not for 'UNC'). Use this BEFORE calling hole(threaded=True, thread_type=..., thread_size=...) to avoid a failed enum-value call.
Returns either {thread_types: [...]} or {thread_type, thread_sizes: [...]}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_thread_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | Run this call in this named workspace | |
| thread_type | No |