add_shape
Adds rectangles, ellipses, diamonds, triangles, sticky notes, or text with optional styling to an Inkboard board and returns the new shape ID.
Instructions
Adds a shape with text (rect, ellipse, diamond, triangle, sticky = sticky note, text = free text). Returns the id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | No | ||
| w | No | ||
| x | No | X of the top-left corner. Defaults to below the existing content. | |
| y | No | Y of the top-left corner. | |
| fill | No | Color "#rrggbb" or "ink" (the theme's text color). | |
| geom | Yes | ||
| page | No | Page: number (from 1) or name. Defaults to the first. | |
| path | No | Path of the board file (.inkboard; .inkboard.json and .tableau.json also accepted). Optional when the application is open: the tool then acts live on the displayed board (undoable with Ctrl+Z). | |
| text | No | ||
| stroke | No | Color "#rrggbb" or "ink" (the theme's text color). | |
| markdown | No | Default false (text taken literally). true: `text` is Markdown: **bold**, *italic* (or _italic_), __underline__, ~~strike~~, {color=#e03131}text{/}, {bg=#ffec99}text{/}, {color=#e03131 bg=ink}text{/} (colors: #rrggbb or ink); nesting allowed; \ escapes * _ ~ { } \. Markup that cannot be applied stays literal text and is listed in the `warnings` of the result. | |
| font_size | No |