List Layers
list_layersRetrieve all layers from a DXF file with properties such as color, linetype, lineweight, status, and entity count to review or audit layer organization.
Instructions
List all layers in a DXF drawing with properties (name, color ACI/Hex, linetype, lineweight, status on/frozen/locked, entity count).
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": {
"file_path": "<file_path>"
},
"name": "list_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |