autocad_get_entity
Retrieve a single CAD entity by its hex handle to inspect its type, layer, and geometry, or return an error message when the handle is unknown.
Instructions
Get one entity by handle, including its geometry.
Args: params (GetEntityInput): - handle (str): hex handle from a create/query tool, e.g. '1A4'.
Returns: str: JSON {"handle", "type", "layer", "geometry"}; "Error (...)": message if the handle is unknown.
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": {
"params": "<params>"
},
"name": "autocad_get_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |