tqs_dwg_read
Read TQS DWG drawings to extract scale, metadata, extents, levels, blocks, and entities. Filter by type, level, or text to retrieve rebar callouts and labels.
Instructions
Read a TQS drawing (.DWG): scale and system metadata, extents, levels, blocks, entity counts, and entities themselves. Filter by entity type, level, or text content — extracting TEXT entities is the usual way to pull rebar callouts and labels out of a drawing. Units are centimeters.
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": {
"dwg_path": "<dwg_path>"
},
"name": "tqs_dwg_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | ||
| limit | No | ||
| include | No | ||
| dwg_path | Yes | ||
| entity_types | No | ||
| text_contains | No |