create_sketch
Create an empty sketch on a principal plane, a planar face, or a custom plane defined by origin, x-axis and normal. Returns the sketch name used to build profiles for extrusion and revolution.
Instructions
Create an empty sketch on a principal plane, on an arbitrary plane, or on a planar face. Returns the sketch name used by sketch_* tools, extrude and revolve. Sketch coordinates are 2D (x, y) in the sketch plane: for XY the sketch x/y are absolute X/Y (normal +Z); for XZ they are absolute X/Z (normal -Y); for YZ they are absolute Y/Z (normal +X). The result reports origin, x_axis, y_axis and normal. Units: millimetres (mm) and degrees.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_sketch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| face | No | Planar face to sketch on (same selector format as FACES). | |
| name | No | Optional sketch name (letters, digits, underscore). Auto-generated when omitted. | |
| plane | No | Principal plane (ignored when `face` or `x_axis`+`normal` is given). | XY |
| normal | No | Custom plane: plane normal. [x, y, z] | |
| origin | No | Sketch origin in absolute coordinates. [x, y, z] | |
| x_axis | No | Custom plane: direction of the sketch x axis. [x, y, z] |