click
Selects a CAD drawing object at given coordinates and reports its exact type, layer, geometry, text, block attributes, and size; lists nearby alternatives when the pick is ambiguous.
Instructions
Click on the drawing: select the object under the point and report exactly what it is (type, layer, coordinates, text, block attributes, size...). Nearby alternatives are listed; select one with select(handles=[...]) if the pick was not the one you wanted.
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": {
"x": "<x>",
"y": "<y>"
},
"name": "click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| add | No | Add to the selection instead of replacing it | |
| coords | No | 'px' = pixels of the last image, 'world' = drawing units | px |
| tolerance_px | No | Pick box half-size in screen pixels |