context
Return active document ID, path, and monotonic revision
How to use it
context is exposed by the AutoCAD MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the context tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL AUTOCAD MCP LISTINGOther tools in AutoCAD MCP (29)
Activate a docid at an exact expectedrevision, then verify active-document readback
Compact structured entity audit with change tracking
Parse an existing DXF into normalized JSON
Geometry/topology DRC including gaps, dangling endpoints, crossings, tangency, equal radii, and projection checks
Create and activate a new document, optionally at a managed path
No
Validated DWG/DXF/PDF package with manifest and checksums
Yes
Diagnostic-only capture; returns a managed PNG path, dimensions, and SHA-256 by default. Raw image content requires data.includeimage=true plus AUTOCADMCPALLOWINLINEIMAGES=true.
Get system variables by name
Get entity count and layers
Yes
Yes
Yes
Open an existing drawing
Plot to PDF
Purge unused objects
Redo last undone operation
True PNG with DPI, force-overwrite, dimensions, and SHA-256
Save current drawing (to path if given)
Export as DXF without switching the active DWG
Set a bounded whitelist of units/dimension/linetype variables
Apply an allowlisted built-in style (Conceptual, Realistic, Shaded, etc.) with optional verified entity colors; requires docid and expectedrevision
Configure mm units, dimensions, sheet metadata, and seven GB/T layers
Undo last operation
Yes
Create and report the managed output workspace
Zoom to show all entities
Zoom to a specified window