list_edges
Retrieve edge IDs, types, lengths, endpoints, midpoints, and radii/centers from a SOLIDWORKS solid body; optional filters narrow results by edge type or axis.
Instructions
List the edges of the solid body: id, type (line / circle / arc), length, end points, midpoint, and radius / centre for round edges. Filters are optional. Ids hold only until the geometry changes: select_edges refuses them after a change (list again). By default one short text line per item (fewer tokens); compact: false gives an object per item.
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_edges"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | mm, cm, m, inch or ft | |
| compact | No | One short text line per row (same ids and values, fewer tokens); false gives an object per row | |
| edge_type | No | Only edges of this type | |
| parallel_to | No | Only straight edges parallel to this model axis |