Create an assembly
onshape_create_assemblyCreate a new assembly tab in a specified Onshape document workspace, using document and workspace IDs plus a tab name to set up assembly design.
Instructions
Add an assembly tab to 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": {
"doc": "<doc>",
"ws": "<ws>",
"name": "<name>"
},
"name": "onshape_create_assembly"
}
}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>. | |
| name | Yes | Tab name. |