get_nodes_bindings
Read values, variable bindings, fills, and strokes for every node under a root to a chosen depth, with field filters and cursor-based pagination for large trees.
Instructions
Read, for every node under rootId down to depth (0 = the root alone), its values, its variable bindings with the variable name ({id, name}), its fills and its strokes (color, bound variable). Instance children are excluded (instanceChildrenExcluded and childrenCount tell). fields limits values and bindings to those fields (default: all of: height, width, characters, itemSpacing, paddingLeft, paddingRight, paddingTop, paddingBottom, visible, topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius, minHeight, maxHeight, minWidth, maxWidth, strokeWeight, strokeTopWeight, strokeRightWeight, strokeBottomWeight, strokeLeftWeight, opacity, counterAxisSpacing, fontFamily, fontSize, fontStyle, fontWeight, letterSpacing, lineHeight, paragraphSpacing, paragraphIndent). Large volumes come in pieces: maxNodes per call (default 500); PARTIAL with nextCursor when the budget or maxNodes is reached.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rootId": "<rootId>",
"depth": "<depth>"
},
"name": "get_nodes_bindings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | Yes | ||
| cursor | No | nextCursor of a previous PARTIAL answer, to continue where it stopped | |
| fields | No | ||
| rootId | Yes | ||
| maxNodes | No | ||
| timeBudgetMs | No | Time budget of the plugin for this call in ms (default 60000, max 100000). When it is reached the answer says it is PARTIAL and gives nextCursor. |