architecture
Draw architectural floor plans with walls, rooms, grids, columns, dimensions, and room labels. Generate layered plan geometry and area data in AutoCAD.
Instructions
Architectural plan drawing (ve mat bang kien truc). Units: mm, angles: degrees.
Operations:
setup — Create standard layers A-TUONG, A-COT, A-CUA, A-TRUC, A-KICHTHUOC, A-CHU,
A-THIETBI, A-HATCH-TUONG and set DIMSCALE. data: {dim_scale?: 100}
wall — Wall from a centreline path, doors/windows cut in.
data: {points: [[x,y],...], thickness?: 200, closed?: false,
justify?: center|left|right, hatch?: "SOLID"|"ANSI31"|null,
openings?: [{segment: 0-based index, offset: mm from segment start,
width, type: door|window|opening, swing?: left|right,
hinge?: start|end, double?: bool, label?: "D1"}]}
room — Rectangular room on wall centrelines. data: {x, y, width, depth,
wall_thickness?: 200, name?, hatch?, openings?: [{side: bottom|right|top|left,
offset: mm from left/bottom end, width, type, swing?: in|out, hinge?: start|end,
double?, label?}]}
grid — Grid axes 1,2,3 (vertical) and A,B,C (horizontal) with bubbles and dimensions.
data: {x_spacings: [3600, 4200], y_spacings: [4500, 3000], origin?: [0,0],
extension?: 2000, bubble_radius?: 400, dimensions?: true, both_ends?: false,
x_labels?, y_labels?}
columns — Rectangular columns. data: {positions?: [[x,y],...] | x_spacings+y_spacings+origin
(all grid intersections), size_x?: 220, size_y?, fill?: "SOLID"|null}
room_label — Room name + area. data: {points: [[x,y],...], name, text_height?: 300, unit?: mm}
dimension_chain — Continuous dims. data: {points: [[x,y],...], direction: x|y, at: y (or x) of dim line}
area — Area/centroid of a polygon. data: {points, unit?: mm} (no drawing)
Tip: call setup once per drawing first. Walls do not auto-trim T-junctions between
separate wall calls; draw an outer wall as one closed path, then partitions.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"operation": "<operation>"
},
"name": "architecture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| operation | Yes | ||
| include_screenshot | No |