Skip to main content

get_project

Read a project: its name, canvas backgroundColor and rootContainerId (the canvas container - what the create tools use when parentId is omitted), plus its items. Start with summary=true for a cheap first look - item counts per kind, the bounding box of the content and the first item texts, no item list - then fetch only what you need: kinds, parentId (direct children of one container), bbox (items intersecting a canvas rectangle), textContains (case-insensitive) and externalIds combine with AND; offset/limit page through the result (default 200 items), which reports total and hasMore. By default each item has id, kind, position (relative to its container), size (plus estimatedSize, the box the clients draw, for a label that grows with its text) and plain text cut to 200 characters (textTruncated marks a cut). fields picks others: style (fillColor, backgroundColor, strokeColor, strokeThickness, textColor, fontSize, fontFamily, horizontalTextAlignment, verticalTextAlignment, shapeType), a shape's cornerRadius (round-corner rectangles, world units) and adjustmentValues, connector lineType/start/end and labels, zIndex (stacking order in the container, 0 = back-most), autoSize, parentId, angle, fileId, fullText (no cut), html (stored markup), or all. An item's externalId comes by default, or when fields names it. A comment's text is its opening comment; with the text it also carries resolved, attachedTo (the item under the pin) and thread, its posts oldest first with author, createdAt and text (list_comments reads only the comments). Item ids are stable, so after a write re-fetch only what changed, not the whole board. Ids feed update_items, arrange_item, delete_items and connect_items.

A board can hold hundreds of items, and an agent tends to re-read it after every write. To keep that cheap:

  1. Start with summary: true — item counts per kind, the bounding box of the content and the first item texts, without an item list.
  2. Then fetch only what you need, with kinds, parentId, bbox or textContains.
  3. Item ids are stable, so after a write re-fetch only what changed, not the whole board.

Tool name: get_project

Parameters​

ParameterTypeRequiredDefaultDescription
projectIdstringYes—The project (map) id, e.g. from list_projects.
fieldsenum[]No["id", "kind", "position", "size", "text"]Item fields to return — see Fields.
kindsenum[]NoAllOnly items of these kinds: label, sticky, shape, connector, image, svg, web, document, video, drawing, comment, group, other.
parentIdstringNo—Only the direct children of this container, e.g. a group id — or rootContainerId for the items directly on the canvas.
bboxobjectNo—{ x, y, width, height } — only items whose bounding box intersects this rectangle in canvas coordinates.
textContainsstringNo—Only items whose text contains this, case-insensitive. The plain text is searched, not the stored markup.
externalIdsstring[]No—Only the items with these external ids.
summarybooleanNofalseReturn a summary instead of the item list — see Summary.
offsetnumberNo0Matching items to skip.
limitnumberNo200Items to return, 1–1000.

Filters combine with AND.

Returns​

backgroundColor is the color the canvas shows. When the board has no background of its own, it is the web client's dark default #080A10 and backgroundIsDefault is true; pick text colors against that. A gradient or image background has no single color and is omitted.

{
"projectId": "a1b2c3d4-...",
"name": "Product Roadmap",
"backgroundColor": "#F2F2F2",
"backgroundIsDefault": false,
"rootContainerId": "f0e1d2c3-...",
"total": 214,
"hasMore": true,
"items": [
{
"id": "11aa22bb-...",
"kind": "label",
"position": { "x": 100, "y": 200 },
"size": { "width": 240, "height": 0 },
"text": "Q3 Goals"
},
{
"id": "33cc44dd-...",
"kind": "shape",
"position": { "x": 400, "y": 180 },
"size": { "width": 160, "height": 80 }
}
]
}
  • rootContainerId is the canvas container. The create tools use it when parentId is omitted, and it works as the parentId filter for the items directly on the canvas.
  • total counts the items that match the filters; hasMore says whether another page follows. offset is echoed back when it is not 0.
  • position is relative to the item's container — the canvas for top-level items, the group for items inside one — so it can be written back with update_items unchanged. bbox and the summary bounds use canvas coordinates.
  • A connector is drawn between its ends, so for bbox and the summary bounds it spans the items it is attached to (and the position of a free end), not its own stored position and size.
  • On a board that still uses an older client's rotation handling, a quarter-turned item (90° or 270°) has that client's position: the top-left of its turned box. The web app converts such a board the first time someone opens it to edit. When create_shape or create_items turn a shape a quarter on a board without quarter-turned items, they switch the board to the current handling in the same change; on a board that has some, they write the shape so that it lands at the position you asked for once the board is converted.
  • Numbers are rounded to one decimal.

Fields​

