Drawing Info
drawing_infoRetrieve metadata for the current AutoCAD drawing, including name, path, entity and layer counts, extents, units, version, document ID, and revision.
Instructions
Get comprehensive metadata for the current drawing.
Returns: name, path, entity_count, layer_count, block_count,
extents (min/max), units, version, backend name, and the document's
document_id (a uuid4 hex minted when it was opened or created) and
revision (its content revision: moved by every content change, never by
a save, an export, a finalize or a delivery). On the live engine a call
made after the operator switched AutoCAD's active document is refused with
kind: "active_document_changed" (bound, active).
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": "drawing_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||