90 tools, in 11 groups
35 are free: they only read and inspect the drawing. The other 55 can change a drawing, its view or files, open and close drawings, or hand a job to CAD Batch Pro, and use the same licence check as the batch tools. Select a tool to read its full description.
This list is generated from the tool manifest that ships with the product, so it always matches what Claude sees. Descriptions are written for the assistant, which is why they are detailed.
Look at the drawing 21 tools, 16 free
Overview, entities, text search, measuring, pictures of the view, hiding and showing objects, and drawing diagnostics.
acad_capture_viewLicenceReturns a PNG picture of the ACTIVE drawing as AutoCAD shows it.
Returns a PNG picture of the ACTIVE drawing as AutoCAD shows it. view: 'current' (default: exactly what the user sees), 'extents' (everything in the current space), or a 'window' [xmin, ymin, xmax, ymax] in WCS, or 'handles' / 'selectionId' (the picture is zoomed to those entities). 'width' is the picture width in pixels (200 to 2048, default 1024). The user's view is changed for the shot and always restored; nothing in the drawing changes. The picture shows the current space (model, or the active layout) and does not switch layouts. It is made by AutoCAD itself, not by accoreconsole, and shows what AutoCAD draws on screen: colours, layer visibility and visual style as they are now (a 'visualStyle' such as Realistic, Conceptual or Hidden applies to the shot only and is restored afterwards). For 3D, 'viewpoint' looks at model space from top, front, an isometric corner and so on.
acad_detect_closed_loopsFreeFinds the closed outlines formed by lines, arcs, polylines, circles, ellipses and splines (those closed by themselves, and chains whose ends meet within tolerance) and nests them:…
Finds the closed outlines formed by lines, arcs, polylines, circles, ellipses and splines (those closed by themselves, and chains whose ends meet within tolerance) and nests them: outerLoops, each with the innerIslands (holes or inner outlines) it contains, with handles, area and bounding box. Chains that do not close are reported under openOutlines with the gapPoints where an end touches nothing; curves meeting in a junction of three or more are reported under branching.
acad_diagnose_drawingFreeChecks the active drawing for what makes drawings misbehave and names the fix for each finding: empty ACIS objects (they stop DXF/DWG export to versions before 2013), proxy entities and…
Checks the active drawing for what makes drawings misbehave and names the fix for each finding: empty ACIS objects (they stop DXF/DWG export to versions before 2013), proxy entities and objects by class, unresolved XREFs, missing images, PDF/DWF/DGN underlays, fonts and plot style tables, block definitions nobody inserts (often what makes a file large), purgeable table records, AEC leftovers. Looks inside every block definition. Reports only; it fixes nothing.
acad_diff_geometry_entitiesFreeCompares the entities of the ACTIVE drawing with those of another .dwg or .dxf file: unchanged, modified (same handle, different geometry), moved (same shape in another place, with the…
Compares the entities of the ACTIVE drawing with those of another .dwg or .dxf file: unchanged, modified (same handle, different geometry), moved (same shape in another place, with the displacement), removed (only in the active drawing) and added (only in the other file). Entities are matched by type, layer, colour, linetype and geometry rounded to the tolerance. Compares one space (model by default), optionally limited to layers or entity types. The other file is read, not opened or changed.
acad_drawing_registerFreeStarts a JOB that reads the title blocks of every drawing in a folder - drawing number, revision, title, date, whatever attributes they carry - without opening them in the editor.
Starts a JOB that reads the title blocks of every drawing in a folder - drawing number, revision, title, date, whatever attributes they carry - without opening them in the editor. Returns a jobId at once; progress and results (filterable with 'where', e.g. {"REV": "B"}) are read through the job's status. The folder is inside a folder allowed in the AutoCAD MCP config; any other is refused. Title blocks: inserts with attributes on the layouts (model space if a drawing has none); titleBlocks (name wildcards) narrows them. AutoCAD stays usable while it runs.
acad_drawing_summaryFreeA compact overview of the ACTIVE drawing in the selected AutoCAD: file name, format and size, unsaved changes, units, extents (from the drawing header, as of the last regen), model-space…
A compact overview of the ACTIVE drawing in the selected AutoCAD: file name, format and size, unsaved changes, units, extents (from the drawing header, as of the last regen), model-space entity counts by type and by layer, layouts with entity and viewport counts, layer states, block definitions and the most inserted blocks, and XREFs with their status. Counts, not lists of objects: the size does not grow with the drawing. Dimension and table internals (*D/*T blocks) are not double-counted.
acad_find_entitiesFreeFinds entities by filter and returns the COUNT, counts by type, the first page of {handle, type, layer, space}, and a selectionId that the read and show tools accept.
Finds entities by filter and returns the COUNT, counts by type, the first page of {handle, type, layer, space}, and a selectionId that the read and show tools accept. All filters combine (AND). Types are DXF names: LINE, LWPOLYLINE, CIRCLE, ARC, TEXT, MTEXT, INSERT, DIMENSION, HATCH, 3DSOLID... Names accept * and ? wildcards. Coordinates are WCS. Paged: 'limit' (default 50, max 500) and the 'nextCursor' of the previous answer as 'cursor'.
acad_find_free_spaceFreeRectangles of at least width x height, within searchRadius of anchorPoint, that no visible entity touches, nearest first.
Rectangles of at least width x height, within searchRadius of anchorPoint, that no visible entity touches, nearest first. A line or polyline only blocks a rectangle it crosses or lies inside; text, blocks, dimensions and hatches block by their bounding box. Layers that are off or frozen are ignored. Gives centre, corners and the distance from the anchor.
acad_find_textFreeFinds TEXT, MTEXT and block attribute values matching a string (or a regular expression) and returns the count, the first page of {handle, type, text, position, layer; for attributes block,…
Finds TEXT, MTEXT and block attribute values matching a string (or a regular expression) and returns the count, the first page of {handle, type, text, position, layer; for attributes block, tag and insert handle}, and a selectionId. Case-insensitive unless asked. Paged: 'limit' (default 50, max 500) and the 'nextCursor' of the previous answer as 'cursor'.
acad_fit_geometryFreeFits a line, circle or arc to a cloud of points - given as 'points', or taken from the points, block insertion points, polyline vertices, line ends and curves of 'handles' / a 'selectionId'…
Fits a line, circle or arc to a cloud of points - given as 'points', or taken from the points, block insertion points, polyline vertices, line ends and curves of 'handles' / a 'selectionId' - by least squares, and reports the fitted geometry (centre, radius, ends, arc span; in WCS, for points that are not flat the best plane through them), the RMS and largest deviation, the standard error of the radius and centre, and how many points were ignored as strays (robust, on by default). kind auto picks a line unless a circle clearly fits better. A short arc cannot fix its radius: the standard error says so. It draws nothing.
acad_get_entitiesFreeKey properties of entities by handle (at most 100) or by selectionId, page by page: layer, colour, linetype, bounding box, and per type - line ends and length, circle/arc centre and radius,…
Key properties of entities by handle (at most 100) or by selectionId, page by page: layer, colour, linetype, bounding box, and per type - line ends and length, circle/arc centre and radius, polyline vertex count, length and area, text content, insert block name, position, scale, attributes and dynamic properties, dimension measurement, hatch pattern and area, solid volume. Polyline vertices only with includeVertices. Unknown handles are listed in notFound. Paged: 'limit' (default 50, max 500) and the 'nextCursor' of the previous answer as 'cursor'.
acad_get_selectionFreeWhat the user has SELECTED in AutoCAD right now (the objects with grips): the count, counts by type, the first 50 as {handle, type, layer}, and a selectionId that the read, modify, erase,…
What the user has SELECTED in AutoCAD right now (the objects with grips): the count, counts by type, the first 50 as {handle, type, layer}, and a selectionId that the read, modify, erase, transform, geometry-edit, measure and other tools accept. Nothing is changed, and the selection stays as it is.
acad_get_statusFreeWhich AutoCAD sessions have the AutoCAD MCP plug-in running, and for each: product and version, open drawings and which is active, whether AutoCAD is BUSY (a command or a dialog - other…
Which AutoCAD sessions have the AutoCAD MCP plug-in running, and for each: product and version, open drawings and which is active, whether AutoCAD is BUSY (a command or a dialog - other tools then report that AutoCAD is busy and do nothing), and the plug-in and CAD Batch Pro versions. When several AutoCADs are running, 'pid' chooses the one every other tool uses.
acad_get_sysvarsFreeValues of the system variables that decide how a drawing looks and measures (the same list the set tool takes: units, scales, current layer / styles / annotation scale, field and annotative…
Values of the system variables that decide how a drawing looks and measures (the same list the set tool takes: units, scales, current layer / styles / annotation scale, field and annotative settings) and, read only, the security state: SECURELOAD, TRUSTEDPATHS, TRUSTEDDOMAINS, LEGACYCODESEARCH, plus SUPPORTPATH and TEMPLATEPATH. Each entry says whether the set tool can change it. No other variable can be read.
acad_get_ucsFreeThe current user coordinate system of the active drawing (origin and axes in WCS, and whether it is the World one) and the named UCSs saved in it.
The current user coordinate system of the active drawing (origin and axes in WCS, and whether it is the World one) and the named UCSs saved in it. Every tool of this server takes and returns WCS whatever the current UCS is.
acad_isolate_objectsLicenceHides and shows objects of the ACTIVE drawing the way AutoCAD's ISOLATEOBJECTS, HIDEOBJECTS and UNISOLATEOBJECTS do, so the view holds only the objects that matter (for example every object…
Hides and shows objects of the ACTIVE drawing the way AutoCAD's ISOLATEOBJECTS, HIDEOBJECTS and UNISOLATEOBJECTS do, so the view holds only the objects that matter (for example every object of one line number). action: 'isolate' = the objects given ('handles' or a 'selectionId') stay visible and every other visible object of the same space (model space, or the layout) is hidden; 'hide' = only the objects given are hidden; 'restore' = shows again what this tool hid in the current space ('space': 'model', a layout name or 'all' for another or every space; 'handles' / 'selectionId' restore just those objects; all=true shows every hidden object of the space, including objects the user hid). The objects are switched off with AutoCAD's own object visibility: layers are not changed, locked layers do not matter, and the state is saved with the drawing. The tool keeps a record of what it hid inside the drawing, so a restore works later and after the drawing was reopened. Objects that AutoCAD cannot switch are listed in the warnings. The objects given must be in one space (model space or a layout), at most 20000. zoom=true (isolate) also zooms the view to the objects. A change of more objects than the confirmation limit comes back as a preview first. One Ctrl+Z reverts a call (the zoom is not undone). Hidden objects show 'hidden': true in the entity tools.
acad_measureFreeMeasures in the ACTIVE drawing, WCS, nothing changes.
Measures in the ACTIVE drawing, WCS, nothing changes. kind: distance {from, to (points) OR handles: two entities -> closest points, dx dy dz, angle}; angle {points: [a, vertex, b] OR handles: two lines -> degrees}; area {points: a polygon OR handles of closed curves, hatches, regions -> area, perimeter, centroid for a polygon}; length {handles -> total and each}; bounds {handles -> min, max, size, centre}; intersections {handles: two entities, extend? -> points}; nearest {from: a point, handles -> the closest point on each curve, nearest first}. Between curved entities the closest distance is found by iteration ('method' says so); between lines and polylines of lines it is exact; a text or block is measured by its bounding box. solid {handles of 3D solids, interference? -> each solid's volume, centroid, bounding box and size, the total volume, and with interference=true the pairs that share volume}; solid_edges {handles of 3D solids -> every edge (number, ends, length, vertical/horizontal) and face (number, extent, which is top / bottom, its edges): the numbers the solid edit operations fillet, chamfer and shell take}.
acad_prompt_user_inputLicenceAsks the user, on AutoCAD's command line, to pick something in the drawing, and returns what they picked: kind point (a point, optionally with a rubber band from basePoint), two_points (the…
Asks the user, on AutoCAD's command line, to pick something in the drawing, and returns what they picked: kind point (a point, optionally with a rubber band from basePoint), two_points (the two corners of a rectangle), distance (two clicks or a typed number), selection (objects: handles plus a selectionId), or text (a typed line). Points are WCS. AutoCAD is busy with the question until the user answers or presses Esc (state cancelled); the answer comes back as state done. If the user has not answered within timeoutSeconds the state is waiting and the same requestId can be waited on again. cancel=true (with that requestId, or alone for the question still waiting) withdraws the question and frees AutoCAD: state cancelled, by agent; it only ever cancels this tool's own question, never a command the user started. A call the client abandons withdraws its question too. Nothing in the drawing changes and nothing goes on the undo stack.
acad_regenLicenceRegenerates the display of the ACTIVE drawing, as REGEN and REGENALL do.
Regenerates the display of the ACTIVE drawing, as REGEN and REGENALL do. scope 'current' (default) regenerates what is shown now - the model space view or the active layout - and is done when the call returns; 'all' runs REGENALL (every viewport and layout), queued on the command line, so it finishes a moment after the call returns. Changes to block definitions, linetypes, linetype scales and similar show on screen only after a regeneration. Nothing in the drawing changes and nothing is undone by Ctrl+Z.
acad_showLicenceZooms to and selects (grips) entities in the ACTIVE drawing, so the user sees them.
Zooms to and selects (grips) entities in the ACTIVE drawing, so the user sees them. Changes the view and the selection only - nothing in the drawing. Entities in another layout than the current one are reported, not shown.
acad_trace_networkFreeFrom the starting entity (a pipe, wire or line), finds everything joined to it by touching: an end of a line, arc, polyline or spline within 'tolerance' of an end or of the body of another…
From the starting entity (a pipe, wire or line), finds everything joined to it by touching: an end of a line, arc, polyline or spline within 'tolerance' of an end or of the body of another one (a T junction), or of a block (by its extents, or only its insertion point). Gives the number of pipes, total length, the blocks (devices) on the way with their positions, junctions, dead ends, ends that stop just short of another pipe (near misses, with the gap), the layers, the handles and a selectionId of the whole network. Pipes crossing without an end on the other are not connected. Layers that are off or frozen are ignored.
Layers, styles and properties 17 tools, 6 free
Layers and layer states, text and dimension styles, reading and changing object properties, draw order, annotative scales, plot styles and UCS.
acad_edit_plot_styleLicenceChanges entries of a plot style table (.ctb by colour, .stb by name) in AutoCAD's plot style folder: ink colour, screening, lineweight, fill, end style and adaptive linetype of the colours…
Changes entries of a plot style table (.ctb by colour, .stb by name) in AutoCAD's plot style folder: ink colour, screening, lineweight, fill, end style and adaptive linetype of the colours or styles named in each edit. With 'saveAs' the changes go into a new table of that name and the original stays as it is; without it the table itself is rewritten and the old contents are kept in name.ctb.bak-<time>. An existing table is never overwritten under a new name. The result is read back from the file and compared with what was asked. The file is not part of the drawing, so Ctrl+Z does not undo it.
acad_get_propertiesFreeReads the properties of objects of the ACTIVE drawing as the Properties palette shows them: for entities ('handles' or a 'selectionId') and for named layers, blocks, text styles, dimension…
Reads the properties of objects of the ACTIVE drawing as the Properties palette shows them: for entities ('handles' or a 'selectionId') and for named layers, blocks, text styles, dimension styles, linetypes, multileader styles and table styles. Each object comes back with its type and its property values; 'types' lists, per object type, the property names, their value types, whether each is read-only and the allowed names of choice properties. 'names' limits the answer to those properties (palette names such as "Text height" work, and "Position X" is one coordinate of a point); 'describeOnly' returns only the property lists. Angles are degrees, lengths are drawing units, layers, styles, linetypes and blocks are names. Values are given for the first 5 objects, or up to 200 when names are given. Nothing is changed.
acad_list_annotativeFreeReports the annotation scales of the ACTIVE drawing and the current one, how many text, multiline text, dimension, hatch, multileader and block reference objects of a space are annotative…
Reports the annotation scales of the ACTIVE drawing and the current one, how many text, multiline text, dimension, hatch, multileader and block reference objects of a space are annotative and how many are not, the text and dimension styles that are annotative, and the handles of text, dimension, hatch and multileader objects that are not annotative. With 'scale' it also lists the annotative objects that have no representation at that scale. Nothing is changed.
acad_list_layer_statesFreeThe named layer states of the active drawing (what the Layer States Manager lists): name, how many layers each holds and its description, and the layer properties a state can keep (on,…
The named layer states of the active drawing (what the Layer States Manager lists): name, how many layers each holds and its description, and the layer properties a state can keep (on, frozen, locked, plot, color, linetype, lineweight, transparency, plotStyle, newViewportFreeze). acad_manage_layer_states saves, restores, renames and deletes them.
acad_list_layersFreeLayers of the active drawing: on/frozen/locked/plottable, colour, linetype, lineweight, whether from an XREF, and how many entities sit on each in model space and layouts (not inside block…
Layers of the active drawing: on/frozen/locked/plottable, colour, linetype, lineweight, whether from an XREF, and how many entities sit on each in model space and layouts (not inside block definitions). Paged: 'limit' (default 50, max 500) and the 'nextCursor' of the previous answer as 'cursor'.
acad_list_stylesFreeStyles of the active drawing.
Styles of the active drawing. kind: text (font, height, width factor, oblique angle), dim (text height, arrow size, scale, precision, text style, colours, post text), mleader (text style and height, arrow size, landing, dogleg, colour, scale), table (text heights and style per row type, alignment, cell margins) or linetype (the loaded linetypes: description, pattern length and dash lengths; a linetype that is not loaded yet is loaded with the linetype tool). 'current' marks the style new objects get. Paged: 'limit' (default 50, max 500) and the 'nextCursor' of the previous answer as 'cursor'.
acad_manage_annotativeLicenceAnnotative settings of the ACTIVE drawing.
Annotative settings of the ACTIVE drawing. The 'action' values: 'set' = make entities (handles or selectionId) and / or text styles ('textStyles'), dimension styles ('dimStyles') and multileader styles ('mleaderStyles') annotative or not ('annotative' true / false), an entity made annotative getting the current annotation scale; 'add_scales' / 'remove_scales' = change the scales an annotative entity is drawn at ('scales' such as ["1:50", "1:100"]; an entity keeps at least one); 'create_scales' = add scales written paper:drawing, such as 1:75, to the drawing's list; 'delete_scales' = remove scales from the drawing's list ('scales', or unused=true for every scale nothing uses); a scale that an object is drawn at, or the current annotation scale, stays and is reported; 'set_current' = make one scale the current annotation scale.
acad_manage_draw_orderLicenceChanges which entities draw on top of which in the ACTIVE drawing.
Changes which entities draw on top of which in the ACTIVE drawing. action: bring_to_front, send_to_back, bring_above / send_under (relative to the entity 'reference'), or auto_standardize, which stacks a whole space from the bottom up: wipeouts and images, hatches and regions, geometry, block references, then text, dimensions, leaders and tables (the order inside each group is kept). The first four act on 'handles' or a 'selectionId'; auto_standardize acts on every entity of 'space'.
acad_manage_layer_statesLicenceLayer states of the ACTIVE drawing: a layer state remembers which layers are on, frozen, locked, plottable and their colour, linetype, lineweight and transparency, so the drawing can go…
Layer states of the ACTIVE drawing: a layer state remembers which layers are on, frozen, locked, plottable and their colour, linetype, lineweight and transparency, so the drawing can go back to "plot", "demolition" or "all on" in one call. action: 'save' = keep the layers as they are now under 'name' (all properties, or the list in 'properties'; an existing name is replaced only with overwrite=true); 'restore' = set the layers back as the state says (only the properties in 'properties', default all; layers the state names and the drawing lacks are created only with createMissing=true; layers the state does not name stay as they are); 'rename' = 'name' to 'newName'; 'delete' = remove the state (confirmed first). Viewport layer freezing is not part of a state here (the layer tool's viewport_freeze does that). One Ctrl+Z reverts the call.
acad_manage_layersLicenceManages layers of the ACTIVE drawing.
Manages layers of the ACTIVE drawing. action: create (new layers, with optional properties), modify (set on/off, frozen, locked, plottable, colour, linetype, lineweight, transparency, description on the layers matched), rename (one layer, newName), delete (only layers nothing refers to; layer 0, DEFPOINTS, the current layer and XREF layers are excluded; a delete is confirmed before it is made), set_current, isolate (keeps the named layers and hides every other one: mode off (default), freeze or lock; the current layer and XREF layers are excluded), show_all (the way back: matching layers, default all, turned on and thawed), and viewport_freeze / viewport_thaw (freeze or thaw the layers only inside the viewports of one layout: 'layout', and optionally 'viewports', default all of that layout's). 'layers' are names or wildcards (* ?), many per call. Layers of XREFs are reported and skipped. This is the tool that locks and unlocks; other write tools will not touch a locked layer.
acad_manage_linetypesLicenceLinetypes of the ACTIVE drawing.
Linetypes of the ACTIVE drawing. action 'load' = bring the linetypes 'names' (wildcards such as "AS*" allowed, "*" = every linetype of the file) from a .lin 'file' into the drawing. 'file' is the absolute path of a .lin inside a folder allowed in the AutoCAD MCP config, or a bare name that AutoCAD finds on its own support path (acad.lin, acadiso.lin); the file is only read. A linetype already in the drawing is left as it is, unless reload=true: then its pattern and description are replaced by the file's (the linetype keeps its place, so layers and objects that use it follow the new pattern; an external reference's linetype is never touched); names the file does not define are listed; a linetype whose pattern uses a shape file (.shx) that AutoCAD cannot find on its support path is listed with that file's name. action 'delete' = erase the linetypes in 'names' (wildcards allowed) that nothing uses; used ones are listed and kept. The linetype list tool shows what is loaded, with pattern and description.
acad_manage_stylesLicenceText styles, dimension styles, multileader styles and table styles of the ACTIVE drawing kind: text | dim | mleader | table.
Text styles, dimension styles, multileader styles and table styles of the ACTIVE drawing kind: text | dim | mleader | table. action: 'create' = a new style 'name', optionally 'basedOn' an existing one, with 'properties'; 'modify' = change 'properties' of 'name' (everything that uses it follows); 'rename' = 'name' to 'newName' (text and dimension styles only); 'delete' = remove a style nothing uses. properties - text: font (a .shx file or a TrueType name such as "Arial"), bigFont, height, widthFactor, obliqueAngle, backwards, upsideDown, vertical, annotative. dim: textHeight, arrowSize, scale, precision, textStyle, extOffset, extExtend, textGap, lineColor, extColor, textColor (a colour, or ByLayer / ByBlock), lineWeight, extLineWeight, post, textAbove, textHorizontal, decimalSeparator, annotative, arrowSymbol and leaderArrow (dot, dotSmall, open, closedFilled, oblique, archTick, none ...), and ANY dimension variable by its name (DIMZIN, DIMDSEP, DIMTIH, DIMTOH, DIMCEN, DIMATFIT, DIMDLI, DIMTOFL, DIMLUNIT ...). Child styles are made by name: Parent$0 linear, Parent$2 angular, Parent$3 diameter, Parent$4 radius, Parent$6 ordinate, Parent$7 leader. mleader: textStyle, textHeight, arrowSize, arrowSymbol (dot, dotSmall, open, closedFilled, oblique, none ...), landingGap, doglegLength, lineColor, lineWeight, textColor (a colour, or ByLayer / ByBlock), scale, landing, annotative. table: the properties are FLAT and apply to the row type named by 'rows' (title | header | data | all, default all) IN THAT CALL: textStyle, textHeight, alignment (e.g. middleCenter), textColor, backgroundColor (none or a colour), cellMarginH, cellMarginV, titleSuppressed, headerSuppressed. Example: {"rows": "title", "textHeight": 5, "alignment": "middleCenter"}, then a second call {"rows": "data", "textHeight": 3.5, "textStyle": "AS1100"}. 'Standard' is never renamed or deleted; the current style and one in use are never deleted.
acad_manage_ucsLicenceUser coordinate systems of the ACTIVE drawing (the UCS read tool shows them).
User coordinate systems of the ACTIVE drawing (the UCS read tool shows them). action: 'create' = a named UCS from 'origin', 'xAxis' and 'yAxis' (WCS; the axes are at right angles, z follows); 'save' = save the CURRENT UCS under 'name'; 'delete' = remove a named one; 'set_current' = make a named one ('name'), the World one ('world': true) or one from origin + axes current. This changes what the user sees and what plain commands use; every tool of this server keeps taking WCS.
acad_modify_propertiesLicenceChanges layer, colour, linetype, lineweight, linetype scale or transparency of entities of the ACTIVE drawing.
Changes layer, colour, linetype, lineweight, linetype scale or transparency of entities of the ACTIVE drawing. Targets: 'handles' (up to 5000) or a 'selectionId' from a find tool. The target layer is an existing one; entities on a LOCKED layer are skipped and listed, never forced. Properties not given are left alone. Colour: ByLayer, ByBlock, an index 1-255, a name, 'r,g,b' or '#RRGGBB'.
acad_read_plot_styleFreeReads plot style tables (.ctb by colour, .stb by name) from AutoCAD's plot style folders.
Reads plot style tables (.ctb by colour, .stb by name) from AutoCAD's plot style folders. Without 'file' it lists the tables there with kind, size, date, number of styles and description. With 'file' it shows one table: for a .ctb the colours that share the same settings grouped as ranges (aci "1-255"), each group with colour, screening, lineweight in mm, fill, end style, join style, adaptive linetype, linetype and pen numbers; for a .stb every style by name. 'aci' (.ctb) or 'styles' (.stb) show those entries one by one instead. It also gives the table's lineweight list in mm. Nothing is changed.
acad_set_propertiesLicenceChanges properties of objects of the ACTIVE drawing by name, the same properties the Properties palette allows: for entities ('handles' or a 'selectionId') and for named layers, blocks,…
Changes properties of objects of the ACTIVE drawing by name, the same properties the Properties palette allows: for entities ('handles' or a 'selectionId') and for named layers, blocks, text styles, dimension styles, linetypes, multileader styles and table styles ('*' and '?' match layer and style names). 'properties' maps a property name (TextHeight, "Text height", Layer, Rotation, "Position X"...) to its value: a number (angles in degrees), true or false, text, one of the allowed names of a choice property, a point [x, y, z], a colour (ByLayer, ByBlock, 1-255, 'r,g,b' or '#RRGGBB'), a lineweight (millimetres, ByLayer, ByBlock, default), a transparency percent (0-90, ByLayer, ByBlock), or the name of an existing layer, style, linetype or block. An object that lacks a named property, or whose property is read-only, stays unchanged and is reported; entities on a locked layer are skipped and listed. Dimensions, tables, hatches and leaders are rebuilt after the change. A value that AutoCAD refuses cancels the whole call.
acad_set_sysvarsLicenceSets system variables from a fixed list.
Sets system variables from a fixed list. Numbers: INSUNITS, MEASUREMENT, LUNITS, LUPREC, AUNITS, AUPREC, ANGDIR, DIMSCALE, LTSCALE, MSLTSCALE, PSLTSCALE, CELTSCALE, MIRRTEXT, LWDISPLAY, FILLMODE, QTEXTMODE, PDMODE, PDSIZE, FILLETRAD, CHAMFERA, CHAMFERB, TEXTSIZE, FIELDEVAL, ANNOAUTOSCALE, ANNOALLVISIBLE, INSUNITSDEFSOURCE, INSUNITSDEFTARGET, VISRETAIN, DIMASSOC, TEXTFILL, TEXTQLTY, PLINEGEN, PLINEWID, HPSCALE, HPANG, ATTDIA, ATTREQ, LWDEFAULT, ANGBASE, FIELDDISPLAY, HPASSOC, HPANNOTATIVE, REVCLOUDARCVARIANCE, CENTERLTSCALE, CENTEREXE, CENTERMARKEXE. Names (text, checked against what the drawing has): CANNOSCALE, CLAYER, CELTYPE, CECOLOR, TEXTSTYLE, DIMSTYLE, CMLEADERSTYLE, CTABLESTYLE, DIMLAYER, HPLAYER, XREFLAYER, CENTERLAYER, CENTERLTYPE. Values are checked against each variable's range. System variables are not on the undo stack; the answer gives the previous values. Security variables (SECURELOAD, TRUSTEDPATHS) can be read, never set. To switch layout tabs use the navigate tool.
Draw and edit geometry 6 tools, 0 free
Draw, change, move, copy and erase entities and hatches, and copy objects into another drawing.
acad_copy_objectsLicenceCopies entities of the ACTIVE drawing, with the layers, linetypes, styles and block definitions they use, into ANOTHER OPEN drawing ('document', by file name; 'space' model or a layout…
Copies entities of the ACTIVE drawing, with the layers, linetypes, styles and block definitions they use, into ANOTHER OPEN drawing ('document', by file name; 'space' model or a layout name) or into a NEW .dwg file that holds only them ('file', inside an allowed folder; a file is never overwritten). Targets: 'handles' or a 'selectionId'. The objects keep their coordinates unless 'displacement' [dx, dy] moves them. Records the target already has (a layer, a style, a block of the same name) are kept, not replaced. The source is not changed; an open target drawing is not saved by this tool (one Ctrl+Z in it removes the copies). Entities on a locked layer are skipped and listed.
acad_drawLicenceDraws shapes in the ACTIVE drawing, all coordinates WCS. Each shape has a 'type' (line, polyline, polyline3d, circle, arc, ellipse, spline, text, mtext, point, hatch, rectangle, polygon,…
Draws shapes in the ACTIVE drawing, all coordinates WCS. Each shape has a 'type' (line, polyline, polyline3d, circle, arc, ellipse, spline, text, mtext, point, hatch, rectangle, polygon, revcloud, wipeout, boundary) and the fields that type uses; the fields are described in the input schema. A shape may carry its own layer and color; the call's layer and color are the defaults. Existing, unlocked layers are used; a missing or locked one is refused. A hatch fills boundaryHandles of existing closed curves, or a polygon of points that is drawn as well. A polyline3d joins vertices that carry their own Z; a point takes [x, y, z]. A rectangle can have rounded or cut corners; a polygon is regular; a revcloud follows an outline with arcs; a wipeout masks a polygon; a boundary draws the polyline that closes the area around a point.
acad_edit_geometryLicenceEdits the shape of entities in the ACTIVE drawing, all coordinates WCS. operation: trim {handles (targets), edges (cutting entities), pick [x,y] (the piece of each target nearest this point…
Edits the shape of entities in the ACTIVE drawing, all coordinates WCS. operation: trim {handles (targets), edges (cutting entities), pick [x,y] (the piece of each target nearest this point goes), extendEdges?}; extend {handles, edges (boundaries), pick? (extend the end nearer this point)}; fillet {handles: two lines, radius (0 = sharp corner), pick1?, pick2? (the side of each line that stays)} or {handles: one polyline, vertex, radius}; chamfer {handles: two lines, distance, distance2?, pick1?, pick2?} or {handles: one polyline, vertex, distance, distance2?}; join {handles: lines, arcs and polylines that touch end to end -> one polyline, tolerance?}; break {handles, at [x,y] (breaks there), to? [x,y] (removes the part between)}; explode {handles: polylines, blocks, dimensions...}; stretch {handles, window [xmin,ymin,xmax,ymax] (the points inside it move), displacement}; lengthen {handles: lines or arcs, exactly one of delta | total | percent, pick? (the end nearer it)}; overkill {handles, tolerance?, joinTouching?} (deletes duplicate lines, circles and arcs and merges collinear overlapping lines); flatten {handles} (sets Z to 0); spline_to_arcs {handles: splines or ellipses, tolerance?} (replaces them with a polyline of lines and arcs within the tolerance); reverse {handles} (flips the direction of lines, polylines and splines). fillet / chamfer of one polyline take a 'vertex', or allVertices=true for every vertex. Entities on a locked layer are skipped and listed; what cannot be done (parallel lines, nothing to trim to, a segment too short) is named in 'skipped', never guessed.
acad_edit_hatchLicenceChanges hatches that exist in the ACTIVE drawing: pattern name (ANSI31, SOLID ...), pattern scale, angle in degrees, island style (normal, outer, ignore), associativity and origin.
Changes hatches that exist in the ACTIVE drawing: pattern name (ANSI31, SOLID ...), pattern scale, angle in degrees, island style (normal, outer, ignore), associativity and origin. 'matchFrom' copies pattern, scale and angle from another hatch. 'boundaryHandles' replaces the boundary of one hatch with the given closed curves. Targets: 'handles' or a 'selectionId'. Hatches on locked layers are skipped and listed.
acad_eraseLicenceErases entities of the ACTIVE drawing by 'handles' (up to 5000) or a 'selectionId'.
Erases entities of the ACTIVE drawing by 'handles' (up to 5000) or a 'selectionId'. Entities on a locked layer and attributes of block references are skipped and listed. One Ctrl+Z brings everything back.
acad_transformLicenceTransforms entities of the ACTIVE drawing, WCS, degrees.
Transforms entities of the ACTIVE drawing, WCS, degrees. operation: move {displacement}; copy {displacement, copies?}; rotate {base, angle}; align {sourcePoints, destPoints, scale?} (1 to 3 point pairs, as ALIGN); array_path {pathHandle, count, spacing?, alignItems?, base?} (copies placed along a curve; the source stays); scale {base, factor}; mirror {axisStart, axisEnd, deleteSource?} (keeps the source unless deleteSource); offset {distance, side} (curves only; 'side' is a point on the side the offset goes to); array_rect {rows, columns, rowSpacing, columnSpacing}; array_polar {center, count (including the source), fillAngle? (default 360), rotateItems? (default true: items turn as they go round; false: they keep their orientation)}. Targets: 'handles' or a 'selectionId'. Entities on a locked layer are skipped and listed.
Text, tables and dimensions 11 tools, 3 free
Edit text and multileaders, add and audit dimensions, read and fill tables.
acad_audit_dimensionsFreeLists the dimensions of a space, or of the given handles, with what each measures, what it shows, its style and layer, whether its text was typed over and whether the text was moved by hand.
Lists the dimensions of a space, or of the given handles, with what each measures, what it shows, its style and layer, whether its text was typed over and whether the text was moved by hand. A typed number that differs from the measurement (to the precision of the dimension style) is reported as a problem on that dimension; typed words such as TYP or a note are not. It counts all dimensions, those with typed text, those whose typed number is wrong and those with moved text, and gives the count per dimension style. Nothing is changed.
acad_dimensionLicenceAdds dimensions, multileaders, centre marks and centre lines to the ACTIVE drawing, all coordinates WCS, angles in degrees.
Adds dimensions, multileaders, centre marks and centre lines to the ACTIVE drawing, all coordinates WCS, angles in degrees. Each item has a 'type': linear, aligned, radial, diametric, angular, arc_length, ordinate, chain (continued dimensions between neighbouring points), baseline (every dimension measured from the first point), centermark, centerline or leader; the fields of each type are described in the input schema. Existing layers and dimension styles are used; a missing one, or a locked layer, is refused. Dimensions measure the points given; they are not tied to objects.
acad_dimension_objectsLicenceAdds ASSOCIATIVE dimensions: each one is tied to the line, polyline segment, arc or circle it measures, so it follows when that object is stretched or moved (acad_dimension measures points…
Adds ASSOCIATIVE dimensions: each one is tied to the line, polyline segment, arc or circle it measures, so it follows when that object is stretched or moved (acad_dimension measures points and is not tied to anything). Each item: type linear | aligned (a line, a polyline or an arc), radial | diametric (a circle or an arc), 'handle' of the object and 'dimLinePoint', the point the dimension line passes through (radial / diametric: where the text goes). The dimensions are made by AutoCAD's own dimension commands, so AutoCAD is busy for a moment; the answer lists each new dimension with the handle it measures and whether AutoCAD holds an association for it. Existing layers and dimension styles are used; a missing or locked layer is refused. The objects must be in the current space. Where the object has to be picked on screen (a segment of a polyline, or an AutoCAD product that does not take the object directly, such as Plant 3D) the view is zoomed to it first; the zoom stays and Ctrl+Z does not undo it. One Ctrl+Z removes the dimensions of the call. Needs AutoCAD itself, not accoreconsole.
acad_edit_dimensionsLicenceChanges dimensions that exist in the ACTIVE drawing.
Changes dimensions that exist in the ACTIVE drawing. action: reset_text = clear typed-over text so the dimension shows its measurement; reset_text_position = put the text back where the style places it; move_line = set the distance of the dimension line from the measured points to 'distance' (linear and aligned dimensions, the side stays); space = make a stack of parallel linear / aligned dimensions 'spacing' apart, the line nearest the measured points staying; recompute = redraw dimensions after a style change. Targets: 'handles' or a 'selectionId'.
acad_edit_textLicenceEdits the words and the look of TEXT, MTEXT, multileader notes, legacy leader (QLEADER) notes and DIMENSION text in the ACTIVE drawing (block attributes are edited by the attribute tool,…
Edits the words and the look of TEXT, MTEXT, multileader notes, legacy leader (QLEADER) notes and DIMENSION text in the ACTIVE drawing (block attributes are edited by the attribute tool, not by this one). Targets: 'handles' or a 'selectionId'. Change the content with 'text' (replaces the whole content) or 'find' + 'replace' (inside it; matchCase default false), and/or textStyle (an existing style), height, rotation (degrees), justify (topLeft ... bottomRight, middleCenter...), width (multiline text; 0 = no wrapping), and for dimensions dimStyle (an existing style) and textOverride ('' brings the measured value back, '<>' stands for it inside a longer text). A dimension takes its text style and height from its dimension style. Entities on a locked layer are skipped and listed; one that does not contain the text to find is left alone.
acad_extract_tableLicenceA schedule of the ACTIVE drawing: entities (filtered like the entity find tool, or by 'selectionId' / 'handles') grouped by type, layer, block, space or attr:<TAG>, with measures count,…
A schedule of the ACTIVE drawing: entities (filtered like the entity find tool, or by 'selectionId' / 'handles') grouped by type, layer, block, space or attr:<TAG>, with measures count, length, area (the same rules as the entity read tool) and sumAttr:<TAG> (sum of a numeric attribute) - e.g. groupBy ["block","attr:SIZE"], measures ["count"]. Entities that have no value for a measure add nothing to it and are counted in notMeasurable. output: 'rows' (the default, which only reads and is paged), 'csv' or 'xlsx' with 'path' (the server writes a NEW file inside an allowed folder; a preview comes first and a token confirms it), or 'table' with 'position' (draws an AutoCAD Table entity in the drawing: previewed first, one Ctrl+Z removes it). A preview changes nothing; the same call with the confirmationToken writes.
acad_manage_mleaderLicenceNumbered balloons and upkeep of multileaders in the ACTIVE drawing.
Numbered balloons and upkeep of multileaders in the ACTIVE drawing. action: balloons = one multileader per item (arrow at 'target', balloon at 'at') whose content is the block 'block' of the drawing, numbered through the block's attribute from 'start' by 'step' with optional 'prefix' and 'suffix'; renumber = give existing balloon or text multileaders consecutive numbers in the order of 'handles'; add_leader_line = add arrows at 'points' to existing multileaders. The balloon block holds a circle and one attribute for the number.
acad_manage_table_cellsLicenceCreates AutoCAD table objects and edits existing ones.
Creates AutoCAD table objects and edits existing ones. Rows and columns are numbered from 0; row 0 is the title row of the table style and row 1 the header. The 'action' values: 'create' (rows of text, the first row is the header; position is the top-left corner; optional title, tableStyle, columnWidth, rowHeight, layer, space); 'set' (cells: [{row, col, text}]); 'merge' (row1, col1 to row2, col2); 'insert_rows' / 'delete_rows' (index, count, height); 'insert_columns' / 'delete_columns' (index, count, width); 'format' (alignment and/or textHeight for the range row1..row2, col1..col2, default the whole table).
acad_parse_legacy_tableFreeReads tables that are not table objects but separate lines (the grid) and separate TEXT / MTEXT (the cells) into rows, columns and cell text.
Reads tables that are not table objects but separate lines (the grid) and separate TEXT / MTEXT (the cells) into rows, columns and cell text. Lines that touch form one table; the grid comes from the long horizontal and vertical lines, a wall between two cells that is mostly missing means a merged cell (rowSpan / colSpan; the covered cells are null), and each text goes to the cell its middle is in. Every cell has a confidence (lowered by text wider than its cell, several text objects in one cell, a wall only partly drawn) and the doubtful cells are listed with the reason. Rows are numbered from the top. It changes nothing.
acad_read_table_cellsFreeThe text of AutoCAD table objects, cell by cell (row 0 is the title row), with position, size and table style.
The text of AutoCAD table objects, cell by cell (row 0 is the title row), with position, size and table style. Without handles it reads the tables of one space (model by default).
acad_set_fieldsLicenceFields in the ACTIVE drawing.
Fields in the ACTIVE drawing. action 'set' (default) = replace the content of text, multiline text, attribute definitions and attribute values (handles or a selectionId; for a block reference give 'tag' and the field goes into that attribute) by 'template', ordinary text with FIELDS: tokens {date}, {plotdate}, {savedate}, {createdate}, {author}, {title}, {subject}, {comments}, {keywords}, {filename}, {filenameonly} (the name without folder and extension), {filesize}, {login}, {lastsavedby}, each with an optional AutoCAD format after a colon ({plotdate:dd/MM/yyyy}; dates default to dd/MM/yyyy), {scale:VIEWPORT_HANDLE} (the scale of that viewport, shown such as 1:50), or a raw field code written %<\AcVar Filename>%. Example: "Printed {plotdate} - Scale {scale:2A3F}". The field is checked after it is made (the answer says whether AutoCAD holds a field in each object) and each text object is its own undo step. action 'update' = refresh every field of the drawing (queued, finishes a moment after the call). Fields also update on open, save, plot and regeneration.
Blocks and attributes 7 tools, 3 free
List, insert and manage blocks, and set attribute values.
acad_describe_block_definitionFreeFor block DEFINITIONS (by name, wildcards * and ? allowed, at most 20): the settings (insertion origin, units, explodable, annotative, scaling, match orientation, dynamic or not, from an…
For block DEFINITIONS (by name, wildcards * and ? allowed, at most 20): the settings (insertion origin, units, explodable, annotative, scaling, match orientation, dynamic or not, from an xref), every attribute definition (tag, prompt, default value, position, height, rotation, text style, layer, invisible / constant / verify / preset, annotative), the kinds of entity inside with a count, and the entities themselves (type, layer, colour, linetype, geometry; the first 'entityLimit', default 100, at most 1000). Suited to checking a title block or a symbol. The definitions are chosen by name, or by the 'handles' or the 'selectionId' of block REFERENCES, which selects the definitions those references use - anonymous ones too (names such as *U3, made for views and dynamic blocks, which a name cannot reach); each definition then lists the references that use it with their layer and that layer's colour. The attributes and dynamic properties of the references are described by the block-properties tool.
acad_get_block_propertiesFreeFor block references (handles from a find tool, or a selectionId): the block name, every attribute with its value, and - for a dynamic block - every dynamic property with its current value,…
For block references (handles from a find tool, or a selectionId): the block name, every attribute with its value, and - for a dynamic block - every dynamic property with its current value, whether it is read-only, its units and the values it allows (a distance list, a visibility state...).
acad_insert_blockLicenceInserts a block at one or many WCS positions.
Inserts a block at one or many WCS positions. The block is already defined in the active drawing, or is brought in from a DWG file: sourceFile (a .dwg inside an allowed folder) turns the whole drawing into one block, and sourceBlock picks one block inside that file; 'name' is then the new block's name here (default: sourceBlock or the file name) and is a new name (an existing block is never replaced). The import and the insertions are ONE undo step. Per insertion: scale, rotation (degrees), layer (an existing, unlocked layer), attribute values by tag, and dynamic-block properties by name. Dynamic properties are read back and any that did not take are reported in warnings. Model space unless 'space' names a layout.
acad_list_blocksFreeBlock definitions: how many times each is inserted (for a dynamic block, including its anonymous variants), attribute tags, dynamic or not, entity count.
Block definitions: how many times each is inserted (for a dynamic block, including its anonymous variants), attribute tags, dynamic or not, entity count. Anonymous (*U, *D...) and XREF definitions are left out unless asked. Paged: 'limit' (default 50, max 500) and the 'nextCursor' of the previous answer as 'cursor'.
acad_manage_blocksLicenceBlock DEFINITIONS in the ACTIVE drawing (the insert tool places references, the attribute tool edits them).
Block DEFINITIONS in the ACTIVE drawing (the insert tool places references, the attribute tool edits them). action: 'create' = make block 'name' from entities (handles or selectionId) around 'basePoint'; with replaceWithInsert (default true) the originals are replaced by one reference at the base point. 'rename' = 'name' to 'newName'. 'redefine' = replace the content of block 'name' with the given entities (every reference shows the new content). 'delete' = remove block 'name' when nothing inserts it. Names already used are never replaced silently. Attributes of the definition: 'add_attribute' / 'modify_attribute' / 'delete_attribute' with 'attribute' {tag, prompt, default, position [x, y] in the block, height, rotation, textStyle, justify (left|center|right|topLeft...), invisible, constant, verify, preset, layer, newTag (modify)}; 'sync' = bring every reference in line with the definition, like ATTSYNC. The attribute actions sync by default (sync=false to leave references alone); values already typed are kept. Dynamic blocks with parameters and actions cannot be CREATED through AutoCAD's programming interface; existing ones are read with the block-properties tool and set through the attribute tool's dynamicProperties. Known limitation: AutoCAD Plant 3D 2026 can crash a few seconds after block changes, more often after a Ctrl+Z (a fault of AutoCAD's own user interface; 2024 and 2027 were not affected).
acad_set_attributesLicenceSets attribute values (by TAG) on existing block references of the ACTIVE drawing, e.g.
Sets attribute values (by TAG) on existing block references of the ACTIVE drawing, e.g. {"REV": "C", "DATE": "2026-10-26"}. Targets: 'handles' of the block references or a 'selectionId' (from a find with blocks / attribute filters). Tags a reference does not have are listed; references on a locked layer are skipped; the value is read back after writing and anything that did not take is reported in warnings. For DYNAMIC blocks 'dynamicProperties' (name -> value, a number or text for a list such as visibility) sets their parameters too: the plan shows each property's current and new value, a value the block does not allow is refused, and read-only ones are named. The block-properties tool lists a reference's attributes and dynamic properties.
acad_sync_attributesLicenceDoes what ATTSYNC and the block attribute manager's Sync do, for the block definitions in 'names' (wildcards allowed; "*" = every block).
Does what ATTSYNC and the block attribute manager's Sync do, for the block definitions in 'names' (wildcards allowed; "*" = every block). Every reference of the block gets the attributes its definition has now: attributes the definition gained are added with the definition's default value, the values already typed are kept, and the definition's text style, height, layer and so on are applied again. With removeSuperfluous (default true, as ATTSYNC does) attributes a reference holds that the definition no longer has are removed; false keeps them. For each block the answer counts the references and how many lack an attribute or hold one the definition lost. Xref and anonymous blocks are not synchronized. One Ctrl+Z reverts the call.
Layouts, viewports and page setups 7 tools, 2 free
Create and manage layouts, viewports and page setups, and plot layouts to PDF or DWF files.
acad_create_layoutLicenceCreates a paper-space layout in the ACTIVE drawing: page setup (copy an existing layout's with 'copyFrom', and/or 'device', 'media', 'rotation' - checked against what this AutoCAD offers),…
Creates a paper-space layout in the ACTIVE drawing: page setup (copy an existing layout's with 'copyFrom', and/or 'device', 'media', 'rotation' - checked against what this AutoCAD offers), an optional title block (a block already in the drawing, attributes by tag, position, scale) and viewports. Each viewport: center [x, y] and width / height on the sheet (paper units), scale "1:50" (or paper units per model unit, 0.02), viewCenter [x, y] in model space (default: the centre of the drawing), locked, freezeLayers (layers frozen only in that viewport), optional layer. The layout is built while current and the previously current layout is made current again; one Ctrl+Z removes the whole layout. A layout name that exists is refused, never replaced.
acad_list_layoutsFreeLayouts in tab order with their page setup (device, paper, plot style table) and viewports: handle, centre, size, scale, locked, on, number of layers frozen in it.
Layouts in tab order with their page setup (device, paper, plot style table) and viewports: handle, centre, size, scale, locked, on, number of layers frozen in it. Paged: 'limit' (default 50, max 500) and the 'nextCursor' of the previous answer as 'cursor'.
acad_list_page_setupsFreeWhat printing can use.
What printing can use. what: 'setups' (default) = the named page setups of the active drawing with device, paper, orientation, plot area, scale, plot style table; 'devices' = the plotters and PDF drivers this AutoCAD has; 'media' = the paper sizes of a 'device' (default: the default device); 'styleSheets' = the plot style tables (.ctb / .stb) AutoCAD can find. Paged: 'limit' (default 50, max 500) and the 'nextCursor' of the previous answer as 'cursor'.
acad_manage_layoutsLicenceDeletes, renames, copies or reorders the layouts (sheet tabs) of the ACTIVE drawing.
Deletes, renames, copies or reorders the layouts (sheet tabs) of the ACTIVE drawing. action: 'delete' = remove the layouts in 'names' with their viewports, title blocks and everything drawn on the sheet (the Model tab and the last remaining sheet cannot be deleted); 'rename' = 'name' becomes 'newName'; 'copy' = copy 'name' (page setup, viewports, contents) to 'newName', default 'name (2)', AutoCAD placing the tab; 'reorder' = move 'name' to 'position' among the sheet tabs (1 = first after Model).
acad_manage_page_setupsLicenceNamed page setups of the ACTIVE drawing (the page-setup list tool shows them, the plotters, paper sizes and plot style tables).
Named page setups of the ACTIVE drawing (the page-setup list tool shows them, the plotters, paper sizes and plot style tables). action: 'create' = a new setup 'name' with 'settings'; 'modify' = change settings of 'name'; 'delete' = remove the named setup (layouts keep their own settings); 'apply' = copy the setup (a plot window included) to the layouts in 'layouts'; 'capture' = a new setup 'name' that takes over EVERY plot setting of the existing layout 'layout' (what the Plot dialog shows for it, a plot window included). settings: device (e.g. "DWG To PDF.pc3"), media (a canonical or readable paper name), orientation (0|90|180|270), plotArea (layout|extents|display), plotWindow [x1, y1, x2, y2] (the corners of a plot window, paper units; it replaces plotArea), scale ("fit" or paper:drawing such as "1:50"), centered, origin [x, y], units (mm|inches), styleSheet (a plot style table such as "monochrome.ctb"), lineweights, plotStyles, hidden, plotTransparency, plotPaperspaceLast, scaleLineweights. Device, paper and style table are checked against what this AutoCAD offers. The contents of a plot style table file are not edited here.
acad_manage_viewportsLicenceViewports on a paper-space layout of the ACTIVE drawing . action: 'add' = a new viewport at 'center' (paper units) of 'width' x 'height', showing model space around 'modelCenter' at…
Viewports on a paper-space layout of the ACTIVE drawing . action: 'add' = a new viewport at 'center' (paper units) of 'width' x 'height', showing model space around 'modelCenter' at 'scale'; 'modify' = change the viewports in 'viewports' (handles, or "all" of the layout) - scale, modelCenter, width, height, on, lock. scale is paper:model, e.g. "1:100" or "2:1", or a number n for 1:n. A locked viewport keeps its view unless the call also says lock=false. More actions: 'copy' = copies of the viewports in 'viewports' moved by 'offset' [dx, dy] ('count' copies, each one offset further); 'delete' = remove them; 'override' = for the layers in 'layers' (patterns), in those viewports only, set 'properties' {color, linetype, lineweight, transparency (0-90)}; 'clear_overrides' = remove those overrides. Freezing layers per viewport belongs to the layer-management tool (viewport_freeze).
acad_plotLicencePlots layouts of the ACTIVE drawing to PDF or DWF FILES with the layout's own page setup, optionally on another AutoCAD PDF/DWF driver (.pc3), paper or plot style table.
Plots layouts of the ACTIVE drawing to PDF or DWF FILES with the layout's own page setup, optionally on another AutoCAD PDF/DWF driver (.pc3), paper or plot style table. It only writes files: it never sends anything to a printer or plotter, and a layout set to a printer is plotted with the PDF driver instead. One file per layout, or with singleFile one multi-sheet PDF. Files go to 'folder' (inside an allowed folder) named by 'fileName' with {drawing}, {layout}, {n} and {date} filled in; the extension comes from the device. An existing file is never overwritten unless overwrite is true. AutoCAD is busy while it plots; the result lists each file with its size once it is written, or state waiting after timeoutSeconds, when the same requestId can be waited on again. The drawing is not changed and nothing goes on the undo stack.
External references 4 tools, 1 free
List, attach, reload, bind and clip external references and their layers.
acad_clip_referenceLicenceSets, removes, enables or disables the clip boundary (XCLIP) of block references and external references in the ACTIVE drawing, without exploding them.
Sets, removes, enables or disables the clip boundary (XCLIP) of block references and external references in the ACTIVE drawing, without exploding them. The 'action' values are 'set' (a rectangle min / max or a polygon of points, in WCS; invert=true hides what is INSIDE instead), 'remove', 'enable' and 'disable'.
acad_list_xrefsFreeExternal references (xrefs and overlays) of the active drawing: name, the saved path and its type (full, relative or none = file name only), where AutoCAD finds the file now (foundAt; null…
External references (xrefs and overlays) of the active drawing: name, the saved path and its type (full, relative or none = file name only), where AutoCAD finds the file now (foundAt; null = not found), status (Resolved, Unloaded, FileNotFound...), overlay or attach, nested, and how many times each is inserted. Paged: 'limit' (default 50, max 500) and the 'nextCursor' of the previous answer as 'cursor'.
acad_manage_xref_layersLicenceChanges how the layers of external references show in the ACTIVE drawing (the layer-management tool leaves them alone; the layer list shows them as 'XREFNAME|LAYER' with fromXref).
Changes how the layers of external references show in the ACTIVE drawing (the layer-management tool leaves them alone; the layer list shows them as 'XREFNAME|LAYER' with fromXref). 'layers' = name patterns over those names (default '*'), 'xref' = only that reference. properties: on, frozen, locked, plot (true/false), color, lineweight (mm). 'retain' = true sets VISRETAIN so AutoCAD remembers the changes when the reference reloads; without it they last only until it reloads or the drawing is reopened. The file of the reference is never touched.
acad_manage_xrefsLicenceExternal references of the ACTIVE drawing (the xref list shows them).
External references of the ACTIVE drawing (the xref list shows them). action: 'attach' = link the .dwg in 'path' (inside an allowed folder) as 'name' (default: the file name), type attach | overlay, placed at position / scale / rotation in 'space' on 'layer'; 'reload' / 'unload' = name or names ('*' = all); 'repath' = point reference 'name' at another .dwg 'path'; 'path_type' = change how the saved path of the references in name / names ('*' = all) is written, to 'pathType' full (drive and folders), relative (from this drawing's folder) or none (the file name only), without moving any file; a reference whose file is not found, or that a relative path or a name could not find again (another drive, never-saved drawing, a folder not on the support path), is listed and left as it is; 'bind' = make it part of this drawing (insertBind merges layers and styles); 'detach' = remove the reference and its insertions, not the file.
3D solids 4 tools, 0 free
Create, edit, mate and section solids.
acad_create_solidsLicenceCreates 3D solids in the ACTIVE drawing (WCS): box, wedge, cylinder, cone, sphere, torus, extrude, revolve, sweep and loft; the fields of each type are described in the input schema.
Creates 3D solids in the ACTIVE drawing (WCS): box, wedge, cylinder, cone, sphere, torus, extrude, revolve, sweep and loft; the fields of each type are described in the input schema. Profile curves are kept unless eraseProfile is true. The solids go on 'layer' (an existing layer) in 'space' (model or a layout). The answer gives each solid's handle and volume.
acad_edit_solidsLicenceEdits 3D solids of the ACTIVE drawing (handles or a selectionId; non-solids are skipped and named).
Edits 3D solids of the ACTIVE drawing (handles or a selectionId; non-solids are skipped and named). operation: 'union' = the first solid absorbs the others; 'subtract' = the first solid is cut by the others; 'intersect' = the first keeps only what all share - the others are consumed; 'slice' = cut with the plane (planePoint, planeNormal); keep both (default; the negative half becomes a new solid), positive (the side the normal points to) or negative; 'fillet' = round edges with 'radius' - 'edges' picks them: all (default), vertical, horizontal, top, bottom, or a list of the edge numbers the measure tool lists for kind=solid_edges; 'chamfer' = cut the edges of ONE base 'face' (top, bottom or a face number) by 'distance' and 'distance2'; 'shell' = hollow the solid to wall 'thickness' leaving 'removeFaces' (top, bottom or numbers) open; 'rotate3d' = about the axis axisStart->axisEnd by 'angle' degrees; 'mirror3d' = across the plane; both with 'copy' = true to keep the original; face operations on 'faces' (top, bottom or face numbers from the measure tool's kind=solid_edges): 'offset_faces' moves them by 'offset' along their outward normal (positive adds material, so a hole gets smaller), 'move_faces' by 'displacement', 'delete_faces' removes them and heals the gap (a hole or a fillet disappears), 'taper_faces' tilts them by 'taperAngle' about 'taperBase' with 'pullDirection'.
acad_mate_solidsLicenceMoves the 'moving' 3D solid, as a whole, so that one of its faces meets a face of the 'fixed' solid, as in an assembly; the fixed solid does not move.
Moves the 'moving' 3D solid, as a whole, so that one of its faces meets a face of the 'fixed' solid, as in an assembly; the fixed solid does not move. mate: coincident (two planar faces touch, facing each other), flush (two planar faces lie on one plane, facing the same way) or concentric (the axes of two cylindrical faces lie on one line; the moving solid keeps its place along it). The faces are 'top', 'bottom' or the face numbers the measure tool lists for kind=solid_edges. offset moves the moving face away from the fixed one along the fixed face's outward normal. align=centers (default) also slides coincident faces so their middles meet. The plan reports the turn and slide and the volume the two solids would share afterwards.
acad_section_solidsLicenceThe 2D shape where a plane cuts 3D solids of the ACTIVE drawing (handles or a selectionId), added as a region - or, with explode, as lines, arcs and circles - on 'layer' in 'space'.
The 2D shape where a plane cuts 3D solids of the ACTIVE drawing (handles or a selectionId), added as a region - or, with explode, as lines, arcs and circles - on 'layer' in 'space'. The plane is planePoint + planeNormal (WCS). The solids are not changed. With 'flattenTo' [x, y] the section is laid flat on the XY plane (the plane's own x and y axes become X and Y, its origin goes to that point) so it can be dimensioned like any 2D drawing; without it the section stays where the cut is. Solids the plane does not cut are skipped and named. Hidden-line projection (flatshot) is not available; an elevation can be had from cut sections or from a picture with a viewpoint.
Standards, checks and clean-up 5 tools, 2 free
Check and enforce a standard, purge and tidy a drawing, compare two drawings.
acad_check_standardsFreeCompares the active drawing's layers, text styles and dimension styles with a standard and lists deviations: missing, different (property, expected, actual) and - for layers - extra.
Compares the active drawing's layers, text styles and dimension styles with a standard and lists deviations: missing, different (property, expected, actual) and - for layers - extra. The standard is either 'profile', a JSON object {layers:[{name, color (ACI number or 'r,g,b'), linetype, lineweight (mm), plot}], textStyles:[{name, font, height}], dimStyles:[{name, textStyle, textHeight, arrowSize, scale}], extraLayers:'report'|'ignore'} (only properties given are checked), or 'dwsPath', a DWS file inside a folder allowed in the AutoCAD MCP config. Report only.
acad_clean_drawingLicenceTidies the ACTIVE drawing.
Tidies the ACTIVE drawing. action: merge_layers = move every entity (including those in block definitions) from the layers of 'map' {"OLD": "TARGET"} onto the layers named and remove the emptied ones; set_bylayer = turn typed-over colour, linetype and lineweight ('properties') back to ByLayer in a space, or in every layout and block definition with scope=all (ByBlock values stay); replace_fonts = point text styles whose font is in 'from', or whose .shx font cannot be found (missing=true), at the font 'to' (a .shx file or a TrueType name); erase_junk = erase empty text, zero-length lines and polylines, and zero-radius circles and arcs ('types').
acad_compare_drawingsFreeStarts a JOB that compares two drawings - each a .dwg path inside a folder allowed in the AutoCAD MCP config, or "active" for the open drawing including its unsaved changes (only a drawing…
Starts a JOB that compares two drawings - each a .dwg path inside a folder allowed in the AutoCAD MCP config, or "active" for the open drawing including its unsaved changes (only a drawing that has been saved once, and so has a name, can be compared) - e.g. a = "active", b = last week's revision. Reports, only where they differ: entity counts by type and by layer, layers added / removed / with changed colour, linetype, lineweight or state, block definitions added / removed and insert counts, layouts added / removed, and title-block attribute changes (matched by layout and block, 'REV: B -> C'). It does not diff geometry entity by entity. Returns a jobId at once; the job's status then holds a 'result' that summarises (identical or not, differences per category) and its rows list every difference, paged. The files are only read.
acad_ensure_standardsLicenceMakes the ACTIVE drawing's layers, text styles and dimension styles match a profile (the same JSON the standards check reads: layers [{name, color, linetype, lineweight, plot}], textStyles…
Makes the ACTIVE drawing's layers, text styles and dimension styles match a profile (the same JSON the standards check reads: layers [{name, color, linetype, lineweight, plot}], textStyles [{name, font, height}], dimStyles [{name, textStyle, textHeight, arrowSize, scale}]), or a DWS under an allowed folder. ADDITIVE: it creates what is missing; existing definitions that differ are changed only with updateDifferent=true; nothing is ever deleted. A linetype that is not loaded is reported, not loaded.
acad_purgeLicenceRemoves the named objects nothing uses from the ACTIVE drawing: blocks, layers, linetypes, textStyles, dimStyles, regapps, mleaderStyles, tableStyles (default: all).
Removes the named objects nothing uses from the ACTIVE drawing: blocks, layers, linetypes, textStyles, dimStyles, regapps, mleaderStyles, tableStyles (default: all). A plan lists every one by name; the real run repeats until nothing more is unused (a purged block can free its layers). Layer 0, Defpoints, the current layer, anonymous blocks, layouts and external references are never purged.
Saving, undo and CAD Batch Pro jobs 7 tools, 2 free
Checkpoints, saving, background jobs and handing a batch job to CAD Batch Pro.
acad_checkpointLicenceA way back inside the ACTIVE drawing, built on AutoCAD's undo log.
A way back inside the ACTIVE drawing, built on AutoCAD's undo log. action: 'mark' = set a checkpoint (optional 'label'); it changes nothing in the drawing; 'rollback' = undo EVERYTHING done after the checkpoint ('label', default: the latest) - the user's own edits too, not only this tool's; 'status' = how many marks the undo log holds and the labels set by this tool. After mark and rollback the answer reports what was MEASURED (UNDOMARKS), not what was asked. Every other write tool is already one Ctrl+Z; a checkpoint covers several calls together.
acad_job_cancelLicenceStops a running job (a drawing register or a CAD Batch Pro run) after the file it is working on.
Stops a running job (a drawing register or a CAD Batch Pro run) after the file it is working on. Results so far are kept.
acad_job_exportLicenceWrites a finished job's result rows to a NEW .csv or .xlsx file inside a folder allowed in the AutoCAD MCP config.
Writes a finished job's result rows to a NEW .csv or .xlsx file inside a folder allowed in the AutoCAD MCP config. Without a confirmationToken the call changes nothing and returns a preview and a token; with the token it writes. An existing file is never overwritten.
acad_job_statusFreeProgress and results of a job (a drawing register or a CAD Batch Pro run): state (running, waiting - AutoCAD busy, it resumes by itself - done, cancelled, failed), files done of total, the…
Progress and results of a job (a drawing register or a CAD Batch Pro run): state (running, waiting - AutoCAD busy, it resumes by itself - done, cancelled, failed), files done of total, the current file, an estimate of the time left, errors, and a page of result rows. 'where' filters rows by attribute value with * and ? wildcards, case-insensitive, e.g. {"REV": "B"}; 'values' counts each attribute's values over the filtered rows. Paged: limit (default 50) and cursor.
acad_saveLicenceSaves the ACTIVE drawing to disk.
Saves the ACTIVE drawing to disk. mode=in_place saves the drawing to its own file (like Ctrl+S; refused for a drawing that was never saved, opened read-only, or opened from DXF). mode=copy writes a copy, including unsaved changes, to a NEW .dwg, .dwt (template), .dws (standards file) or .dxf at 'path' (inside a folder allowed in the AutoCAD MCP config; an existing file is replaced only with overwrite=true, after a confirmation that names it) and leaves the open drawing as it is; mode=save_as writes a NEW .dwg, .dwt or .dws and the open drawing then becomes that file, as Save As does (it works for a drawing that was never saved); 'measurement' (metric | imperial) is for a .dwt; AutoCAD's template description text cannot be set through its API; 'version' picks the file format (2018, 2013, 2010, 2007, 2004, 2000; a DXF also r12 - older than the drawing's own can lose features). A DXF older than 2013 is refused when the drawing holds 3D solids, regions or surfaces, which it cannot carry. After an in-place save the answer reports what was MEASURED: whether the drawing is still modified, the file's new size and format.
cbp_list_toolsFreeWhich CAD Batch Pro tools can run as jobs (the CAD Batch Pro run tool), with each tool's options, defaults and the values a job may not use, and the numbers its results report.
Which CAD Batch Pro tools can run as jobs (the CAD Batch Pro run tool), with each tool's options, defaults and the values a job may not use, and the numbers its results report. It is read from the installed CAD Batch Pro and reports when that is not installed or too old to take jobs.
cbp_runLicenceRuns a CAD Batch Pro tool over drawings as a JOB inside AutoCAD. A dry run is the default: nothing on disk changes, and the job reports its impact (what each drawing would lose) and a…
Runs a CAD Batch Pro tool over drawings as a JOB inside AutoCAD. A dry run is the default: nothing on disk changes, and the job reports its impact (what each drawing would lose) and a confirmationToken; the same call as a real run with that token does the work. A real run does what the tool's 'writes' says: in-place tools rewrite the drawings keeping <name>.cbp.bak, new-file tools never overwrite an existing file. Drawings open in AutoCAD are skipped. Paths are inside a folder allowed in the AutoCAD MCP config; any other is refused. AutoCAD is busy for the whole job (other AutoCAD tools wait); the job status and job cancel tools still answer.