list_layers
List all layers in a DXF drawing with their colour, linetype, state, and entity count. Use this to inspect layer organization and spot unused or inconsistent layers.
Instructions
List every layer in a drawing with its colour, linetype, state and 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": {
"path": "<path>"
},
"name": "list_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |