56,641 tools
get_spec
Return the live spec, including generated default views, forms, and pages, and types the space exposes (those have expose: true — shared acr…
get_widgets
Discover page widgets and their configuration contract. Call without widget to list or search widgets. Pass a widget key for its inputs. Als…
get_automation_primitives
Discover the canonical structured-workflow grammar, registered conditions and effects, and this runtime's capability profile. Call with a co…
export_spec
Export the portable authored spec as YAML or JSON. Generated default views, forms, and pages are omitted; they are recreated from types on i…
query_view
Run a named view and return its rows. Views can filter, sort, limit, and derive live grouped measures — list_records returns every source re…
apply_spec
Replace the entire active app spec with a YAML or JSON document. Not a merge: types, views, forms, workflows, and pages missing from the doc…
upsert_type
Create or update a type and its fields. Use a singular key and label for one record; optional collection_label overrides the automatically p…
rename_type
Rename a technical type key while preserving its stable identity, records, and direct spec references. Explicit view, form, page, and workfl…
upsert_field
Add or update one field without replacing the type's other fields. type identifies the record type; kind is the field kind. Formats, present…
rename_field
Rename a field key while keeping its identity and stored values.
delete_field
Remove a field from a type and drop its SQLite column.
upsert_view
Create or update a named view (a stored query: filter, sort, limit, columns, or live grouped measures). For a normal view, include fields in…
upsert_form
Create or update a record-backed or standalone form. Record forms use type plus ordered field keys. Standalone forms own reusable field defi…
upsert_workflow
Create or update a structured workflow. Call get_automation_primitives first. Use registered effects and {$ref:"vars.name"} bindings. Gates …
upsert_page
Create or update a page of grids and widgets. Call get_widgets first to discover widget keys, required values, and compatible fields. Widget…
create_app
Create an app in the active space and switch to it. The new app can use types the space already exposes (see get_space.exposed_types) — do n…
delete_app
Delete an app created from this account space. Shared records stay.
switch_app
Switch the active app by id. Space-exposed types stay available; app-local types change with the app.
create_space
Create a new account space with its own apps. After switching to it, upsert_type({ expose: true }) creates types every app in this space sha…
list_samples
List gallery sample applications that can be loaded as an app.
describe_type
Inspect one record type on demand, including field constraints and lifecycle transitions. Pass a record id to also see its current state and…
list_records
List every record of one type, unfiltered. Use query_view when you need filtering, sorting, limits, or aggregates.
get_record
Get one record by type and id.
create_record
Create a record of one type. Call describe_type first for fields and constraints; lifecycle state and audit fields are system-managed.
update_record
Update fields on one record. Call describe_type first; use transition_record for lifecycle state changes.
delete_record
Delete one record by type and id.
transition_record
Apply a named lifecycle transition to a record. Use describe_type with the record id to discover transitions currently available.
get_brief
Read the current project brief: description, plot size, bedroom/bathroom counts, notes, and answers already collected.
get_design_rules
Return the house-making standards this studio enforces: NBC-aligned room sizes, doors, windows, and adjacency rules for living, dining, bedr…
get_standards_check
Return only the current standards-check issues (errors and warnings): room size minima, overlaps, openings, adjacency, missing porch/stairs/…
update_brief
Patch the project brief. Use this to store requirements from the conversation. If plotWidthM and plotHeightM are set, the canvas plot is res…
ask_user
Ask the human one to six structured follow-up questions before drawing. Opens a modal on the OpenArchitect page and WAITS until they click S…
get_floor_plan
Return the full floor plan JSON plus validation issues (overlaps, NBC size minima, missing exterior windows, awkward adjacencies).
set_plot
Set the overall rectangular plot size in meters. Origin is the top-left (northwest) corner. x increases east, y increases south.
apply_layout
Replace rooms, openings, furniture, and the frontage street in one shot. Prefer this for the first draft. Include an entrance porch, a stair…
add_room
Add a single axis-aligned room rectangle. Coordinates are meters from the plot origin (top-left).
update_room
Move or resize one room by id. Does not push shared walls into neighbors — use resize_wall for that.
remove_room
Remove a room and any openings or furniture attached to it.
add_opening
Add a door or window on a room edge. offset is meters from the start of that edge (west end for north/south, north end for east/west).
remove_opening
Remove a door or window by id.