{"count":33,"tools":[{"name":"say_hello","description":"Test connection to AutoCAD. Displays a greeting and returns the AutoCAD version info."},{"name":"get_document_info","description":"Get information about the currently active AutoCAD drawing (DWG file name, units, drawing extents, limits)."},{"name":"get_layers","description":"Get all layers in the current AutoCAD drawing, including their on/off state, frozen state, color, and linetype."},{"name":"get_entities","description":"Get entities (objects) from the model space of the current AutoCAD drawing. Can filter by layer or entity type (LINE, CIRCLE, ARC, TEXT, INSERT, etc.)."},{"name":"create_line","description":"Create a straight line in the current AutoCAD drawing's model space."},{"name":"write_message","description":"Write a message to the AutoCAD command line window. Useful for status updates and notifications."},{"name":"send_code_to_autocad","description":"Execute dynamic C# code inside AutoCAD. The code runs in the context of the active document. Use this for complex operations not covered by other tools. Available namespaces: Autodesk.AutoCAD.ApplicationServices, Autodesk.AutoCAD.DatabaseServices, Autodesk.AutoCAD.Geometry, Autodesk.AutoCAD.EditorInput. The variable 'doc' (Document) and 'db' (Database) are pre-injected. Return a value to get output."},{"name":"show_dialog","description":"Show a message dialog box inside AutoCAD."},{"name":"create_layer","description":"Create a new layer in the current AutoCAD drawing with optional color, linetype, and lineweight."},{"name":"set_current_layer","description":"Set the active (current) layer in the AutoCAD drawing. All subsequent geometry will be placed on this layer."},{"name":"delete_layer","description":"Delete a layer from the current AutoCAD drawing. The layer must be empty (no entities) and not the current layer."},{"name":"set_layer_visibility","description":"Turn a layer on or off in the current AutoCAD drawing."},{"name":"create_circle","description":"Create a circle in the current AutoCAD drawing's model space."},{"name":"create_rectangle","description":"Create a rectangle (closed polyline) in the current AutoCAD drawing's model space using two corner points."},{"name":"create_polyline","description":"Create a polyline in the current AutoCAD drawing from a list of points."},{"name":"create_arc","description":"Create an arc in the current AutoCAD drawing using center, radius, start angle and end angle."},{"name":"create_text","description":"Add a single-line text annotation to the current AutoCAD drawing's model space."},{"name":"move_entity","description":"Move an entity in the AutoCAD drawing by a displacement vector."},{"name":"copy_entity","description":"Copy an entity in the AutoCAD drawing to a new position defined by a displacement vector."},{"name":"rotate_entity","description":"Rotate an entity around a base point in the AutoCAD drawing."},{"name":"scale_entity","description":"Scale an entity uniformly around a base point in the AutoCAD drawing."},{"name":"delete_entity","description":"Delete an entity from the current AutoCAD drawing by its handle."},{"name":"mirror_entity","description":"Mirror an entity across a line defined by two points in the AutoCAD drawing."},{"name":"get_entity_properties","description":"Get detailed properties of a specific entity in the AutoCAD drawing (layer, color, geometry, length, area, etc.)."},{"name":"measure_distance","description":"Calculate the Euclidean distance between two points in 3D space."},{"name":"measure_area","description":"Calculate the area and perimeter of a closed entity (polyline, circle, region, hatch, etc.) by its handle."},{"name":"get_bounding_box","description":"Get the axis-aligned bounding box (min/max extents) of an entity in the AutoCAD drawing."},{"name":"insert_block","description":"Insert a block reference into the current AutoCAD drawing's model space."},{"name":"get_blocks","description":"List all block definitions in the current AutoCAD drawing."},{"name":"explode_block","description":"Explode a block reference into its constituent entities in the AutoCAD drawing."},{"name":"export_pdf","description":"Export the current AutoCAD drawing to a PDF file using the default page setup."},{"name":"export_dxf","description":"Save a copy of the current AutoCAD drawing in DXF format."},{"name":"zoom_extents","description":"Zoom the AutoCAD viewport to fit all visible entities in the drawing (equivalent of ZOOM EXTENTS command)."}]}