fusion_mcp_export
Export the open Fusion design to an existing directory as STL, F3D, and parameters JSON, returning absolute paths; validates the STL mesh and never overwrites files.
Instructions
Export the open Fusion design into an existing directory as .stl (export_stl of one body), .f3d (export_f3d) and .parameters.json (its user parameters), and return their absolute paths. The STL is checked as a finite triangle mesh; slice it like any other model. Fusion must run on this computer, and existing files are never overwritten.
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": {
"output_dir": "<output_dir>",
"name": "<name>"
},
"name": "fusion_mcp_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | File name without extension, such as bracket. | |
| body_name | No | The body to export as STL. Optional when the design has exactly one body. | |
| output_dir | Yes | Existing directory for the three files. | |
| timeout_ms | No | Total deadline in milliseconds; defaults to FUSION_MCP_TIMEOUT_MS or 180000. | |
| document_id | No | Session identity returned by a bound new design. Every operation targets this document, even if the user changes tabs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| f3d | Yes | Absolute path of <name>.f3d. | |
| stl | Yes | Absolute path of <name>.stl. | |
| body | Yes | ||
| bytes | No | ||
| status | Yes | ||
| stlUnits | No | The STL's units, from its size against the Fusion body's. | |
| warnings | No | ||
| triangles | Yes | ||
| parameters | Yes | Absolute path of <name>.parameters.json. | |
| boundingBox | No | Measured from the written STL, in its own units: min, max and dimensions. | |
| fusionSizeMm | No | The Fusion body's bounding-box size in mm. | |
| parameterCount | Yes |