Get project element
get_project_elementGet one project element by stable ID, including the saved decoration for text. Geometry shows the box after stacking and, for images and shapes, the rectangle drawn after fit and rotation. Pass targetId to measure on a specific output size.
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": {
"projectId": "<projectId>",
"elementId": "<elementId>"
},
"name": "get_project_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetId | No | Output size to measure geometry on: a list_render_targets ID or one of the project's custom sizes. Defaults to the project's first enabled size. | |
| elementId | Yes | ||
| projectId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element | Yes | ||
| revision | Yes | ||
| projectId | Yes | ||
| revisionHash | Yes |