acad_list_file_blocks
List block definitions from an external .dwg file without opening it in AutoCAD or modifying the drawing.
Instructions
List the blocks in another .dwg file. Read only: the file is not opened in AutoCAD or changed.
If the file is outside the allowed folders, ask the user first, then pass confirm_outside_root=true.
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": "acad_list_file_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| confirm_outside_root | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||