56,641 tools
cad.add_feature
Add a recess, rim, raised detail, or face-stamped text. Letters/logos on a host face MUST use feature=text (or add_text) after the host exis…
cad.shell_part
Hollow a part and optionally remove declared faces. For a revolve, this rebuilds the editable outer meridian as a native hollow C-section wi…
cad.trash_faces
Remove declared faces while preserving the remaining shell.
cad.pattern_parts
Create a linear, circular, or mirrored repetition from an existing part. Circular patterns require an explicit shared center: provide center…
cad.align_parts
Line parts up after they are already roughly placed (usually after assemble). center = match centers on an axis. flush = push parts so they …
cad.mate_parts
Stick two parts together so movingFace meets fixedFace (normals oppose). For several copies on the same face (pins, legs, posts), put the si…
cad.place_on_plate
Ground parts on the CAD Z=0 build plate. Default layFlat=false (translate only — keep authored rotation). layFlat:true may tip a body onto i…
cad.place_inside
Place a part inside a hollow container using a measured interior face returned by get_faces. Solid parts expose no interior faces and are re…
cad.edit_topology
Edit one measured face, edge, or vertex by ID from get_faces / get_edges / get_vertices. Face parameters: scaleX/scaleY/scaleZ (or width/dep…
cad.fillet_edges
Round edges. Prefer selector (all, all_vertical, top_rim, bottom_rim) or pass edgeIds from get_edges. Required: radiusMm. Optional: segments…
cad.add_connector
Place a mechanical connector. Complete hardware (hinge, pin-hinge, thread, twist-lock) can omit targetPartId and sit on the plate as its own…
cad.add_mechanical_joint
Mate two parts face-to-face and generate a paired mechanical interface (currently pin hinge). The moving part is aligned to the host, then h…
cad.connect_parts
Atomically connect two live parts through measured ports. Resolves both world frames, moves only the target body into contact, creates paire…
cad.route_cable
Create a continuous swept cable between two measured ports and atomically attach both endpoints. The path is authored in absolute CAD millim…
cad.add_joint
Add a connector or mechanical joint between measured parts/faces.
cad.get_auth_status
Check whether the current Cadding browser session is signed in and whether protected project operations are available. Returns no credential…
cad.request_sign_in
Open Cadding’s sign-in page and return to the editor afterward. The user must complete sign-in in the browser; never ask for or pass passwor…
cad.list_projects
List projects owned by the signed-in user, including public sharing metadata.
cad.open_project
Open a saved project owned by the signed-in user in the current editor session.
cad.save_project
Save the live editor scene to the signed-in user’s Cadding account. Call this before publishing so the public model contains the latest edit…
cad.set_project_public
Publish or unpublish the active saved project. When publishing, returns a durable publicUrl that the agent should send to the user. Requires…
cad.export_model
Export the live model. Signed-in users receive a durable public download URL saved in Exports; guests can request a browser download but do …
cad.generate_ai_mesh
Generate a controlled AI mesh and add it to the live scene. Use for explicit organic, character, sculpture, figurine, relief, logo, or decor…
cad.generate_mold
Generate a multi-part mold around one target part.
cad.capture_viewport
Capture the current editor viewport, a standard view, or a crop of one visible part as an image data URL.
get_room
Read the current room: shell, openings (with compass facing), brief, placed items with positions and light scores, the user's selection, ope…
get_catalog
List furniture available to place, with dimensions in cm, price in USD, clearance rules, the room kinds each item suits, its alternative `co…
suggest_positions
Best positions for a catalog item given the room, walls, door, window and daylight. Call this before place_item for beds, desks, sofas, ward…
evaluate_layout
Score a candidate set of changes WITHOUT applying them. Returns metrics, violations and the delta versus the current room. Use it to iterate…
get_daylight
Approximate daylight at a given hour (6 to 20): light score 0..1 per item and the brightest free spots for morning (09:00) and afternoon (16…
list_templates
Ready-made rooms you can start from, with their key, dimensions, item count and budget. Call this before load_template to learn the keys.
suggest_palette
Three color schemes for the current room, warm, cool and neutral, derived from what is already in it. Each returns a wall color, a floor fin…
get_ledger
Recent actions by the user and by you, newest last, with the number of violations after each.
suggest_furniture
Turn the brief into a priced shopping list that fits the room and the budget: which catalog items cover each need (sleep, work, host, storag…
list_rooms
Every room in this session, with its id, dimensions in cm and item count. The one flagged `current: true` is what get_room and every editing…
get_guide
How to design a room with these tools: the recommended order of calls, the coordinate conventions, and the habits that avoid rework. Call it…
set_room_shell
Set the room dimensions in cm and optionally which wall faces north. Existing items are kept and re-validated.
add_opening
Add a door or window to a wall. offset is measured from the left end of the top/bottom walls or the top end of the left/right walls. Doors d…
remove_opening
Remove a door or window by id (ids come from get_room).
move_opening
Move a door or window along its wall, or to another wall, by id (ids come from get_room). offset is measured from the left end of the top/bo…