get_children
Retrieve the direct children of any node to inspect their IDs, names, component types, child counts, and positions. Returns an error when the node does not exist.
Instructions
Get the direct children of a node. Returns a list of child nodes with their IDs, names, component types, how many children each has, and each child's worldX/worldY (world position) and x/y (relative to parent). Returns an error if the node does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | No | Optional. The Paper file ID this call should act on. Pass it to reliably target a specific file when several are open at once (e.g. multiple agents from the same session working in parallel). Omit to use the most recently opened file in the session. | |
| nodeId | Yes | The ID of the parent node to get children from |