Fillet edges
filletRound selected edges with a constant-radius blend to soften sharp corners, then verify results through part properties or a screenshot.
Instructions
Round edges with a constant-radius fillet: a smooth, curved blend between the two faces
that meet at each edge. Use it to soften corners and sharp edges; use chamfer instead for
a flat, angled bevel. The part must already exist (extrude first) and the edge IDs come
from get_body_details. It appends one fillet feature at the end of the feature tree and
returns its feature_id, name and health (OK / WARNING / ERROR - a radius too large for the
geometry gives ERROR with a warning, but the feature still exists). It does not measure the
result: confirm with get_part_properties (the volume changes slightly) or a screenshot.
Change the radius later with update_feature (parameter radius), remove it with
delete_feature.
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>",
"edge_ids": "<edge_ids>",
"radius": "<radius>"
},
"name": "fillet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Feature name shown in the tree. | Fillet |
| radius | Yes | Fillet radius: a number in the configured unit (mm by default), a string with a unit ('1.5 in') or an expression ('#r'). It must fit the adjacent faces, or Onshape reports ERROR. | |
| edge_ids | Yes | Edge IDs to round, from get_body_details (include_edges is on by default). IDs can change when the part is rebuilt, so read them again after other edits. | |
| 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 | |||