bricscad_query_entities
Find and filter entities in the current drawing by type, layer, block, layout, or bounding box, returning handles, types, layers, layouts, and bounding boxes for audits and selection.
Instructions
Find entities in the current drawing. Returns handle, type, layer, layout and bounding box. Up to 2000 per call.
types: DXF names such as ["LINE", "CIRCLE"]. layer, block: names, which may use the wildcards * and ?. A dynamic block goes by its own name. bbox: [min_x, min_y, max_x, max_y]; entities overlapping it match. layout: "Model" or a layout name.
An entity with no extent, such as an insert of an empty block, returns a null bounding box.
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": "bricscad_query_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | No | ||
| block | No | ||
| layer | No | ||
| limit | No | ||
| types | No | ||
| layout | No | ||
| offset | No | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||