Get element or part metadata
onshape_get_metadataRetrieve properties of an Onshape element or specific part using document, workspace, and element IDs. Provide a part ID to read that part's metadata.
Instructions
Read the properties of an element, or of one part when part is given.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ws | Yes | Workspace id — the <ws> segment of the document URL. | |
| doc | Yes | Document id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>. | |
| elem | Yes | Element id (tab) — the <elem> segment of the document URL. | |
| part | No | Part id, to read that part's properties. |