Get configuration inputs
get_configurationLists a Part Studio's configuration inputs, options, and defaults so you can identify labels or IDs and choose a valid variant for measurement or inspection.
Instructions
List the configuration inputs of a Part Studio (for example a 'Size' list with M10 and
M18, or a 'Length'), with their options and defaults. Names are the labels shown in
Onshape; for an input made in Onshape's UI the generated id (and option_ids) are shown
beside them. Other tools take a configuration such as {"Size": "M18"} (labels or IDs)
to measure or look at one variant.
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": {
"document_id": "<document_id>",
"element_id": "<element_id>"
},
"name": "get_configuration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element_id | Yes | Element (tab) ID: the string after /e/ in the Onshape URL. Get it from get_document. | |
| document_id | Yes | Onshape document ID: the 24-character hex string after /documents/ in the document URL. Get it from list_documents. | |
| workspace_id | No | Workspace ID (the string after /w/ in the URL). Optional - defaults to the document's main workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||