onshape_list_elements
Lists the tabs (Part Studios, Assemblies, Drawings, Variable Studios) in an Onshape document, with optional filtering by element type to locate the right workspace content.
Instructions
List the tabs (elements) in a document: Part Studios, Assemblies, Drawings, Variable Studios... element_type optionally filters, e.g. PARTSTUDIO, ASSEMBLY, DRAWING, VARIABLESTUDIO.
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": {
"did": "<did>",
"wvm": "<wvm>",
"wvmid": "<wvmid>"
},
"name": "onshape_list_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| did | Yes | ||
| wvm | Yes | ||
| wvmid | Yes | ||
| element_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |