Scan DWG files
scan_drawingsLists DWG files from an authorized project root without opening them, enabling quick inventory and inspection before plotting.
Instructions
List DWG files under an explicitly allowed project root without opening them.
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": {
"root": "<root>"
},
"name": "scan_drawings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | Explicit local path; it must pass CadPlot's configured path policy. | |
| max_files | No | Safety cap for DWG discovery before pagination. | |
| recursive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | ||
| count | Yes | ||
| drawings | Yes |