FieldApplies toValue
id, kind, position, sizeallDefault fields. A connector has no position or size: start and end place it.
estimatedSizelabels, stickiesComes with size when the label grows with its text (autoSize other than "none"): the box the clients draw it in, estimated from the text, in world units and including the label's scale (which size does not). The stored size of a growing axis is a placeholder, often 0. render_view measures the drawn box exactly (items[].rect).
textlabels, stickies, shapes, connectorsDefault. A shape's own text; a connector's labels, one per line. The plain text — markup removed, paragraphs as line breaks — cut to 200 characters; "textTruncated": true marks a cut.
textcommentsDefault. The opening comment, mentions written as @Name, cut to 200 characters. With it come resolved, attachedTo and thread — see Comments.
fullTextlabels, stickies, shapes, connectors, commentsThe text without the cut; for a comment, every post of its thread uncut.
htmllabels, stickies, shapesThe stored markup. Only returned when asked for by name.
parentIdallThe container holding the item.
zIndexallStacking order within the container, 0 = back-most. Change it with arrange_item.
angleallRotation in degrees.
autoSizelabels, stickies"none", "width", "height" or "both" — see create_item sizing.
fillColorshapesFill, hex.
backgroundColorlabels, stickiesBackground, hex (#00000000 = none).
strokeColor, strokeThicknessshapes, connectorsOutline / line.
textColor, fontSize, fontFamilylabels, stickies, shapesText style (a shape's of its own text).
horizontalTextAlignment, verticalTextAlignmentlabels, stickies, shapes"Left", "Center", "Right" and "Top", "Center", "Bottom", as the create tools take them.
shapeTypeshapesThe shape name.
cornerRadiusround-corner shapesThe radius the corners are drawn with, in world units (see corner radius).
adjustmentValuesshapesThe stored shape proportions, as the REST API reads and writes them.
lineType, start, endconnectors"Straight", "Angled" or "Curved"; each end as { itemId, decorator } (a free end has a position instead of an itemId).
labelsconnectorsEach label as { id, text, position, offset }: plain text, position from 0 (start) to 1 (end) along the drawn line, offset from -1 (left of travel) through 0 (on the line) to 1 (right).
fileIdimages, vector imagesThe stored file id for get_image_data (which also accepts the item id).
all—Every field except html. Text is still cut unless fullText is added too.

A field that does not apply to an item is left out. id is always included, whichever fields you ask for.

{ "projectId": "a1b2c3d4-...", "kinds": ["shape"], "fields": ["id", "shapeType", "fillColor"] }

Comments​

A comment pin (kind: "comment") carries its thread whenever the text is returned: by default, with fullText or with all.

{
"id": "9c0d1e2f-...",
"kind": "comment",
"position": { "x": 412, "y": 96 },
"size": { "width": 40, "height": 40 },
"text": "The title is too small - @Ben Ode can you check?",
"resolved": false,
"attachedTo": { "id": "11aa22bb-...", "kind": "label", "text": "Q3 Goals" },
"thread": [
{
"postId": "aa11bb22-...",
"authorId": "0f1e2d3c-...",
"author": "Ana Lima",
"createdAt": "2026-10-06T09:14:02+00:00",
"text": "The title is too small - @Ben Ode can you check?"
},
{
"postId": "cc33dd44-...",
"authorId": "4b5a6978-...",
"author": "Ben Ode",
"createdAt": "2026-10-06T10:02:41+00:00",
"text": "Agreed, 48 pt at least."
}
]
}
  • thread holds the posts oldest first: the opening comment, then the replies. Each post's text is cut to 200 characters with "textTruncated": true, unless fullText is asked for. editedAt is only present on a post that was changed.
  • attachedTo is the smallest item under the pin's centre, comments and connectors aside, since a thread does not store the item it is about. It is left out when the pin is on empty canvas.
  • textContains searches a comment's opening post.
  • list_comments returns the threads alone, with resolve dates, and can leave resolved ones out.
{ "projectId": "a1b2c3d4-...", "kinds": ["comment"], "fields": ["fullText"] }

Summary​

{
"projectId": "a1b2c3d4-...",
"name": "Product Roadmap",
"backgroundColor": "#F2F2F2",
"backgroundIsDefault": false,
"rootContainerId": "f0e1d2c3-...",
"summary": {
"total": 214,
"kinds": { "label": 90, "connector": 50, "shape": 40, "sticky": 20, "image": 12, "group": 2 },
"bounds": { "x": 34, "y": 45.5, "width": 4467.9, "height": 3181.2 },
"texts": [
{ "id": "11aa22bb-...", "kind": "label", "text": "Q3 Goals" }
]
}
}

texts holds the first 20 item texts, each cut to 100 characters. The summary covers the items that match the filters, so summary combines with kinds, bbox and the rest. Auto-sized labels store no measured size, so bounds is approximate for them.

Example​

"What's on the Product Roadmap board?"

{ "projectId": "a1b2c3d4-...", "summary": true }

"Which stickies mention the launch?"

{ "projectId": "a1b2c3d4-...", "kinds": ["sticky"], "textContains": "launch" }