From ba138de53e9a214398b53130c5717c14ed620a87 Mon Sep 17 00:00:00 2001 From: Dominik Jain Date: Tue, 3 Mar 2026 12:41:31 +0100 Subject: [PATCH] :sparkles: Make clear that layoutChild is only available after the child was added --- mcp/packages/server/data/initial_instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcp/packages/server/data/initial_instructions.md b/mcp/packages/server/data/initial_instructions.md index 5078ff5530..992d071f2b 100644 --- a/mcp/packages/server/data/initial_instructions.md +++ b/mcp/packages/server/data/initial_instructions.md @@ -93,7 +93,7 @@ Use the `export_shape` and `import_image` tools to export and import images. Boards can have layout systems that automatically control the positioning and spacing of their children: * If a board has a layout system, then child positions are controlled by the layout system. - For every child, key properties of the child within the layout are stored in `child.layoutChild: LayoutChildProperties`: + After adding a shape to the layout as a child, key properties of the child within the layout are controlled in `child.layoutChild: LayoutChildProperties`: - `absolute: boolean` - if true, child position is not controlled by layout system. x/y will set *relative* position within parent! - margins (`topMargin`, `rightMargin`, `bottomMargin`, `leftMargin` or combined `verticalMargin`, `horizontalMargin`) - sizing (`verticalSizing`, `horizontalSizing`: "fill" | "auto" | "fix")