Generate cad design
generate_cad_designGenerate a parametric CAD design contract in a ProtoGen 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": {
"workspace_id": "<workspace_id>",
"part_name": "<part_name>",
"dimensions_mm": "<dimensions_mm>"
},
"name": "generate_cad_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| features | No | Optional. Features such as holes or fillets. | |
| material | No | Optional. Material. Default aluminum. | aluminum |
| part_name | Yes | Name of the part. | |
| request_id | No | Optional. Your id for this call. Repeat it to retry safely: the same request_id is never charged twice. | |
| payment_ref | No | Optional. A paid credit or payment reference, used only after the free daily calls. Leave it out to use the free tier or a seat. | |
| workspace_id | Yes | The workspace id returned by create_cad_workspace. | |
| design_intent | No | Optional. What the part is for. | |
| dimensions_mm | Yes | Overall dimensions in millimetres, for example {"length": 120, "width": 40}. | |
| output_formats | No | Optional. Formats to prepare: openscad, step_contract, manufacturing_brief. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |