autocad_list_layers
Retrieve every layer in the active drawing with its color and linetype. Use this to inspect or validate layer settings before editing CAD documents.
Instructions
List all layers in the active drawing with their color and linetype.
Returns: str: JSON {"count", "layers": [{"name", "color", "linetype"}, ...]}.
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": "autocad_list_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |