get_elements
Retrieve all elements, including Part Studios and Assemblies, in a specified workspace. Optionally filter by element type to narrow results.
Instructions
Get all elements (Part Studios, Assemblies, etc.) in a workspace
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": {
"documentId": "<documentId>",
"workspaceId": "<workspaceId>"
},
"name": "get_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | Document ID | |
| elementType | No | Optional filter by element type (e.g., 'PARTSTUDIO', 'ASSEMBLY') | |
| workspaceId | Yes | Workspace ID |