Create an Onshape document
onshape_create_documentCreate a new Onshape document with a name, optional description, and public setting, then return its document ID and default workspace ID.
Instructions
Create a document. Free Onshape accounts may only create public documents, so pass public=true there. The result carries the new document id and its default workspace id.
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": {
"name": "<name>"
},
"name": "onshape_create_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Document name. | |
| public | No | Make the document public (required on free accounts). | |
| description | No | Document description. |