Call any Onshape REST endpoint
onshape_requestSend authenticated GET, POST, or DELETE requests to arbitrary /api/ Onshape endpoints when no dedicated tool covers the need.
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. |