create_extrude
Turn a 2D sketch into a 3D solid by generating an extrude feature with defined depth, direction, and boolean operation.
Instructions
Create an extrude feature from a sketch
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": {
"documentId": "<documentId>",
"workspaceId": "<workspaceId>",
"elementId": "<elementId>",
"sketchFeatureId": "<sketchFeatureId>",
"depth": "<depth>"
},
"name": "create_extrude"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Extrude name | Extrude |
| depth | Yes | Extrude depth in inches | |
| elementId | Yes | Part Studio element ID | |
| documentId | Yes | Document ID | |
| workspaceId | Yes | Workspace ID | |
| operationType | No | Extrude operation type | NEW |
| variableDepth | No | Optional variable name for depth | |
| sketchFeatureId | Yes | ID of sketch to extrude | |
| oppositeDirection | No | Extrude away from the sketch plane's default normal direction instead of along it |