56,641 tools
set_brief
Update the design brief: budget in USD, needs (short phrases) and free-text notes. Omitted fields are kept.
place_item
Place one catalog item by its center. Applies immediately; undo_last_action takes it back. and reports any violations plus the nearest clear…
move_item
Move an existing item to a new center, optionally rotating it. Locked items cannot be moved. Prefer suggest_positions for beds, desks, sofas…
rotate_item
Rotate an existing item in place to 0, 90, 180 or 270 degrees clockwise. At 0 the front faces the bottom wall.
fix_item
Move one item to the nearest position that clears its blocking violations, keeping its rotation. Use it when place_item or move_item reports…
remove_item
Remove an item from the room. Locked items cannot be removed.
clear_items
Empty the room in one ledger entry, so a single undo puts everything back. Locked items are left where they are; the result lists what remai…
swap_item
Replace an item with a different catalog item, keeping its position and rotation. Useful for cheaper or smaller alternatives.
set_item_locked
Lock an item so nobody can move, swap or remove it (for example when the user says "keep the sofa"), or unlock it.
add_catalog_item
Add a product you researched to the catalog so it can be placed: name, category, dimensions in cm, price in USD, optional color and URL. Cle…
load_template
Start a new room from a ready-made layout; use list_templates for keys. The room is created, furnished, switched to and returned. It never r…
create_room
Create a new empty room and switch to it. The current room is kept and can be returned to with switch_room. Sides must be between 100 and 30…
switch_room
Make another room the current one, so get_room and every editing tool acts on it. Ids come from list_rooms. Nothing is lost: the room you le…
rename_room
Rename the current room. Writes no ledger entry, so the result reports status "applied" with the room's violations and metrics as they stand…
delete_room
Delete a room and everything in it, including its ledger. This cannot be undone, so confirm with the user first. The last remaining room can…
set_item_color
Repaint one placed item in one of the alternative finishes get_catalog lists under `colors`, or pass null (or omit color) to put it back to …
set_finish
Paint the walls and lay the floor: wall takes a hex color, floor one of oak, walnut, ash, grey or tile. Omitted fields keep what the room ha…
apply_palette
Carry out one of the schemes suggest_palette offers, in one ledger entry: the wall color, the floor finish and every item recolor together. …
propose_layout
Propose a batch of changes as ghosts on the plan with a label, without applying them. The user sees a card with the metrics delta and can ac…
apply_layout
Apply a whole layout at once: places, moves, removes and swaps in the order given, as a single ledger entry, so one undo takes the whole ide…
set_daylight_hour
Move the daylight time slider (6 to 20) so the user sees light at that hour in both views. Returns light per item.
set_camera
Move the 3D camera. Use a preset (overview, from_door, at_desk, on_bed, at_window) or give x, y and yaw (degrees clockwise, 0 faces the top …
undo_last_action
Revert the most recent action in the ledger (yours or the user's). The revert is itself recorded.
revert_to_entry
Rewind the room to how it stood just after one ledger entry, undoing everything after it in one go. Ids come from get_ledger. The rewind is …
select_item
Select an item so the user sees it highlighted on the plan and in 3D with its properties open, or pass null to clear the selection. Use it t…
set_view
Turn the daylight tint and the 3D shadows on or off. Switch the tint off when the user wants to read the plan itself, and the shadows off wh…
get_elevation
One wall seen straight on: its paint, its length and height, the doors and windows in it, everything hanging on it with its offset and mount…
list_wall_palettes
Regional wall colors: eleven regions, six named paints each, every one chosen to read as a whole wall. Use it to answer "paint this room lik…
get_style
Every finish in the room at once: the room default and any per-wall overrides, what each of the four walls actually resolves to and which na…
set_wall_color
Paint the walls. Walls are named by where they sit on the plan — top, right, bottom, left — which is how the user sees them on screen, so as…
place_on_wall
Hang a wall-mounted item — a print, a mirror, a wall shelf, hooks, a clock, curtains — flush on a wall at a given offset. Only items in the …
get_shopping_list
Everything placed in the room, grouped by catalog id into the list you would take shopping: quantity, unit price, line total, whether it is …
set_purchase_status
Record where a piece is coming from and whether it still needs buying. Pass catalogId to mark every copy of that piece at once — the usual c…
get_home
The floor plan the current room stands on: every room with its offset and size, the doorways between them, the bounding box, which room the …
list_home_templates
The ready-made homes create_home can build: a key, a name, a blurb, the rooms with their offsets and sizes on the shared plan, and how many …
create_home
Start a floor plan. With a template key from list_home_templates the rooms are built furnished, stood on the plan and joined by their doorwa…
add_room_to_home
Stand a room on the floor plan. Pass roomId for a room that already exists, from list_rooms, or templateKey to build a furnished one from a …
move_room
Move a room to another offset on the floor plan it already stands on. Offsets are integer centimetres on the shared plan: x and y are the ro…
remove_room_from_home
Take a room off the floor plan. The room itself survives with everything in it and can be worked on alone or added to another plan; only its…
cut_doorway
Open a doorway through the wall two rooms share, so you can walk from one into the other. A doorway needs a wall the two rooms actually shar…