block_list
List named block definitions, excluding anonymous blocks, with base point, entity count, attribute count, and xref status to discover available blocks before insertion.
Instructions
List named block definitions, excluding anonymous blocks, with base point, entity count, attribute-definition count, and xref status.
Side-effects: None. Read-only block definition query. Disambiguation: Use to discover available blocks before inserting.
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": "block_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum block definitions to return (default: 200) | |
| offset | No | Pagination offset index (default: 0) | |
| name_filter | No | Optional substring filter on block name | |
| include_xrefs | No | Whether to include external reference blocks (default: True) | |
| include_xref_dependent | No | Whether to include XREF-dependent blocks (default: False) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |