Call any Onshape REST endpoint
onshape_requestMake authenticated calls to any Onshape REST endpoint for operations not covered by dedicated tools, using method, path, body, and query parameters.
Instructions
Make an authenticated request to an arbitrary Onshape REST endpoint, for anything the dedicated tools do not cover. Paths start with /api/ and are documented at https://cad.onshape.com/glassworks/explorer. Prefer a dedicated tool when one exists — they normalise the response and validate the result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body, for POST. | |
| path | Yes | API path, e.g. /api/v6/documents/d/{did}/w/{wid}/elements. Must begin with /api/. | |
| method | Yes | HTTP method. | |
| params | No | Query string parameters. |