Skip to Content
Ajusteur agent channel

design_piece_check

Check a piece spec

Validates a piece spec against the engine and returns boxes, board order, hardware and warnings. Axes: x across from the left, y from the front to the back, z up from the floor, all millimetres. A box has w, h, d and either zones (one column) or columns of zones; a zone is open, doors, glass, drawers, flap or closed with count, shelves, rail. Unknown fields are errors that name the known ones.

Read only. Nothing is stored. Every answer carries say, the sentence an agent may pass to the customer.

Parameters

Prop

Type

Example

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "design_piece_check",
    "arguments": {
      "spec": {
        "name": "Sideboard",
        "base": "legs",
        "handles": "bar",
        "top": {
          "t": 18
        },
        "boxes": [
          {
            "w": 1800,
            "h": 700,
            "d": 450,
            "top": "panel",
            "columns": [
              {
                "zones": [
                  {
                    "kind": "doors",
                    "shelves": 1
                  }
                ]
              },
              {
                "zones": [
                  {
                    "kind": "drawers",
                    "count": 3
                  }
                ]
              },
              {
                "zones": [
                  {
                    "kind": "doors",
                    "shelves": 1
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  }
}
Tool 9 of the ajusteur/v1 surface. This page is generated from the tool definition; do not edit it by hand.

On this page