list_sketch_entities
Lists open sketch entity IDs, coordinates, sizes, dimensions, relations, and definition status so you can target correct IDs for adding relations or dimensions and verify closed contours.
Instructions
List the open sketch's entities (ids, coordinates, sizes), dimensions, relation count and definition status (under_defined / fully_defined / over_defined). The ids are what add_sketch_relation and add_sketch_dimension take. They follow drawing order (1 = the first entity drawn; a rectangle is 4 entities) and stay the same when more geometry is added. Every line, arc and spline also gets start_joins / end_joins: the ends of other entities at the same place, as 'id:start' / 'id:end'. open_ends lists the ends that touch nothing (construction geometry does not count), so an empty open_ends means every contour is closed.
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_sketch_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | mm, cm, m, inch or ft |