{"at":"2026-11-23T00:49:06.682Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T00:49:09.385Z","dir":"received","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"SolidWorks MCP Server","version":"2.0.0"}},"cacheScope":"private","capabilities":{"extensions":{"io.modelcontextprotocol/ui":{}},"logging":{},"prompts":{"listChanged":false},"resources":{"listChanged":false,"subscribe":false},"tools":{"listChanged":false}},"instructions":"SolidWorks MCP server: drive SolidWorks parts, assemblies and drawings.\n\n- Start with `get_model_info` (or `list_open_documents`) to see what is open.\n- Build in this order: `create_part`, `create_sketch`, draw (`add_rectangle`, `add_circle`, ...), `exit_sketch`, then the feature (`create_extrusion`, `create_cut_extrude`, `create_revolve`). Features use the sketch `sketch_name` \nnames, or the one you closed last.\n- Inputs are millimetres and degrees unless a field says metres.\n- A tool's success does not prove the geometry is right: finish a build with `verify_model`, giving the size, volume or counts you expect.\n- A tool whose description starts \"Not available yet\" returns `not_supported`; use the tool it names instead.\n- On an error, read `error_type` and `hint`; `rebuild_model` names failing features and `undo` steps back.\n\nFull guidance (workflows, selection, units, known limits): read the resource skill://solidworks-mcp/SKILL.md.\n","resultType":"complete","supportedVersions":["2026-07-28"],"ttlMs":0}}}
{"at":"2026-11-23T00:49:09.385Z","dir":"sent","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T00:49:09.592Z","dir":"received","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"SolidWorks MCP Server","version":"2.0.0"}},"cacheScope":"private","resultType":"complete","tools":[{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Open Model"},"description":"Open a part, assembly or drawing from disk and make it the active document.\n\nUse it to start work on an existing file. To switch to a document that is\nalready open, use `activate_document`. Needs: the file on disk (a vault file\nmust be checked out). Changes: opens the document; nothing is written. Returns:\n`model` with `title`, `type`, `path` and `configuration`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The file. `file_path` (.sldprt, .sldasm or .slddrw) is\nrequired.","properties":{"file_path":{"description":"Full path to the SolidWorks file (.sldprt, .sldasm, .slddrw)","type":"string"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"open_model","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Open Model"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Part"},"description":"Create a new, empty part document and make it active, ready for `create_sketch`.\n\nUses `template` (a .prtdot) or the default part template, then sets `units` if\ngiven, and assigns `material` if given. The part is not saved until\n`save_part`. Needs: SolidWorks running. Changes: opens a new part document.\nReturns: `part` with `name`, `units`, `template` and `material` (the one\nassigned, or null), plus a `warning` when the material couldn't be assigned;\nthe part is created either way.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The part. `name` is required but only a label: the reply\ngives SolidWorks' own name (Part1, ...); `template`, `units` (mm, cm, m, in, ft) and\n`material` (a name from `list_available_materials`) are optional.","properties":{"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Material name"},"name":{"description":"A label for your own reference; SolidWorks names the new part itself (Part1, ...) and the file takes the name of the path you save it to with save_part","type":"string"},"template":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Part template (.prtdot) path; omit to use the SolidWorks default"},"units":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Document units"}},"required":["name"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_part","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Part"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Assembly"},"description":"Create a new, empty assembly document and make it active, ready for `insert_component`.\n\nUses `template` (an .asmdot) or the default assembly template. It is not saved\nuntil `save_assembly`. Needs: SolidWorks running. Changes: opens a new assembly\ndocument. Returns: `assembly` with `name` and `template`. Then call\n`insert_component` for each part.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The assembly. `name` is required but only a label: the\nreply gives SolidWorks' own name (Assem1, ...); `template` has a\ndefault.","properties":{"name":{"description":"A label for your own reference; SolidWorks names the new assembly itself (Assem1, ...) and the file takes the name of the path you save it to with save_assembly","type":"string"},"template":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Assembly template (.asmdot) path; omit to use the SolidWorks default"}},"required":["name"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_assembly","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Assembly"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Drawing"},"description":"Create a new, empty drawing document and make it active.\n\nUses `template` (a .drwdot) or the default drawing template. Then place views\nwith `create_drawing_view`; for a whole drawing from a model in one call, use\n`generate_drawing_package` instead. Needs: SolidWorks running. Changes: opens a\nnew drawing document. Returns: `drawing` with `name` and `template`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The drawing. `name` is required but only a label: the\nreply gives SolidWorks' own name (Draw1, ...); `template` has a\ndefault.","properties":{"name":{"description":"A label for your own reference; SolidWorks names the new drawing itself (Draw1, ...) and the file takes the name of the path you save it to with save_file","type":"string"},"template":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Drawing template (.drwdot) path; omit to use the SolidWorks default"}},"required":["name"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_drawing","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Drawing"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Close Model"},"description":"Close the active document, saving it first only if asked.\n\nUse it when you are done with a document. Unsaved changes are lost unless `save`\nis on. Needs: an open, active document. Changes: closes the document, and with\n`save` writes it first. Returns: `saved`, whether a save was asked for.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The close. Nothing is required: `save` is off.","properties":{"save":{"default":false,"description":"Save the model before closing","type":"boolean"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"close_model","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Close Model"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Extrusion"},"description":"Extrude the sketch you just closed into a solid boss, added to the active part.\n\nUse it after `exit_sketch`; to remove material, use `create_cut_extrude`. It\nextrudes the sketch `sketch_name` names, or the one `exit_sketch` closed last;\na name that isn't in the feature tree fails before anything is built. End\nconditions: Blind (default), MidPlane, ThroughAll, UpToNext; `both_directions`\nmeans MidPlane. With `thin_feature` and `thin_thickness` it makes a wall from the\nsketch's outline, and an open chain works (a bent plate from its centreline).\nNeeds: an open part and a closed profile (open is fine when thin). Changes:\nadds a Boss-Extrude feature. Returns: `extrusion` (`name`, `sketch` when one\nwas named, `depth`, the `end_condition` SolidWorks used, `both_directions`,\nand `thin` when thin) and\n`measured_change` (volume, bounding box and solid-body count before and after;\nleft out when the model can't be read).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The extrusion. `depth` (mm) is required; `sketch_name`,\n`end_condition`, `both_directions`, `reverse_direction`,\n`draft_angle`, `thin_feature`/`thin_thickness` and `merge_result`\nhave defaults.","properties":{"both_directions":{"default":false,"description":"Extrude symmetrically about the sketch plane (mid-plane): `depth` is the total thickness, half on each side","type":"boolean"},"depth":{"description":"Extrusion depth in millimeters","type":"number"},"draft_angle":{"default":0.0,"description":"Draft angle in degrees","type":"number"},"end_condition":{"default":"Blind","description":"End condition type","type":"string"},"merge_result":{"default":true,"description":"Merge with existing geometry","type":"boolean"},"reverse":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"Reverse direction alias"},"reverse_direction":{"default":false,"description":"Reverse extrusion direction","type":"boolean"},"sketch_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Sketch to use, by its name in the feature tree (e.g. \"Sketch2\"); omit to use the sketch `exit_sketch` closed last"},"thin_feature":{"default":false,"description":"Make a thin wall of `thin_thickness` from the sketch's outline; the sketch may be an open chain (a bent plate's centreline)","type":"boolean"},"thin_side":{"default":"one_side","description":"Which side of the sketch line the thin wall grows on: one_side, other_side, or mid_plane (half each side)","enum":["one_side","other_side","mid_plane"],"type":"string"},"thin_thickness":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Wall thickness in mm; required with thin_feature"}},"required":["depth"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_extrusion","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Extrusion"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Revolve"},"description":"Revolve a closed sketch around an axis, adding a solid to the active part.\n\nUse it for turned shapes (shafts, knobs). It revolves the sketch `sketch_name`\nnames, or the one `exit_sketch` closed last, about the reference axis\n`axis_entity` names (from `create_axis`), or about the centreline drawn in the\nsketch with `add_centerline`. A sketch or axis that isn't in the model fails\nbefore anything is built. Needs: an open part and a closed profile with a\ncentreline or a reference axis. Changes: adds a Revolve feature. Returns:\n`revolve` (`name`, `sketch` and `axis_entity` when named, `angle`) and\n`measured_change` (volume, bounding box and solid-body count before and\nafter; left out when the model can't be read).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The revolve. `angle` (degrees, 360 for a full turn) is\nrequired; `sketch_name`, `axis_entity`, `both_directions`,\n`reverse_direction`, `thin_feature` and `merge_result` have defaults.","properties":{"angle":{"description":"Revolve angle in degrees","type":"number"},"axis_entity":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"A reference axis to revolve about, by its name in the feature tree (e.g. \"Axis1\" from `create_axis`); omit to use the centreline drawn in the sketch"},"both_directions":{"default":false,"description":"Revolve in both directions","type":"boolean"},"merge_result":{"default":true,"description":"Merge with existing geometry","type":"boolean"},"reverse_direction":{"default":false,"description":"Reverse revolve direction","type":"boolean"},"sketch_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Sketch to use, by its name in the feature tree (e.g. \"Sketch2\"); omit to use the sketch `exit_sketch` closed last"},"thin_feature":{"default":false,"description":"Create as thin wall feature","type":"boolean"},"thin_thickness":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Thickness for thin wall feature in mm"}},"required":["angle"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_revolve","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Revolve"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Get Dimension"},"description":"Read one dimension of the active model by its full name, e.g. \"D1@Sketch1\".\n\nFind names with `list_model_dimensions`. Needs: an open part or assembly.\nRead-only. Returns: `dimension` with `name`, `value` and `units`: \"mm\" for a\nlength, \"deg\" for an angle, and null for a count (such as a pattern's\ninstance count).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The dimension. Give `name` (or `dimension_name`), e.g.\n\"D1@Boss-Extrude1\".","properties":{"dimension_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Dimension name alias"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Dimension name (e.g., 'D1@Sketch1', 'D1@Boss-Extrude1')"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"get_dimension","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Get Dimension"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Set Dimension"},"description":"Change one length dimension of the active model, in mm, and rebuild.\n\nUse it to resize an existing model; find the full name with\n`list_model_dimensions` and check the result with `rebuild_model` or\n`verify_model`. The value is always millimetres. Needs: an open part or\nassembly. Changes: the dimension and the geometry it drives. Returns:\n`dimension_update` with `name`, `old_value` and `new_value`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The change. `value` (mm) is required, with `name` (or\n`dimension_name`) such as \"D1@Sketch1\"; `units` is not used.","properties":{"dimension_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Dimension name alias"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Dimension name (e.g., 'D1@Sketch1', 'D1@Boss-Extrude1')"},"units":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Units alias"},"value":{"description":"New dimension value in millimeters","type":"number"}},"required":["value"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"set_dimension","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Set Dimension"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Set Units"},"description":"Set the active document's length units: mm, cm, m, in or ft.\n\nUse it on a new part before sketching if you want other than the template's\nunits. Aliases such as \"inch\" are accepted. The setting is read back, so success\nmeans it applied. Tool inputs stay in mm whatever the document shows. Needs: an\nopen, active document. Changes: the document's unit system. Returns: `data` with\n`unit_system`, the values applied and observed, and `verified`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The units. `unit_system` (mm, cm, m, in or ft) is\nrequired.","properties":{"unit_system":{"description":"Linear unit system: mm, cm, m, in, or ft","type":"string"}},"required":["unit_system"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"set_units","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Set Units"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Extruded Cut"},"description":"Cut material from the active part with a closed sketch profile: holes, slots, windows.\n\nUse it after `exit_sketch`. Pass `sketch_name` unless the sketch you just closed\nis the one: with no name only that sketch is used, and any doubt is an error\nnaming the sketches found. A one-way cut that finds no material is retried the\nother way (`direction_flipped`). For a sketch inside the body, use\nThroughAllBoth. Needs: an open part with a solid body. Changes: adds a\nCut-Extrude feature. Returns: `cut_extrude` (`name`, `sketch_name`,\n`direction_flipped`) and `measured_change` (volume, bounding box and solid-body\ncount before and after; left out when the model can't be read).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The cut. `depth` (mm) is required; `sketch_name`,\n`end_condition` (Blind, ThroughAll, ThroughAllBoth),\n`both_directions`, `reverse_direction` and `draft_angle` have\ndefaults.","properties":{"both_directions":{"default":false,"description":"With end_condition 'ThroughAll', cut through the body both ways (same as 'ThroughAllBoth')","type":"boolean"},"depth":{"description":"Cut depth in millimeters","type":"number"},"draft_angle":{"default":0.0,"description":"Draft angle in degrees","type":"number"},"end_condition":{"default":"Blind","description":"'Blind' (cut 'depth' mm), 'ThroughAll' (through the body, one way) or 'ThroughAllBoth' (through the body both ways, for a sketch inside the body)","type":"string"},"reverse_direction":{"default":false,"description":"Cut against the sketch normal instead of along it. Usually not needed: if the requested direction finds no material, the cut is retried the other way and the reply sets direction_flipped","type":"boolean"},"sketch_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Sketch to cut from, e.g. 'Sketch3'. If omitted, the sketch most recently created/exited in this session is used, but only if it still exists in the model — there is no other fallback. Pass this explicitly whenever more than one unconsumed sketch could exist, or after any operation that might have changed the active sketch."}},"required":["depth"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_cut_extrude","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Extruded Cut"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Fillet"},"description":"Round edges of the active part with a constant-radius fillet.\n\nName the edges as \"Edge<1>\", a point \"x,y,z\" (metres) or \"face:x,y,z\" for every\nedge of a face; or leave `edge_names` empty to use the current selection (e.g.\nfrom `select_face_edges`). A fillet that leaves the volume unchanged is an\nerror. Needs: an open part with a solid body. Changes: adds a Fillet feature.\nReturns: `fillet` with `name`, `radius` and `edges`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The fillet. `radius` (mm) is required; `edge_names`\ndefaults to the current selection.","properties":{"edge_names":{"description":"Edges (or faces) to fillet. Accepts a topology name (e.g. 'Edge<1>'), a coordinate hint in metres ('x,y,z') to select the nearest edge, or 'face:x,y,z' to select a whole face — which fillets every edge bounding it in one call. Prefer 'face:' over a coordinate on an edge that sits exactly on a shared boundary between two faces (e.g. a hole rim flush with a flat face): the nearest-edge match there can silently resolve to a different, unrelated edge. Leave empty to use whatever is *currently selected* in the live SolidWorks UI (e.g. entities read back via get_selected_entities and left selected) without touching the selection — this is the most reliable option when the user has hand-picked specific edges, since it never round-trips through coordinates. Falls back to filleting all edges only if nothing at all is selected.","items":{"type":"string"},"type":"array"},"radius":{"description":"Fillet radius in millimeters","type":"number"}},"required":["radius"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_fillet","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Fillet"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Chamfer"},"description":"Bevel edges of the active part with a chamfer: `distance` along one face at `angle` (45 by default).\n\nName the edges as \"Edge<1>\", a point \"x,y,z\" (metres) or \"face:x,y,z\" for every\nedge of a face; or leave `edge_names` empty to use the current selection (e.g.\nfrom `select_face_edges`). At 45 degrees both legs equal `distance`; at another\nangle, `flip` swaps which face `distance` is measured on. Needs: an open part\nwith a solid body. Changes: adds a Chamfer feature. Returns: `chamfer` with\n`name`, `distance`, `angle`, `flip` and `edges`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The chamfer. `distance` (mm) is required; `edge_names`\ndefaults to the current selection.","properties":{"angle":{"default":45.0,"description":"Chamfer angle in degrees, between 0 and 90; 45 makes both legs equal to distance","type":"number"},"distance":{"description":"Chamfer distance in millimeters, along one of the edge's faces","type":"number"},"edge_names":{"description":"Edges (or faces) to chamfer. Accepts a topology name (e.g. 'Edge<1>'), a coordinate hint in metres ('x,y,z') to select the nearest edge, or 'face:x,y,z' to select a whole face — which chamfers every edge bounding it in one call. Prefer 'face:' over a coordinate on an edge that sits exactly on a shared boundary between two faces (e.g. a hole rim flush with a flat face): the nearest-edge match there can silently resolve to a different, unrelated edge. Leave empty to use whatever is *currently selected* in the live SolidWorks UI (e.g. entities read back via get_selected_entities and left selected) without touching the selection — this is the most reliable option when the user has hand-picked specific edges, since it never round-trips through coordinates. Falls back to chamfering all edges only if nothing at all is selected.","items":{"type":"string"},"type":"array"},"flip":{"default":false,"description":"Measure distance along the edge's other face (swaps the long and short legs of an angled chamfer)","type":"boolean"}},"required":["distance"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_chamfer","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Chamfer"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Sweep"},"description":"Sweep a closed profile sketch along a path sketch to make a solid (Insert > Boss/Base > Sweep).\n\nDraw the closed profile and the open path as two sketches first. The profile is\nthe sketch you closed last that isn't the path. Needs: an open part with both\nsketches. Changes: adds a Sweep feature. Returns: `sweep` with `name`, `path`,\n`twist_along_path` and `twist_angle`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The sweep. `path` (the path sketch's name) is required;\n`twist_along_path`, `twist_angle` (degrees) and `merge_result` have\ndefaults.","properties":{"merge_result":{"default":true,"description":"Merge with existing geometry","type":"boolean"},"path":{"description":"Name or ID of the sweep path","type":"string"},"twist_along_path":{"default":false,"description":"Twist along path","type":"boolean"},"twist_angle":{"default":0.0,"description":"Twist angle in degrees","type":"number"}},"required":["path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_sweep","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Sweep"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Loft"},"description":"Loft a solid through two or more closed profile sketches, in order (Insert > Boss/Base > Loft).\n\nUse it for shapes that change section, such as a wing or a transition duct. Put\neach profile on its own plane (see `create_reference_plane`). Needs: an open\npart with the profile sketches. Changes: adds a Loft feature. Returns: `loft`\nwith `name`, `profiles` and `guide_curves`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The loft. `profiles` (sketch names, in order) is required;\n`guide_curves`, `start_tangent`, `end_tangent` and `merge_result`\nhave defaults.","properties":{"end_tangent":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"End tangent condition"},"guide_curves":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"List of guide curve names or IDs"},"merge_result":{"default":true,"description":"Merge with existing geometry","type":"boolean"},"profiles":{"description":"List of profile names or IDs","items":{"type":"string"},"type":"array"},"start_tangent":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Start tangent condition"}},"required":["profiles"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_loft","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Loft"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Insert Component"},"description":"Insert a part or sub-assembly file into the active assembly at a position in mm.\n\nUse it after `create_assembly`, then position components with `add_mate`. The\nfile must contain solid geometry; an empty or missing file is an error. Needs:\nan open, active assembly and the file on disk. Changes: adds a component.\nReturns: `component` with its instance name (`component`, which `add_mate`\ntakes), `file_path`, `position` and the counts before and after.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The component. `file_path` is required; `x`, `y`, `z` (mm\nfrom the assembly origin) default to 0.","properties":{"file_path":{"description":"Absolute path to the .sldprt or .sldasm to insert","type":"string"},"x":{"default":0.0,"description":"X position in millimetres","type":"number"},"y":{"default":0.0,"description":"Y position in millimetres","type":"number"},"z":{"default":0.0,"description":"Z position in millimetres","type":"number"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"insert_component","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Insert Component"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Mate"},"description":"Mate two components of the active assembly: coincident, concentric, parallel, perpendicular, tangent, distance or angle.\n\nEach side is a named reference plane or axis (`entity_a`, e.g. \"Front Plane\"),\nor a face given by a point on it (`face_a`, mm, in that part's own coordinates):\na pin's round face and a hole's face make a concentric mate. Get instance names\nfrom `list_components`. Needs: an open assembly with both components. Changes:\nadds a mate and may move components. Returns: `mate` with `mate_type`,\n`components`, `entities`, `geometry_moved` and `moved_components`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The mate. `component_a` and `component_b` are required;\neach side takes `entity_*` or `face_*` (default \"Front Plane\");\n`mate_type` (coincident), `alignment`, `distance` (mm) and `angle`\n(degrees) have defaults.","properties":{"alignment":{"default":"aligned","description":"aligned, anti_aligned or closest","type":"string"},"angle":{"default":0.0,"description":"Angle in degrees, for an angle mate","type":"number"},"component_a":{"description":"First component instance name, as reported by list_components","type":"string"},"component_b":{"description":"Second component instance name","type":"string"},"distance":{"default":0.0,"description":"Distance in millimetres, for a distance mate","type":"number"},"entity_a":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Named reference plane or axis on the first component, e.g. 'Front Plane'; defaults to 'Front Plane' when face_a is not given either"},"entity_b":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Named reference plane or axis on the second component; defaults to 'Front Plane' when face_b is not given either"},"face_a":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"default":null,"description":"[x, y, z] in mm on a face of the first component, in that part's own coordinates (as it was modelled), instead of entity_a: e.g. a point on a pin's round face for a concentric mate"},"face_b":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"default":null,"description":"[x, y, z] in mm on a face of the second component, in its own part coordinates, instead of entity_b"},"mate_type":{"default":"coincident","description":"coincident, concentric, perpendicular, parallel, tangent, distance or angle","type":"string"}},"required":["component_a","component_b"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_mate","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Mate"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Set Component State"},"description":"Fix or float a component of the active assembly, or make a sub-assembly rigid or flexible.\n\nFloat a part so mates can position it (the first part inserted is fixed); fix\none to hold it still. Make a sub-assembly flexible so its own mates move in\nthis assembly (a crank whose knob turns). Only what you pass changes: the\ncomponent's suppression, visibility and configuration are kept. Needs: an\nopen assembly. Changes: the component's fixed or solving state. Returns:\n`state` with `component`, `before` and `after` (`fixed`, `flexible` and the\nproperties kept).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The component and what to change: `fixed`, `flexible` or\nboth.","properties":{"component":{"description":"Component instance name, as reported by list_components","type":"string"},"fixed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"true fixes the component in place; false floats it so mates can move it; leave it out to keep it as it is"},"flexible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"For a sub-assembly: true lets its own mates move inside this assembly (a crank that turns); false makes it rigid; leave it out to keep it as it is"}},"required":["component"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"set_component_state","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Set Component State"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"List Components"},"description":"List the top-level components of the active assembly by instance name, e.g. \"bracket-1\".\n\nUse it before `add_mate`, which takes these names. Needs: an open, active\nassembly. Read-only. Returns: `components` (instance names).","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"list_components","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Components"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Delete Feature"},"description":"Delete a feature or sketch from the active model, along with the features that depend on it.\n\nAsk the user before you call it: deleting a sketch also deletes every feature\nbuilt from it (a cut, a boss), and deleting a feature deletes everything that\ndepends on it. Use `suppress_feature` instead when you might want it back. Find\nnames and dependents with `list_features`. Needs: an open part or assembly.\nChanges: removes the feature and its dependents (`undo` can restore them).\nReturns: `data` with `deleted`, `removed_features` (every feature that went,\ndependents included), `features_before` and `features_after`; the message names\nthe dependents, and a `warning` says so whenever more than the named feature\nwent: tell the user.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The feature. `name` (e.g. \"Fillet1\") is required.","properties":{"name":{"description":"Feature or sketch name, e.g. 'Boss-Extrude1' or 'Sketch1'","type":"string"}},"required":["name"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"delete_feature","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Delete Feature"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Suppress or Unsuppress Feature"},"description":"Suppress or unsuppress a feature of the active model; suppressed features stay in the tree but are not built.\n\nUse it to turn off a feature that breaks the rebuild without deleting it. Needs:\nan open part or assembly. Changes: the feature's suppression state, and its\nchildren's. Returns: `data` with `feature`, `requested`, `suppressed` (read\nback; null when unreadable) and `was_suppressed`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The feature. `name` is required; `suppress` defaults to on\n(pass false to unsuppress).","properties":{"name":{"description":"Feature name, e.g. 'Fillet1'","type":"string"},"suppress":{"default":true,"description":"True to suppress, False to unsuppress","type":"boolean"}},"required":["name"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"suppress_feature","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Suppress or Unsuppress Feature"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Rename Feature"},"description":"Rename a feature in the active model's feature tree.\n\nUse it to give features meaningful names (e.g. \"MountingHoles\"). The new name is\nread back: a name another feature already uses is an error. Renaming to the\ncurrent name succeeds with no change. Needs: an open part or assembly. Changes:\nthe feature's name. Returns: `data` with `old_name`, `new_name`, `renamed` and,\nwhen unchanged, `reason`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The rename. `old_name` and `new_name` are required.","properties":{"new_name":{"description":"New feature name, e.g. 'MountingEdgeFillet'","type":"string"},"old_name":{"description":"Current feature name, e.g. 'Fillet1'","type":"string"}},"required":["old_name","new_name"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"rename_feature","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Rename Feature"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Select Feature"},"description":"Select a feature, sketch, plane or component by name in the active document.\n\nUse it to set up a selection that the next SolidWorks operation acts on.\n`append` adds to the selection instead of replacing it. A name that can't be\nselected is an error. Needs: an open document. Changes: the selection only.\nReturns: `data` with `selected_name` and `selection_count`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The selection. `feature_name` is required; `append` is off.","properties":{"append":{"default":false,"description":"Add to the current selection instead of replacing it","type":"boolean"},"feature_name":{"description":"Feature, sketch, plane or component name, e.g. 'Boss-Extrude1', 'Sketch1', 'Front Plane' (an '@Part1' suffix is ok)","type":"string"}},"required":["feature_name"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"select_feature","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Select Feature"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Select Face Edges"},"description":"Select every edge of one face of the active part, ready for `add_fillet` or `add_chamfer` with no edge names.\n\nPick the face with one of `point` (a point on it, mm), `side` (top, bottom,\nfront, back, right, left or +X..-Z; the furthest flat face that way) or `plane`\n(the face lying on that plane). `edge_type` narrows to linear or circular edges\n(hole rims). Needs: an open part. Changes: the selection only. Returns: `data`\nwith `face`, `edges`, `selected_edges` and `selection_count`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The face. Give exactly one of `point`, `side` or `plane`;\n`edge_type` (all) and `append` (off) have defaults.","properties":{"append":{"default":false,"description":"Add to the current selection instead of replacing it","type":"boolean"},"edge_type":{"default":"all","description":"'all', 'linear' or 'circular' (e.g. hole rims)","type":"string"},"plane":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Reference plane name, e.g. 'Front Plane'; picks the body face(s) lying on it"},"point":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"default":null,"description":"A point on the face, [x, y, z] in mm"},"side":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Outward direction of the face: +X/-X/+Y/-Y/+Z/-Z or right/left/top/bottom/front/back (top=+Y, front=+Z, right=+X, as in SolidWorks' default views); picks the furthest flat face that way"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"select_face_edges","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Select Face Edges"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Rebuild Model"},"description":"Rebuild the active model and report each feature that fails, with the reason and a fix.\n\nUse it after `set_dimension` or other edits to confirm the model is sound.\nFailing features make the call an error whose `data.errors` names each one, its\nSolidWorks error, what it depends on and a `hint`; warnings alone still succeed.\nNeeds: an open part or assembly. Changes: rebuilds the model. Returns: `data`\nwith `rebuilt`, `errors`, `error_count`, `warning_count` and `summary`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for forcing a model rebuild.\n\nAttributes:\n    top_level_only (bool): Rebuild only the top level of an assembly.","properties":{"top_level_only":{"default":false,"description":"Rebuild only the top level of an assembly (default: full rebuild including sub-assemblies)","type":"boolean"}},"type":"object"},{"type":"null"}],"default":null,"description":"Nothing is required: `top_level_only` is off (a full\nrebuild)."}},"type":"object"},"name":"rebuild_model","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Rebuild Model"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Undo"},"description":"Undo the last operations in the active model (Edit > Undo).\n\nUse it to step back after a feature went wrong. SolidWorks accepts an undo with\nnothing to undo, so the reply says whether the feature tree changed. Needs: an\nopen document. Changes: reverts the last `count` operations. Returns: `data`\nwith `requested_steps`, `features_before`, `features_after` and `tree_changed`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for undoing model operations.\n\nAttributes:\n    count (int): Number of operations to undo.","properties":{"count":{"default":1,"description":"Number of operations to undo","minimum":1,"type":"integer"}},"type":"object"},{"type":"null"}],"default":null,"description":"Nothing is required: `count` defaults to 1."}},"type":"object"},"name":"undo","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Undo"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Reference Plane"},"description":"Add a reference plane offset from, at an angle to, or on a plane or flat face.\n\nUse it to sketch somewhere other than the three default planes: pass the new\nplane's name to `create_sketch`. Offset: `reference` and a non-zero `offset`\n(mm). Angle: `reference`, `angle` (degrees) and `axis`, an axis lying in the\nreference (make one with `create_axis`). Face: `face_point`, a point on a flat\nface (sloped or not), with an `offset` or 0 for a plane on the face. Needs: an\nopen part. Changes: adds a plane feature. Returns: `plane` with `name` and the\ninputs used.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The plane. Exactly one of `reference` and `face_point`;\nthen `offset`, or `angle` with `axis`; `flip` is off.","properties":{"angle":{"default":0.0,"description":"Angle in degrees between the new plane and the reference, about axis","type":"number"},"axis":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Name of the axis the plane rotates about, e.g. 'Axis1' from create_axis; required with angle"},"face_point":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"default":null,"description":"[x, y, z] in mm on a flat face of the part (sloped or not), to use that face as the reference instead of a named plane"},"flip":{"default":false,"description":"Reverse the offset side or the angle direction","type":"boolean"},"offset":{"default":0.0,"description":"Offset distance in millimetres. Non-zero for a named plane; 0 with face_point puts the plane on the face","type":"number"},"reference":{"default":"","description":"Name of the reference plane, e.g. 'Front Plane' or 'Plane1'; leave it out when giving face_point","type":"string"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_reference_plane","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Reference Plane"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Reference Axis"},"description":"Add a reference axis along the model's x, y or z direction, through the origin.\n\nUse it before `pattern_circular`, which rotates features about an axis. It is\nbuilt where two default planes meet. Needs: an open part. Changes: adds an axis\nfeature. Returns: `axis` with `name` (e.g. \"Axis1\", for\n`create_reference_plane`'s `axis`), `reference`, `planes` and the feature counts.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The axis. `reference` (\"x\", \"y\" or \"z\") is required.","properties":{"reference":{"description":"Principal axis direction: 'x', 'y' or 'z' (case-insensitive; a leading +/- is stripped)","type":"string"}},"required":["reference"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_axis","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Reference Axis"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Reference Point"},"description":"Add a reference point on an edge (at a distance or percentage along it) or at the centre of a face.\n\nUse it to mark a position for a later feature or measurement. Pick the edge or\nface with a point on it in mm. Needs: an open part with that edge or face.\nChanges: adds a point feature. Returns: `point` with `mode`, `at_mm`,\n`distance_mm` or `percent`, and the feature counts.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The point. `mode` (along_curve or face_center) and `x`,\n`y`, `z` (mm) are required; for along_curve give one of `distance`\n(mm) or `percent`.","properties":{"distance":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"along_curve only: offset from the edge start in mm (give exactly one of distance or percent)"},"mode":{"description":"'along_curve' (a point on an edge) or 'face_center' (the centroid of a face)","type":"string"},"percent":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"along_curve only: position as 0-100 of the edge length"},"x":{"description":"X of a point on the target edge/face, in mm","type":"number"},"y":{"description":"Y of a point on the target edge/face, in mm","type":"number"},"z":{"description":"Z of a point on the target edge/face, in mm","type":"number"}},"required":["mode","x","y","z"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_reference_point","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Reference Point"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Mirror Feature"},"description":"Mirror solid bodies or features of the active part about a plane.\n\nUse it for symmetric parts: model one half, then mirror. Body mirroring (the\ndefault) is what works for lofts and sweeps; to mirror a cut, name the cut and\nset `mirror_bodies` off. It fails when the volume doesn't change, which means\nnothing was mirrored. Needs: an open part with the named bodies or features.\nChanges: adds a Mirror feature. Returns: `mirror` with `name`, `mirrored`,\n`mirror_plane`, `merge`, `mirror_bodies`, and `volume_before`,\n`volume_after` and `volume_change` (mm³, negative for a cut).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The mirror. `features` (at least one name) and\n`mirror_plane` (e.g. \"Right Plane\") are required; `merge` and\n`mirror_bodies` are on.","properties":{"features":{"description":"Body or feature names to mirror. At least one required. For a body mirror these are the names as they appear under Solid Bodies, which for a lofted wing is the loft's own name","items":{"type":"string"},"type":"array"},"merge":{"default":true,"description":"Merge the mirrored result with the original body","type":"boolean"},"mirror_bodies":{"default":true,"description":"Mirror whole solid bodies rather than individual features. Defaults to True, which is what works for anything built from a loft or sweep - a feature mirror only resolves when the feature's own sketch sits on the mirror plane","type":"boolean"},"mirror_plane":{"description":"Plane name to mirror about, e.g. 'Right Plane'","type":"string"}},"required":["mirror_plane"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"mirror_feature","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Mirror Feature"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Circular Pattern"},"description":"Repeat features of the active part around an axis, e.g. a ring of bosses or ribs.\n\nCreate the axis first with `create_axis`. Bosses and cuts both work (a ring of\nholes is a patterned cut). It fails when the volume doesn't change, which\nmeans no instance landed on the part. Needs: an open part with the named\nfeatures and axis. Changes: adds a circular pattern feature. Returns:\n`pattern` with `name`, `patterned`, `axis`, `count`, `angle`,\n`equal_spacing`, and `volume_before`, `volume_after` and `volume_change`\n(mm³, negative for cuts).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The pattern. `features` (at least one), `axis` and `count`\n(2 or more, the original included) are required; `angle` (360) and\n`equal_spacing` (on) have defaults.","properties":{"angle":{"default":360.0,"description":"Total angle in degrees to spread the instances over. Defaults to a full 360","type":"number"},"axis":{"description":"Name of the axis to rotate about, e.g. 'Axis1' as created by create_axis","type":"string"},"count":{"description":"Total number of instances including the original. Must be at least 2 - a pattern of one is just the original feature","type":"integer"},"equal_spacing":{"default":true,"description":"Space instances evenly across 'angle'","type":"boolean"},"features":{"description":"Names of the features to pattern. At least one required.","items":{"type":"string"},"type":"array"}},"required":["axis","count"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"pattern_circular","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Circular Pattern"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Sketch"},"description":"Open a new sketch on a plane of the active part, ready for lines, circles and other sketch entities.\n\nUse it first in every feature: sketch, draw, `exit_sketch`, then\n`create_extrusion` or `create_cut_extrude`. Planes: Front, Top, Right (or XY,\nXZ, YZ), or a plane made by `create_reference_plane`. Coordinates in the sketch\nare mm from the origin. Needs: an open part. Changes: adds a sketch and opens it\nfor editing; give `sketch_name` and `exit_sketch` names it that when it closes\nit (SolidWorks won't rename an open sketch). Returns: `sketch` with `name` (the\nname in the feature tree now) and `plane`, plus `name_on_exit` when you gave\n`sketch_name`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The sketch. `plane` is required; `sketch_name` names it.","properties":{"plane":{"description":"Sketch plane name (e.g., 'Top', 'Front', 'Right', 'XY', 'XZ', 'YZ')","type":"string"},"sketch_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Name to give the sketch in the feature tree, applied when exit_sketch closes it; omit to keep SolidWorks' own (Sketch1, Sketch2, ...)"}},"required":["plane"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_sketch","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Sketch"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Sketch Line"},"description":"Draw a straight line between two points in the open sketch, in mm.\n\nUse it for profiles made of straight edges; for a closed box, use\n`add_rectangle`, and for a revolve axis, `add_centerline`. Needs: an open sketch\n(`create_sketch`). Changes: adds a line (a construction line with\n`construction`). Returns: `line` with `id`, `start`, `end` and `length`. Its\n`id` is what `add_sketch_constraint` and `add_sketch_dimension` take.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The line. Give `x1`, `y1`, `x2`, `y2` (mm; or `start_x`,\n`start_y`, `end_x`, `end_y`); `construction` is off.","properties":{"construction":{"default":false,"description":"Construction geometry flag","type":"boolean"},"end_x":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"End point X alias"},"end_y":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"End point Y alias"},"start_x":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Start point X alias"},"start_y":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Start point Y alias"},"x1":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Start point X coordinate in mm"},"x2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"End point X coordinate in mm"},"y1":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Start point Y coordinate in mm"},"y2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"End point Y coordinate in mm"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_line","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Sketch Line"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Sketch Circle"},"description":"Draw a circle in the open sketch from its centre and radius, in mm.\n\nUse it for holes and round bosses. Needs: an open sketch (`create_sketch`).\nChanges: adds a circle (a construction circle with `construction`). Returns:\n`circle` with `id`, `center`, `radius` and `diameter`. Its `id` is what\n`add_sketch_constraint` and `add_sketch_dimension` take.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The circle. `center_x`, `center_y` and `radius` (mm) are\nrequired; `construction` is off.","properties":{"center_x":{"description":"Circle center X coordinate in mm","type":"number"},"center_y":{"description":"Circle center Y coordinate in mm","type":"number"},"construction":{"default":false,"description":"Construction geometry flag","type":"boolean"},"radius":{"description":"Circle radius in mm","type":"number"}},"required":["center_x","center_y","radius"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_circle","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Sketch Circle"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Sketch Rectangle"},"description":"Draw a closed, axis-aligned rectangle in the open sketch from two opposite corners, in mm.\n\nUse it for blocks, plates and rectangular cut-outs. Needs: an open sketch\n(`create_sketch`). Changes: adds four connected lines. Returns: `rectangle` with\n`id`, `corner1`, `corner2`, `width`, `height` and `area`. Its `id` is what\n`add_sketch_constraint` and `add_sketch_dimension` take.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The rectangle. Give `x1`, `y1`, `x2`, `y2` (mm; or\n`corner1_x` ... `corner2_y`); `construction` is off.","properties":{"construction":{"default":false,"description":"Construction geometry flag","type":"boolean"},"corner1_x":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Corner 1 X alias"},"corner1_y":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Corner 1 Y alias"},"corner2_x":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Corner 2 X alias"},"corner2_y":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Corner 2 Y alias"},"x1":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"First corner X coordinate in mm"},"x2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Opposite corner X coordinate in mm"},"y1":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"First corner Y coordinate in mm"},"y2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Opposite corner Y coordinate in mm"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_rectangle","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Sketch Rectangle"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Exit Sketch"},"description":"Close the open sketch so a feature can use it.\n\nCall it after drawing and before `create_extrusion`, `create_revolve` or\n`create_cut_extrude`; those use the sketch closed last. Needs: an open sketch.\nChanges: leaves sketch editing; the sketch stays in the feature tree, renamed\nto the `sketch_name` `create_sketch` was given. Returns: a message, plus, after\na `sketch_name`, `sketch` with `name` (the name in the feature tree, which later\ntools take as `sketch_name`) and a `warning` when the name couldn't be given\n(another feature has it).","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"exit_sketch","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Exit Sketch"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Check Sketch Fully Defined"},"description":"Check whether a sketch is fully defined, under-defined or over-defined.\n\nUse it after adding relations and dimensions, to see if the sketch still has\nfree geometry. Needs: an open part with the sketch. Read-only. Returns: `sketch`\nwith `sketch_name`, `is_fully_defined` (null when unknown), `definition_state`\nand where the answer came from (`source`).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for checking sketch definition status.\n\nAttributes:\n    sketch_name (str | None): Optional sketch name to inspect.","properties":{"sketch_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional sketch name. If omitted, checks the active or last sketch."}},"type":"object"},{"type":"null"}],"default":null,"description":"Nothing is required: give `sketch_name`, or omit it for the\nopen or last sketch."}},"type":"object"},"name":"check_sketch_fully_defined","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Check Sketch Fully Defined"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Sketch Arc"},"description":"Draw a circular arc in the open sketch from its centre, start point and end point, in mm.\n\nUse it for rounded ends and curved edges of a profile. Needs: an open sketch\n(`create_sketch`). Changes: adds an arc. Returns: `arc` with `id`, `center`,\n`start_point` and `end_point`. Its `id` is what `add_sketch_constraint` and\n`add_sketch_dimension` take.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The arc. `center_x`, `center_y`, `start_x`, `start_y`,\n`end_x` and `end_y` (mm) are all required.","properties":{"center_x":{"description":"Arc center X coordinate in mm","type":"number"},"center_y":{"description":"Arc center Y coordinate in mm","type":"number"},"end_x":{"description":"Arc end point X coordinate in mm","type":"number"},"end_y":{"description":"Arc end point Y coordinate in mm","type":"number"},"start_x":{"description":"Arc start point X coordinate in mm","type":"number"},"start_y":{"description":"Arc start point Y coordinate in mm","type":"number"}},"required":["center_x","center_y","start_x","start_y","end_x","end_y"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_arc","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Sketch Arc"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Sketch Spline"},"description":"Draw a smooth spline through a list of points in the open sketch, in mm.\n\nUse it for free-form curves such as an aerofoil or a handle profile. Needs: an\nopen sketch (`create_sketch`). Changes: adds a spline. Returns: `spline` with\n`id`, `control_points` and `point_count`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The spline. `points` (a list of {\"x\", \"y\"} in mm) is\nrequired.","properties":{"points":{"description":"List of spline control points with x, y coordinates","items":{"additionalProperties":{"type":"number"},"type":"object"},"type":"array"}},"required":["points"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_spline","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Sketch Spline"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Sketch Centerline"},"description":"Draw a centreline (construction line) in the open sketch, in mm.\n\nUse it as the axis for `create_revolve`, or as the line for `sketch_mirror` and\nsymmetric relations. It is never part of the profile. Needs: an open sketch\n(`create_sketch`). Changes: adds a centreline. Returns: `centerline` with `id`,\n`start_point` and `end_point`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The line. Give `x1`, `y1`, `x2`, `y2` (mm; or `start_x`,\n`start_y`, `end_x`, `end_y`); `construction` is not used.","properties":{"construction":{"default":false,"description":"Construction geometry flag","type":"boolean"},"end_x":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"End point X alias"},"end_y":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"End point Y alias"},"start_x":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Start point X alias"},"start_y":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Start point Y alias"},"x1":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Start point X coordinate in mm"},"x2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"End point X coordinate in mm"},"y1":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Start point Y coordinate in mm"},"y2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"End point Y coordinate in mm"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_centerline","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Sketch Centerline"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Sketch Polygon"},"description":"Draw a regular polygon (e.g. a hexagon) in the open sketch from its centre, radius and number of sides.\n\nUse it for nuts, hex bosses and pockets. Needs: an open sketch\n(`create_sketch`). Changes: adds the polygon's sides. Returns: `polygon` with\n`id`, `center`, `radius` and `sides`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping: `center_x`, `center_y` (mm, default 0), `radius`\n(mm, circumscribed, default 10) and `sides` (default 6).","type":"object"}},"required":["input_data"],"type":"object"},"name":"add_polygon","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Sketch Polygon"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Sketch Ellipse"},"description":"Draw an ellipse in the open sketch from its centre and axis lengths, in mm.\n\nUse it for oval holes and bosses. Needs: an open sketch (`create_sketch`).\nChanges: adds an ellipse. Returns: `ellipse` with `id`, `center`, `major_axis`\nand `minor_axis`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping: `center_x`, `center_y` (mm, default 0),\n`major_axis` (default 20) and `minor_axis` (default 10), in mm.","type":"object"}},"required":["input_data"],"type":"object"},"name":"add_ellipse","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Sketch Ellipse"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Sketch Relation"},"description":"Add a geometric relation between sketch entities: horizontal, vertical, parallel, perpendicular, tangent, coincident, concentric, equal, symmetric, collinear or fix.\n\nUse it to hold design intent, then check with `check_sketch_fully_defined`.\nEntities are the `id`s the add_* tools returned. Needs: an open sketch\n(`create_sketch`). Changes: adds the relation. Returns: `constraint` with `id`,\n`type` and the entities.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The relation. `entity1` and `relation_type` are required;\n`entity2` when the relation needs two, and `entity3` (the\ncentreline) only for symmetric.","properties":{"entity1":{"description":"First entity name or ID","type":"string"},"entity2":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Second entity name or ID (if required)"},"entity3":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Third entity ID. Required for 'symmetric' (the centerline of symmetry); must be null for all other relations."},"relation_type":{"description":"Relation type (parallel, perpendicular, tangent, coincident, etc.)","type":"string"}},"required":["entity1","relation_type"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_sketch_constraint","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Sketch Relation"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Sketch Dimension"},"description":"Add a driving dimension to sketch entities: linear, angular, radial or diameter.\n\nUse it to fix a size so the sketch is fully defined and can be changed later\nwith `set_dimension`. Entities are the `id`s the add_* tools returned; two\nconnected lines for angular, a circle or arc for radial or diameter. No dialog\nopens. Needs: an open sketch (`create_sketch`). Changes: adds the dimension and\nresizes the geometry to `value`. Returns: `dimension` with `id`, `type`, `value`\nand the entities.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The dimension. `entity1` and `value` (mm, or degrees for\nangular) are required; `entity2` and `dimension_type` (linear) have\ndefaults.","properties":{"dimension_type":{"default":"linear","description":"Dimension type (linear, radial, angular, etc.)","type":"string"},"entity1":{"description":"First entity name or ID","type":"string"},"entity2":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Second entity name or ID (for distance dimensions)"},"value":{"description":"Dimension value in mm or degrees","type":"number"}},"required":["entity1","value"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_sketch_dimension","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Sketch Dimension"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Sketch Linear Pattern"},"description":"Repeat sketch entities in a straight line at a fixed spacing.\n\nUse it for rows of holes or slots before one cut. Needs: an open sketch\n(`create_sketch`). Changes: adds copies of the entities. Returns: `pattern` with\n`id`, `entities`, `count`, `spacing` and `direction`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping: `entities` (ids to repeat), `direction_x`/\n`direction_y` (default 1, 0), `spacing` (mm, default 10) and\n`count` (instances, default 3).","type":"object"}},"required":["input_data"],"type":"object"},"name":"sketch_linear_pattern","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Sketch Linear Pattern"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Sketch Circular Pattern"},"description":"Repeat sketch entities around the sketch origin, e.g. a bolt circle.\n\nThe centre is always the sketch origin, so draw the first entity at the radius\nyou want from it. Then cut once with `create_cut_extrude`. Needs: an open sketch\n(`create_sketch`). Changes: adds copies of the entities. Returns: `pattern` with\n`id`, `entities`, `count` and `angle`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping: `entities` (ids to repeat), `count` (instances,\ndefault 6) and `angle` (degrees spread over, default 360).","type":"object"}},"required":["input_data"],"type":"object"},"name":"sketch_circular_pattern","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Sketch Circular Pattern"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Mirror Sketch Entities"},"description":"Mirror sketch entities about a centreline in the open sketch.\n\nUse it for symmetric profiles: draw one half, add a centreline with\n`add_centerline`, then mirror. Needs: an open sketch (`create_sketch`). Changes:\nadds mirrored copies. Returns: `mirror` with `id`, `entities` and `mirror_line`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping: `entities` (ids to mirror) and `mirror_line`\n(the centreline's id).","type":"object"}},"required":["input_data"],"type":"object"},"name":"sketch_mirror","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Mirror Sketch Entities"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Offset Sketch Entities"},"description":"Offset sketch entities by a distance in mm, outward or inward, e.g. for a wall or a clearance.\n\nNeeds: an open sketch (`create_sketch`). Changes: adds the offset entities.\nReturns: `offset` with `id`, `entities`, `distance` and `direction` (outward or\ninward).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping: `entities` (ids to offset), `offset_distance`\n(mm, default 5) and `reverse_direction` (inward; default off).","type":"object"}},"required":["input_data"],"type":"object"},"name":"sketch_offset","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Offset Sketch Entities"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Tutorial: Hole Sketch"},"description":"Demonstrate the sketch steps: draw a 5 mm circle at the origin on the Top plane and close the sketch.\n\nIt is a fixed example; for a real hole, use `create_sketch`, `add_circle`,\n`exit_sketch` and `create_cut_extrude`. Needs: an open part. Changes: adds a\nsketch with one circle. Returns: `steps_completed`, `next_step` (cut the hole\nwith `create_cut_extrude`) and `suggested_cut`, that call's input.","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"sketch_tutorial_simple_hole","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Tutorial: Hole Sketch"},{"_meta":{"fastmcp":{"tags":["level:planned","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Tutorial: Simple Hole"},"description":"Draw a circle on a plane and cut it as a hole, as one worked example.\n\nNot available yet on real SolidWorks: its cut step has no COM implementation,\nso the call draws and closes the sketch, then fails. It is planned for a future\nrelease. Use `create_sketch`, `add_circle`, `exit_sketch` and\n`create_cut_extrude` instead. Needs: an open part with a solid body.\nChanges: adds a sketch (and, with the mock adapter, a cut). Returns: `tutorial`\nwith `plane`, `diameter`, `depth` and `steps`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The hole. `plane`, `center_x`, `center_y` and `diameter`\n(mm) are required; `depth` defaults to the diameter.","properties":{"center_x":{"description":"Hole center X coordinate in mm","type":"number"},"center_y":{"description":"Hole center Y coordinate in mm","type":"number"},"depth":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Hole depth in mm (None for through hole)"},"diameter":{"description":"Hole diameter in mm","type":"number"},"plane":{"description":"Sketch plane for the hole","type":"string"}},"required":["plane","center_x","center_y","diameter"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"tutorial_simple_hole","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Tutorial: Simple Hole"},{"_meta":{"fastmcp":{"tags":["drawing","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Drawing View"},"description":"Place one named view of a part or assembly on the active drawing sheet.\n\nUse it to add views one at a time; for the three standard views in one call, use\n`create_technical_drawing`, and for a whole drawing from a model, use\n`generate_drawing_package`. `add_drawing_view` does the same as this tool.\nNeeds: an open, active drawing and the model file on disk. Changes: adds a view\nto the sheet. Returns: `data` with the view's `name`, `orientation`, `position`,\n`scale` and the view counts before and after.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The view. `model_path` and `view_type` (front, back, left, right, top, bottom, isometric (iso), trimetric, dimetric or current) are\nrequired; `position_x`/`position_y` (mm on the sheet) and `scale`\nhave defaults.","properties":{"model_path":{"description":"Path to the SolidWorks model file","type":"string"},"orientation":{"default":"front","description":"View orientation (front, top, right, isometric)","type":"string"},"position_x":{"default":100.0,"description":"X position in drawing (mm)","type":"number"},"position_y":{"default":200.0,"description":"Y position in drawing (mm)","type":"number"},"scale":{"default":1.0,"description":"View scale factor","type":"number"},"view_type":{"description":"Type of view (orthographic, isometric, section, detail)","type":"string"}},"required":["model_path","view_type"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_drawing_view","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Drawing View"},{"_meta":{"fastmcp":{"tags":["drawing","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Drawing Dimension"},"description":"Add one dimension between drawing entities at a position on the sheet.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To bring the\nmodel's own dimensions into a drawing today, use `insert_model_dimensions`.\nChanges: once available, adds a dimension to the drawing. Returns: once\navailable, the dimension under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The dimension. `dimension_type`, `entity1`, `position_x`\nand `position_y` are required; `entity2` and `precision` have\ndefaults.","properties":{"dimension_type":{"description":"Type of dimension (linear, radial, angular, diameter)","type":"string"},"entity1":{"description":"First entity to dimension (edge, face, point)","type":"string"},"entity2":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Second entity for linear/angular dimensions"},"position_x":{"description":"X position for dimension text","type":"number"},"position_y":{"description":"Y position for dimension text","type":"number"},"precision":{"default":2,"description":"Number of decimal places","type":"integer"}},"required":["dimension_type","entity1","position_x","position_y"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_dimension","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Drawing Dimension"},{"_meta":{"fastmcp":{"tags":["drawing","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Drawing Note"},"description":"Place a text note on the active drawing sheet at a position in millimetres.\n\nUse it for general notes such as material or finish. For a title block, use\n`generate_drawing_package`, which fills one. Needs: an open, active drawing.\nChanges: adds a note to the sheet. Returns: `data` with `text`, `position`,\n`positioned` (whether the position was applied) and `font_size_points`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The note. `text`, `position_x` and `position_y` (mm from\nthe sheet's lower-left corner) are required; `font_size` (points)\nhas a default.","properties":{"font_size":{"default":12.0,"description":"Font size in points","type":"number"},"leader_attachment":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Entity to attach leader line to"},"position_x":{"description":"X position for note","type":"number"},"position_y":{"description":"Y position for note","type":"number"},"text":{"description":"Note text content","type":"string"}},"required":["text","position_x","position_y"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_note","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Drawing Note"},{"_meta":{"fastmcp":{"tags":["drawing","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Section View"},"description":"Cut a section view along a line across a drawing view.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Use\nSolidWorks directly (Insert > Drawing View > Section). Changes: once available,\nadds a section view. Returns: once available, the view under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The section. `section_line_start`, `section_line_end`,\n`view_position_x` and `view_position_y` are required; `scale` and\n`label` have defaults.","properties":{"label":{"default":"A","description":"Section view label","type":"string"},"scale":{"default":1.0,"description":"Section view scale","type":"number"},"section_line_end":{"description":"End point of section line as [x, y]","items":{"type":"number"},"maxItems":2,"minItems":2,"type":"array"},"section_line_start":{"description":"Start point of section line as [x, y]","items":{"type":"number"},"maxItems":2,"minItems":2,"type":"array"},"view_position_x":{"description":"X position for section view","type":"number"},"view_position_y":{"description":"Y position for section view","type":"number"}},"required":["section_line_start","section_line_end","view_position_x","view_position_y"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_section_view","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Section View"},{"_meta":{"fastmcp":{"tags":["drawing","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Detail View"},"description":"Magnify a circular area of a drawing view as a detail view.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Use\nSolidWorks directly (Insert > Drawing View > Detail). Changes: once available,\nadds a detail view. Returns: once available, the view under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The detail. `center_x`, `center_y`, `radius`,\n`view_position_x` and `view_position_y` are required; `scale` and\n`label` have defaults.","properties":{"center_x":{"description":"X center of detail circle","type":"number"},"center_y":{"description":"Y center of detail circle","type":"number"},"label":{"default":"A","description":"Detail view label","type":"string"},"radius":{"description":"Radius of detail circle","type":"number"},"scale":{"default":2.0,"description":"Detail view scale","type":"number"},"view_position_x":{"description":"X position for detail view","type":"number"},"view_position_y":{"description":"Y position for detail view","type":"number"}},"required":["center_x","center_y","radius","view_position_x","view_position_y"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_detail_view","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Detail View"},{"_meta":{"fastmcp":{"tags":["drawing","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Update Sheet Format"},"description":"Change the active drawing's sheet format file and title-block fields.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release.\n`generate_drawing_package` sets the sheet format and fills the title block when\nit creates a drawing. Changes: once available, replaces the sheet format.\nReturns: once available, the new format under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The format. `format_file` is required; `sheet_size` and\nthe title-block fields have defaults.","properties":{"approved_by":{"default":"","description":"Approved by field","type":"string"},"checked_by":{"default":"","description":"Checked by field","type":"string"},"drawing_number":{"default":"","description":"Drawing number","type":"string"},"drawn_by":{"default":"","description":"Drawn by field","type":"string"},"format_file":{"description":"Path to sheet format template (.slddrt)","type":"string"},"sheet_size":{"default":"A3","description":"Sheet size (A4, A3, A2, A1, A0)","type":"string"},"title":{"default":"","description":"Drawing title","type":"string"}},"required":["format_file"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"update_sheet_format","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Update Sheet Format"},{"_meta":{"fastmcp":{"tags":["drawing","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Auto-Dimension Drawing View"},"description":"Dimension a drawing view automatically with SolidWorks' auto-dimension scheme.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Use\n`insert_model_dimensions` and then `arrange_dimensions` today. Changes: once\navailable, adds dimensions to the view. Returns: once available, the dimensions\nadded under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with the `view_name` to dimension.","type":"object"}},"required":["input_data"],"type":"object"},"name":"auto_dimension_view","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Auto-Dimension Drawing View"},{"_meta":{"fastmcp":{"tags":["drawing","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Check Drawing Standards"},"description":"Check the active drawing against a drafting standard and score it.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. SolidWorks\nDesign Checker does this today. Read-only. Returns: once available, the findings\nunder `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with the `standard` to check against.","type":"object"}},"required":["input_data"],"type":"object"},"name":"check_drawing_standards","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Check Drawing Standards"},{"_meta":{"fastmcp":{"tags":["drawing","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Technical Drawing"},"description":"Place a model's three standard views (front, top and side) on the active drawing sheet in one call.\n\nUse it to start a drawing's views quickly; for one view, use\n`create_drawing_view`, and to create and save a complete drawing from a model\nfile, use `generate_drawing_package`. Views are laid out in `projection`\n(third-angle by default). Needs: an open, active drawing and the model file on\ndisk. Changes: adds three views to the sheet. Returns: `data` with `views` (the\nnames added), `model_path`, `projection` and the view counts.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The model to draw. Give `model_file`; `projection` is\nthird_angle unless you pass first_angle.","properties":{"model_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Model file (.sldprt or .sldasm) to draw"},"projection":{"default":"third_angle","description":"Projection the views are laid out in","enum":["third_angle","first_angle"],"type":"string"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_technical_drawing","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Technical Drawing"},{"_meta":{"fastmcp":{"tags":["drawing","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Drawing View"},"description":"Place one named view of a part or assembly on the active drawing sheet; the same as `create_drawing_view`.\n\nPrefer `create_drawing_view`; this tool reaches the same code and is kept for\nexisting callers. It only adds views: an `operation` other than \"add\" is\nrefused. Needs: an open, active drawing and the model file on\ndisk. Changes: adds a view to the sheet. Returns: `data` with the view's `name`,\n`orientation`, `position`, `scale` and the view counts.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The view. Give `model_file` and `view_type` (front, back, left, right, top, bottom, isometric (iso), trimetric, dimetric or current);\n`position` ([x, y] mm on the sheet) and `scale` have defaults.","properties":{"drawing_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to drawing file"},"model_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Model file path"},"operation":{"default":"add","description":"Only \"add\" is supported; any other value is refused","type":"string"},"parameters":{"additionalProperties":true,"default":{},"description":"View parameters","type":"object"},"parent_view":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Parent view alias"},"position":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"default":null,"description":"View position"},"scale":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"View scale"},"view_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Name of the drawing view"},"view_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Type of view"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_drawing_view","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Drawing View"},{"_meta":{"fastmcp":{"tags":["drawing","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Drawing Annotation"},"description":"Add an annotation (a note, balloon or surface-finish symbol) to the active drawing.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. For a text\nnote today, use `add_note`; for GD&T, use `add_gtol` and `add_datum_tag`.\nChanges: once available, adds the annotation. Returns: once available, the\nannotation under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The annotation. `annotation_type` and `text` are required;\nthe position and font fields have defaults.","properties":{"annotation_type":{"description":"Type of annotation (note, balloon, surface_finish, etc.)","type":"string"},"approved_by":{"default":"","description":"Approved by field","type":"string"},"checked_by":{"default":"","description":"Checked by field","type":"string"},"drawing_number":{"default":"","description":"Drawing number","type":"string"},"drawing_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to drawing file"},"drawn_by":{"default":"","description":"Drawn by field","type":"string"},"font_size":{"default":12.0,"description":"Font size in points","type":"number"},"leader_attachment":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Entity to attach leader line to"},"position":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"default":null,"description":"Annotation position"},"position_x":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"X position for annotation"},"position_y":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Y position for annotation"},"text":{"description":"Annotation text content","type":"string"}},"required":["annotation_type","text"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_annotation","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Drawing Annotation"},{"_meta":{"fastmcp":{"tags":["drawing","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Update Title Block"},"description":"Fill in the active drawing's title-block fields (title, drawn by, drawing number and so on).\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release.\n`generate_drawing_package` fills the title block when it creates a drawing, and\n`set_custom_property` sets the properties a title block reads. Changes: once\navailable, rewrites the title-block fields. Returns: once available, the fields\nset under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping of title-block field names to values.","type":"object"}},"required":["input_data"],"type":"object"},"name":"update_title_block","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Update Title Block"},{"_meta":{"fastmcp":{"tags":["drawing","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"List Drawing Views"},"description":"List the views on the active drawing, by name.\n\nUse it before `auto_center_marks`, `insert_model_dimensions` or any tool that\ntakes a view name. Needs: an open, active drawing. Read-only. Returns: `views`\n(names, sheet formats left out) and `count`.","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"list_drawing_views","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Drawing Views"},{"_meta":{"fastmcp":{"tags":["drawing","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Centre Marks"},"description":"Insert centre marks on the holes, slots and (optionally) fillets of one drawing view.\n\nUse it after placing views, before dimensioning holes. Adding none is still a\nsuccess: the view may have no unmarked circular edges. Needs: an open drawing\nwith the named view (see `list_drawing_views`). Changes: adds centre-mark\nannotations to the view. Returns: `data` with `center_marks_added` and the\ncounts before and after.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The view. `view_name` is required; `mark_holes` and\n`mark_slots` default to on, `mark_fillets` to off.","properties":{"mark_fillets":{"default":false,"description":"Mark fillets","type":"boolean"},"mark_holes":{"default":true,"description":"Mark holes / bores","type":"boolean"},"mark_slots":{"default":true,"description":"Mark slots","type":"boolean"},"view_name":{"description":"Name of a view on the active drawing, e.g. 'Drawing View1'","type":"string"}},"required":["view_name"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"auto_center_marks","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Centre Marks"},{"_meta":{"fastmcp":{"tags":["drawing_analysis","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Analyze Drawing (All Checks)"},"description":"Run every drawing check (dimensions, views, annotations, standards) on a drawing file in one call.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To see what a\ndrawing holds today, use `list_drawing_views`. Read-only. Returns: once\navailable, the combined findings under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The drawing to check. `drawing_path` (.slddrw) is required;\n`analysis_type`, `analysis_depth`, `standards_check` and\n`generate_report` have defaults.","properties":{"analysis_depth":{"default":"Basic","description":"Analysis depth level","type":"string"},"analysis_type":{"default":"comprehensive","description":"Analysis type (comprehensive, dimensions, views, annotations)","type":"string"},"drawing_path":{"description":"Path to drawing file (.slddrw)","type":"string"},"generate_report":{"default":true,"description":"Generate detailed report","type":"boolean"},"standards_check":{"default":true,"description":"Check against drafting standards","type":"boolean"}},"required":["drawing_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"analyze_drawing_comprehensive","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Analyze Drawing (All Checks)"},{"_meta":{"fastmcp":{"tags":["drawing_analysis","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Analyze Drawing Dimensions"},"description":"Check a drawing's dimensions for consistent precision, tolerance formatting and completeness.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To bring the\nmodel's dimensions into a drawing, use `insert_model_dimensions`. Read-only.\nReturns: once available, the dimension findings under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The drawing to check. `drawing_path` is required; the\n`check_precision`, `check_tolerances` and `check_completeness`\nswitches default to on.","properties":{"check_completeness":{"default":true,"description":"Check dimension completeness","type":"boolean"},"check_precision":{"default":true,"description":"Check dimension precision consistency","type":"boolean"},"check_tolerances":{"default":true,"description":"Check tolerance formatting","type":"boolean"},"drawing_path":{"description":"Path to drawing file","type":"string"}},"required":["drawing_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"analyze_drawing_dimensions","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Analyze Drawing Dimensions"},{"_meta":{"fastmcp":{"tags":["drawing_analysis","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Analyze Drawing Annotations"},"description":"Check a drawing's notes, symbols and text styles for consistency.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Read-only.\nReturns: once available, the annotation findings under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The drawing to check. `drawing_path` is required; the\n`check_notes`, `check_symbols`, `check_text_styles` and\n`check_annotations` switches default to on.","properties":{"check_annotations":{"default":true,"description":"Alias used by tests","type":"boolean"},"check_notes":{"default":true,"description":"Check note formatting and content","type":"boolean"},"check_symbols":{"default":true,"description":"Check symbol usage and placement","type":"boolean"},"check_text_styles":{"default":true,"description":"Check text style consistency","type":"boolean"},"drawing_path":{"description":"Path to drawing file","type":"string"}},"required":["drawing_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"analyze_drawing_annotations","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Analyze Drawing Annotations"},{"_meta":{"fastmcp":{"tags":["drawing_analysis","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Check Drawing Compliance"},"description":"Check a drawing's title block and sheet format against a drafting standard (ISO, ANSI or DIN).\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. For the same\ncheck on the active drawing, `check_drawing_standards` is also not available\nyet. Read-only. Returns: once available, the compliance findings under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The drawing and standard. `drawing_path` is required;\n`standard` defaults to \"ISO\", and `check_title_block` and\n`check_sheet_format` default to on.","properties":{"check_sheet_format":{"default":true,"description":"Check sheet format compliance","type":"boolean"},"check_title_block":{"default":true,"description":"Check title block compliance","type":"boolean"},"drawing_path":{"description":"Path to drawing file","type":"string"},"standard":{"default":"ISO","description":"Standard to check against (ISO, ANSI, DIN)","type":"string"},"standards_to_check":{"description":"Standards list alias","items":{"type":"string"},"type":"array"}},"required":["drawing_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"check_drawing_compliance","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Check Drawing Compliance"},{"_meta":{"fastmcp":{"tags":["drawing_analysis","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Analyze Drawing Views"},"description":"Check how a drawing's views are chosen and laid out.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To list the\nviews on the active drawing today, use `list_drawing_views`. Read-only. Returns:\nonce available, the view findings under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with the `drawing_path` of the drawing to check.","type":"object"}},"required":["input_data"],"type":"object"},"name":"analyze_drawing_views","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Analyze Drawing Views"},{"_meta":{"fastmcp":{"tags":["drawing_analysis","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate Drawing Report"},"description":"Write a quality report that combines every drawing check.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Read-only.\nReturns: once available, the report under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with the `drawing_path` of the drawing to report\non.","type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_drawing_report","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate Drawing Report"},{"_meta":{"fastmcp":{"tags":["drawing_analysis","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Compare Drawing Files"},"description":"Compare two drawing files on disk: whether they are byte-identical, and how their sizes differ.\n\nUse it to tell whether a drawing changed between two saved versions. It does not\nopen SolidWorks, so it can't say which views, dimensions or notes differ.\nIdentical files mean nothing changed, but different files may not: SolidWorks\nwrites a different file each time it saves, even with no change. Needs:\nboth files on disk. Read-only. Returns: `comparison` with `file_1` and `file_2`\n(size, modified time, SHA-256), `identical` and `size_delta_bytes`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"Both full paths, `drawing_version_1` and\n`drawing_version_2`; both are required.","properties":{"drawing_version_1":{"description":"Full path to the first drawing file","minLength":1,"type":"string"},"drawing_version_2":{"description":"Full path to the second drawing file","minLength":1,"type":"string"}},"required":["drawing_version_1","drawing_version_2"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"compare_drawing_versions","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Compare Drawing Files"},{"_meta":{"fastmcp":{"tags":["drawing_analysis","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Validate Drawing Completeness"},"description":"Check that a drawing carries everything needed to manufacture the part.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Read-only.\nReturns: once available, the missing items under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with the `drawing_path` of the drawing to check.","type":"object"}},"required":["input_data"],"type":"object"},"name":"validate_drawing_completeness","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Validate Drawing Completeness"},{"_meta":{"fastmcp":{"tags":["drawing_automation","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Insert Model Dimensions"},"description":"Bring the model's dimensions into the active drawing's views, each dimension shown once.\n\nImports the model's \"marked for drawing\" dimensions view by view; a repeat in a\nlater view is deleted. Pictorial views (isometric, dimetric, trimetric) are\nskipped unless named. Falls back to SolidWorks AutoDimension only when nothing\ncould be imported. SolidWorks places them inside the views, so run\n`arrange_dimensions` next. Needs: an open, active drawing with views. Changes:\nadds dimensions to the views. Returns: `data` with per-view `views`\n(before/after counts, `duplicates_removed`), `dimensions_added`,\n`unique_dimensions`, `skipped_pictorial_views` and the `method` used. An unknown\nview is `not_found`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for importing model dimensions into drawing views.\n\nAttributes:\n    view_name (str | None): One view, or every view when omitted.\n    include_hole_wizard (bool): Also import Hole Wizard location dims.","properties":{"include_hole_wizard":{"default":true,"description":"Also import Hole Wizard location dimensions","type":"boolean"},"view_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"One view, e.g. 'Drawing View1'; every orthographic view when omitted. Find names with list_drawing_views."}},"type":"object"},{"type":"null"}],"default":null,"description":"Which views. Nothing is required: give `view_name` for one\nview, or omit it for every view; `include_hole_wizard` has a default."}},"type":"object"},"name":"insert_model_dimensions","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Insert Model Dimensions"},{"_meta":{"fastmcp":{"tags":["drawing_automation","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Arrange Drawing Dimensions"},"description":"Move drawing dimensions out of their views into tidy rows so nothing overlaps, then check the sheet.\n\nRows start 8 mm outside each view, 7 mm apart, shortest span nearest the view. A\ndimension with no room stays put and is listed in `unplaced`. The check reads\nback every text box and line: no text on text, no line through text or across a\nview, nothing off the sheet. Use it after `insert_model_dimensions`. Needs: an\nopen, active drawing. Changes: moves dimensions on the sheet. Returns: `data`\nwith `dimensions`, `moved`, `overlaps_before`, `overlaps_after` and `unplaced`.\nIf any overlap remains the call is an error whose `data` lists\n`remaining_overlaps`; try a smaller sheet scale (`set_sheet_scale`).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for arranging drawing dimensions.\n\nAttributes:\n    view_name (str | None): One view, or every view when omitted.","properties":{"view_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Only move this view's dimensions, e.g. 'Drawing View1'; every view when omitted. The overlap check always covers the whole sheet."}},"type":"object"},{"type":"null"}],"default":null,"description":"Which views. Nothing is required: give `view_name` for one\nview's dimensions, or omit it for every view."}},"type":"object"},"name":"arrange_dimensions","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Arrange Drawing Dimensions"},{"_meta":{"fastmcp":{"tags":["drawing_automation","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Insert BOM Table"},"description":"Insert a bill-of-materials table for an assembly view on the active drawing.\n\nUse it on an assembly drawing after placing a view of the assembly (see\n`list_drawing_views` for view names). Needs: an open, active drawing with a view\nof an assembly. Changes: adds a BOM table to the sheet. Returns: `data` with\n`view`, `bom_type`, `template` and `row_count`. An unknown view is `not_found`\nand the message lists the views.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for inserting a BOM table.\n\nAttributes:\n    view_name (str): Assembly drawing view the BOM is attached to.\n    template_path (str | None): .sldbomtbt template.\n    bom_type (str): BOM type.\n    x_mm (float | None): Table X position.\n    y_mm (float | None): Table Y position.","properties":{"bom_type":{"default":"top_level_only","description":"BOM structure","enum":["top_level_only","parts_only","indented"],"type":"string"},"template_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":".sldbomtbt template; bom-standard when omitted"},"view_name":{"description":"A view of an assembly, e.g. 'Drawing View1'","type":"string"},"x_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Table X on the sheet (mm); the sheet's BOM anchor when omitted"},"y_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Table Y on the sheet (mm)"}},"required":["view_name"],"type":"object"},{"type":"null"}],"default":null,"description":"The table. `view_name` (a view of an assembly) is\nrequired; `bom_type` (\"top_level_only\", \"parts_only\" or \"indented\"),\n`template_path` and the position `x_mm`/`y_mm` (the sheet's BOM\nanchor when omitted) have defaults."}},"type":"object"},"name":"insert_bom_table","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Insert BOM Table"},{"_meta":{"fastmcp":{"tags":["drawing_automation","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add GD&T Frame"},"description":"Add a GD&T feature control frame to the active drawing, e.g. position Ø0.2 (M) to A|B|C.\n\nAttach it to a drawing dimension (`dimension_view` + `dimension_name`; the frame\nsits under the dimension's text, the usual place for a hole's position\ntolerance), or place it at `x_mm`/`y_mm` with an optional leader to the edge at\n`attach_x_mm`/`attach_y_mm`. Add the datums it refers to with `add_datum_tag`.\nNeeds: an open, active drawing. Changes: adds the frame. Returns: `data`, the\nframe as read back from SolidWorks. No edge at the attach point is `not_found`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for a GD&T feature control frame.\n\nAttributes:\n    characteristic (str): The geometric characteristic.\n    tolerance (float): Tolerance value in drawing units.\n    diameter_zone (bool): Ø before the tolerance.\n    material_condition (str): none, mmc or lmc.\n    datums (list[str]): Datum letters, primary first.\n    x_mm (float): Frame position on the sheet.\n    y_mm (float): Frame position on the sheet.\n    attach_x_mm (float | None): A point on the edge the leader points to.\n    attach_y_mm (float | None): A point on the edge the leader points to.\n    dimension_view (str | None): View holding the dimension to attach to.\n    dimension_name (str | None): Model dimension to attach to.","properties":{"attach_x_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"X of a point on the edge the leader points to"},"attach_y_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Y of a point on the edge the leader points to"},"characteristic":{"description":"Geometric characteristic","enum":["position","flatness","perpendicularity","parallelism","profile_surface","concentricity"],"type":"string"},"datums":{"description":"Datum letters, primary first","items":{"type":"string"},"maxItems":3,"type":"array"},"diameter_zone":{"default":false,"description":"Cylindrical zone: Ø before the tolerance","type":"boolean"},"dimension_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Model dimension to attach to, e.g. 'D3@Sketch1' (see list_model_dimensions); the frame sits under its text"},"dimension_view":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"View holding the dimension to attach to"},"material_condition":{"default":"none","description":"Material condition modifier","enum":["none","mmc","lmc"],"type":"string"},"tolerance":{"description":"Tolerance value, e.g. 0.2","exclusiveMinimum":0,"type":"number"},"x_mm":{"default":0.0,"description":"Frame X on the sheet (mm); not used when on a dimension","type":"number"},"y_mm":{"default":0.0,"description":"Frame Y on the sheet (mm); not used when on a dimension","type":"number"}},"required":["characteristic","tolerance"],"type":"object"},{"type":"null"}],"default":null,"description":"The frame. `characteristic` (position, flatness,\nperpendicularity, parallelism, profile_surface or concentricity) and\n`tolerance` are required, plus either the dimension or the sheet\nposition; `diameter_zone`, `material_condition` (none, mmc, lmc) and\nup to three `datums` (primary first) have defaults."}},"type":"object"},"name":"add_gtol","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add GD&T Frame"},{"_meta":{"fastmcp":{"tags":["drawing_automation","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Datum Tag"},"description":"Add a datum feature symbol (A, B, C, ...) on an edge of the active drawing.\n\nUse it to mark the datums a feature control frame from `add_gtol` refers to.\nNeeds: an open, active drawing with an edge at the attach point. Changes: adds\nthe datum tag. Returns: `data` with the `label` as read back. No edge at the\npoint is `not_found`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for a datum feature symbol.\n\nAttributes:\n    label (str): The datum letter.\n    attach_x_mm (float): A point on the edge it marks.\n    attach_y_mm (float): A point on the edge it marks.\n    x_mm (float): Tag position on the sheet.\n    y_mm (float): Tag position on the sheet.","properties":{"attach_x_mm":{"description":"X of a point on the edge it marks (mm)","type":"number"},"attach_y_mm":{"description":"Y of a point on the edge it marks (mm)","type":"number"},"label":{"description":"Datum letter, e.g. 'A'","maxLength":1,"minLength":1,"type":"string"},"x_mm":{"description":"Tag X on the sheet (mm)","type":"number"},"y_mm":{"description":"Tag Y on the sheet (mm)","type":"number"}},"required":["label","attach_x_mm","attach_y_mm","x_mm","y_mm"],"type":"object"},{"type":"null"}],"default":null,"description":"The tag. `label` (one letter), `attach_x_mm`/`attach_y_mm`\n(a point on the edge it marks) and `x_mm`/`y_mm` (where the tag\ngoes) are all required, in mm on the sheet."}},"type":"object"},"name":"add_datum_tag","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Datum Tag"},{"_meta":{"fastmcp":{"tags":["drawing_automation","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Set Sheet Scale"},"description":"Set the active drawing sheet's scale, e.g. 1:2; views that use the sheet scale follow it.\n\nUse it when views are too large for the sheet, or when `arrange_dimensions`\nreports overlaps it can't clear. Needs: an open, active drawing. Changes: the\nsheet scale. Returns: `data` with the `sheet` name and the new `scale`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for the sheet scale.\n\nAttributes:\n    numerator (float): Scale numerator.\n    denominator (float): Scale denominator.","properties":{"denominator":{"description":"e.g. 2 for 1:2","exclusiveMinimum":0,"type":"number"},"numerator":{"description":"e.g. 1 for 1:2","exclusiveMinimum":0,"type":"number"}},"required":["numerator","denominator"],"type":"object"},{"type":"null"}],"default":null,"description":"The scale. `numerator` and `denominator` are required and\nmust be above zero, e.g. 1 and 2 for 1:2."}},"type":"object"},"name":"set_sheet_scale","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Set Sheet Scale"},{"_meta":{"fastmcp":{"tags":["drawing_automation","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Generate Drawing Package"},"description":"Create a complete A3 drawing of a part or assembly in one call, and save it with a PDF.\n\nIt opens a new drawing with an A3 ISO frame and fills the title block (title,\nnumber, material, weight, drawn by, date, revision). It places front, plan, side\nand isometric views at one standard scale, shows the model dimensions once in\ntidy rows, and adds view captions and a NOTES block. Then it checks nothing\noverlaps. Use it instead of the step-by-step drawing tools when you want the\nwhole drawing. Needs: the model file on disk. Changes: saves\n`<drawing_number>.SLDDRW` and a PDF, replacing files of those names, and by\ndefault writes Description, Material and Weight into the model and saves it\n(turn off with `write_model_properties`). Returns: `data` with `scale`, `views`,\n`dimensions`, `overlap_check`, `title_block`, `drawing_path`, `pdf_path` and\n`steps`. A remaining overlap makes the call an error carrying that data; for\nlong title-block text pass `title_block_text_height_mm` (e.g. 3).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for the standard A3 drawing generator.\n\nAttributes:\n    model_path (str): Part or assembly to draw.\n    output_dir (str | None): Folder for the .SLDDRW and PDF.\n    title (str | None): Title block TITLE (short).\n    subtitle (str | None): Sheet title.\n    drawing_number (str | None): DWG NO. and file name.\n    author (str): DRAWN name.\n    revision (str): Revision letter.\n    company (str): Company name field.\n    notes (list[str]): Extra note lines.\n    include_isometric (bool): Add the isometric view.\n    write_model_properties (bool): Write title-block properties into the model.\n    title_block_text_height_mm (float | None): Cap on DWG NO./TITLE text height.\n    include_bom (bool): Put a BOM above the isometric view (assemblies).","properties":{"author":{"default":"","description":"DRAWN name","type":"string"},"company":{"default":"","description":"Company name","type":"string"},"drawing_number":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"DWG NO., also the drawing file name, e.g. 'MP-RevA-01'"},"include_bom":{"default":false,"description":"Assemblies only: put a bill of materials in the top of the isometric view's cell, with the isometric fitted below it","type":"boolean"},"include_isometric":{"default":true,"description":"Add an isometric view","type":"boolean"},"model_path":{"description":"Full path to the .SLDPRT or .SLDASM","type":"string"},"notes":{"description":"Extra note lines (material, process, connections); 3-7 lines in total","items":{"type":"string"},"type":"array"},"output_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Where to save the drawing; the model's folder when omitted"},"revision":{"default":"A","description":"Revision letter","type":"string"},"subtitle":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Sheet title, e.g. 'Base support'"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short title, e.g. 'Mounting Plate - Rev A'; the file name when omitted"},"title_block_text_height_mm":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"null"}],"default":null,"description":"Largest text height (mm) for the title block's DWG NO. and TITLE, e.g. 3 for smaller text. By default they keep the sheet format's height and are only shrunk to fit their boxes."},"write_model_properties":{"default":true,"description":"Write Description/Material/Weight into the model so the title block shows them, and save it","type":"boolean"}},"required":["model_path"],"type":"object"},{"type":"null"}],"default":null,"description":"The drawing. `model_path` (.sldprt or .sldasm) is\nrequired; `output_dir`, the title-block fields (`title`,\n`drawing_number`, `author`, `revision`, `company`), `notes`,\n`include_isometric`, `include_bom` and `write_model_properties` have\ndefaults."}},"type":"object"},"name":"generate_drawing_package","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate Drawing Package"},{"_meta":{"fastmcp":{"tags":["engineering_data","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"List Model Dimensions"},"description":"List every dimension in the active part or assembly with its full name and value.\n\nUse it to find a dimension in an existing model before changing it: each\n`full_name` (e.g. \"D1@Sketch1\") is the name `get_dimension` and `set_dimension`\ntake. Needs: an open part or assembly. Read-only. Returns: `data`, one entry per\ndimension with `full_name`, `feature`, `value` (document units), `system_value`\n(metres or radians) and `read_only`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for listing model dimensions.\n\nAttributes:\n    feature_name (str | None): Only this feature's dimensions.","properties":{"feature_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Only list this feature's dimensions, e.g. 'Boss-Extrude1'. Omit to list every dimension in the model."}},"type":"object"},{"type":"null"}],"default":null,"description":"Nothing is required: give `feature_name` to list one\nfeature's dimensions, or omit it for every dimension."}},"type":"object"},"name":"list_model_dimensions","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Model Dimensions"},{"_meta":{"fastmcp":{"tags":["engineering_data","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Measure Entities"},"description":"Measure faces, edges or vertices of the active model with SolidWorks' Measure tool.\n\nOne face gives area and perimeter; one edge its length, and radius and diameter\nfor an arc; two entities give the distance and angle between them. Use it to\ncheck a feature's size or position; for the whole model, use `verify_model`.\nNeeds: an open part or assembly. Read-only. It clears the selection afterwards.\nReturns: `data` with `selected` and the values in metres, square metres and\nradians (`distance_m`, `angle_rad`, `length_m`, `radius_m`, `diameter_m`,\n`area_m2`, `perimeter_m`; for two entities `is_parallel`).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"What to measure. `entities` (one or two) is required, each\n\"face:x,y,z\", \"edge:x,y,z\", \"vertex:x,y,z\" (a point on it, in metres)\nor a name like \"Edge<1>\".","properties":{"entities":{"description":"One or two entities to measure. Each is 'face:x,y,z' (a point inside the face), 'edge:x,y,z', 'vertex:x,y,z', a bare 'x,y,z' (nearest edge) or a topology name like 'Edge<1>'. Coordinates are in metres. One face gives area/perimeter; one edge gives length/radius; two entities give distance and angle.","items":{"type":"string"},"maxItems":2,"minItems":1,"type":"array"}},"required":["entities"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"measure_entities","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Measure Entities"},{"_meta":{"fastmcp":{"tags":["engineering_data","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Get Material"},"description":"Report the material assigned to the active part.\n\nUse it before `calculate_mass_properties` or `verify_model` with a mass: without\na material SolidWorks uses a default density. Needs: an open, active part (any\nother document is `wrong_document_type`). Read-only. Returns: `data` with\n`material` (null when none is assigned), `database` and `density_kg_m3` (from\nthe material's library entry; null when unknown). For the other properties\n(modulus, strength), open the material in SolidWorks.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for reading a part's material.\n\nAttributes:\n    configuration (str | None): Configuration name.","properties":{"configuration":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Configuration; the active one when omitted"}},"type":"object"},{"type":"null"}],"default":null,"description":"Nothing is required: `configuration` defaults to the active\none."}},"type":"object"},"name":"get_material","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Get Material"},{"_meta":{"fastmcp":{"tags":["engineering_data","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Set Material"},"description":"Assign a library material to the active part, e.g. \"AISI 1020\" or \"6061-T6 (SS)\".\n\nThe material sets the mass and what a title block's Material field shows. The\nname must match the library exactly; find it with `list_available_materials`.\nThe material is read back, so success means it applied. Needs: an open, active\npart. Changes: the part's material. Returns: `data` with `material`, `database`\nand `configuration`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The material. `material_name` is required; `database`\n(\"SOLIDWORKS Materials\") and `configuration` (all) have defaults.","properties":{"configuration":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Configuration; all configurations when omitted"},"database":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Library; 'SOLIDWORKS Materials' when omitted"},"material_name":{"description":"Exact library name, e.g. 'AISI 1020', '6061-T6 (SS)', 'ABS'. Use list_available_materials to find it.","minLength":1,"type":"string"}},"required":["material_name"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"set_material","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Set Material"},{"_meta":{"fastmcp":{"tags":["engineering_data","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"List Available Materials"},"description":"List the materials in the installed SolidWorks material libraries.\n\nUse it to find the exact name `set_material` needs; filter with `search` (e.g.\n\"steel\" or \"6061\"). It reads every .sldmat library SolidWorks is set to use.\nNeeds: SolidWorks installed. Read-only. Returns: `data`, each material's `name`,\n`classification` and `database`; the message gives the total and the folders\nread, so an empty search can be told from a missing library.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for listing materials.\n\nAttributes:\n    search (str | None): Substring filter.","properties":{"search":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Case-insensitive filter on material name or classification, e.g. 'steel' or '6061'"}},"type":"object"},{"type":"null"}],"default":null,"description":"Nothing is required: `search` filters by name or\nclassification, not case-sensitive."}},"type":"object"},"name":"list_available_materials","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Available Materials"},{"_meta":{"fastmcp":{"tags":["engineering_data","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Get Custom Properties"},"description":"Read the active document's custom properties, such as PartNo, Description or Revision.\n\nFile-level properties (the default) are what drawing title blocks and BOMs\nusually read; give `configuration` for that configuration's own. Needs: an open,\nactive document. Read-only. Returns: `data` with `properties`, each name mapped\nto its `value` and `resolved` value (a $PRP link evaluated).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for reading custom properties.\n\nAttributes:\n    configuration (str | None): Configuration name.","properties":{"configuration":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Configuration-specific properties; file-level (what title blocks usually read) when omitted"}},"type":"object"},{"type":"null"}],"default":null,"description":"Nothing is required: `configuration` reads that\nconfiguration's properties instead of the file's."}},"type":"object"},"name":"get_custom_properties","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Get Custom Properties"},{"_meta":{"fastmcp":{"tags":["engineering_data","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Set Custom Property"},"description":"Create or overwrite one text custom property on the active document, e.g. PartNo or DrawnBy.\n\nUse it to fill what a title block or BOM reads. The value is read back, so\nsuccess means it was stored. Needs: an open, active document. Changes: writes\nthe property, replacing one of the same name (save the file to keep it).\nReturns: `data` with `name`, `value`, `resolved` and `configuration`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The property. `name` and `value` (text, or a link such as\n$PRP:\"SW-Mass\") are required; `configuration` defaults to file-level.","properties":{"configuration":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Configuration; file-level when omitted"},"name":{"description":"Property name, e.g. 'PartNo', 'Description', 'DrawnBy'","minLength":1,"type":"string"},"value":{"description":"Text value; may be a $PRP:\"SW-Mass\" style link","type":"string"}},"required":["name","value"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"set_custom_property","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Set Custom Property"},{"_meta":{"fastmcp":{"tags":["engineering_data","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Export Flat Pattern"},"description":"Export the active sheet-metal part's flat pattern to DXF or DWG, for laser or waterjet cutting.\n\nIt writes the flat outline only, without bend lines or sketches. A part with no\nsheet-metal body is `not_found` and nothing is written. Needs: an open, active\nsheet-metal part. Changes: writes the file, replacing one already there.\nReturns: `data` with `file_path` and `size_bytes`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The export. `file_path` (ending in .dxf or .dwg) is\nrequired.","properties":{"file_path":{"description":"Output path ending in .dxf or .dwg","type":"string"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"export_flat_pattern","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Export Flat Pattern"},{"_meta":{"fastmcp":{"tags":["analysis","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Calculate Mass Properties"},"description":"Measure the active part or assembly's mass properties: volume, surface area, mass, centre of mass and moments of inertia.\n\nUse it to check weight or balance. To compare a model with the values you\nexpect, use `verify_model`; `get_mass_properties` does the same as this tool.\nMass depends on the assigned material (`set_material`). Needs: an open part or\nassembly. Read-only. It rebuilds first. Returns: `mass_properties` with `volume`\n(mm³), `surface_area` (mm²), `mass` (kg), `center_of_mass` (mm),\n`moments_of_inertia` (kg·mm², about the centre of mass) and\n`principal_axes`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"Nothing: it always measures the active model.","properties":{},"type":"object"}},"required":["input_data"],"type":"object"},"name":"calculate_mass_properties","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Calculate Mass Properties"},{"_meta":{"fastmcp":{"tags":["analysis","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Get Mass Properties"},"description":"Measure the active part or assembly's mass properties: volume, surface area, mass, centre of mass and moments of inertia.\n\nThe same as `calculate_mass_properties`, which it calls. To compare a model with\nthe values you expect, use `verify_model`. Mass depends on the assigned material\n(`set_material`). Needs: an open part or assembly. Read-only. It rebuilds first.\nReturns: `mass_properties` with `volume` (mm³), `surface_area` (mm²), `mass`\n(kg), `center_of_mass` (mm), `moments_of_inertia` (kg·mm², about the centre\nof mass) and `principal_axes`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for mass properties analysis.\n\nIt has no fields: the tool always measures the active model. Inputs it\nused to take are refused (``input_compat.REMOVED_INPUTS``).","properties":{},"type":"object"},{"type":"null"}],"default":null,"description":"Optional, and empty: it always measures the active model."}},"type":"object"},"name":"get_mass_properties","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Get Mass Properties"},{"_meta":{"fastmcp":{"tags":["analysis","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Check Assembly Interference"},"description":"Find where the components of the active assembly overlap (Tools > Interference Detection).\n\nUse it after inserting and mating components. A count of 0 is a real\nmeasurement. To fail a build on interference, use `verify_model` with\n`no_interference`. Needs: an open, active assembly. Read-only. Returns: `data`\nwith `interference_found`, `interference_count`, `interferences` (component\npairs and overlap volume in mm³) and `scope`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"Nothing is required. `components` limits the report to\ninterferences involving those components; `include_hidden` also\nchecks hidden components, which are left out by default.","properties":{"assembly_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Assembly path alias"},"components":{"description":"List of component names to check for interference","items":{"type":"string"},"type":"array"},"include_hidden":{"default":false,"description":"Check hidden components too; by default they are left out, as in SolidWorks' own Interference Detection","type":"boolean"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"check_interference","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Check Assembly Interference"},{"_meta":{"fastmcp":{"tags":["analysis","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Analyze Geometry"},"description":"Run a geometry analysis on the active model, such as curvature, draft or wall thickness.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. For distances\nand angles today, use `measure_entities`; for size and volume, use\n`verify_model` or `calculate_mass_properties`. Read-only. Returns: once\navailable, the analysis under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The analysis. `analysis_type` (e.g. curvature, draft,\nthickness) is required; `parameters` has a default.","properties":{"analysis_type":{"description":"Type of analysis (curvature, draft, thickness, etc.)","type":"string"},"parameters":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Analysis-specific parameters"}},"required":["analysis_type"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"analyze_geometry","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Analyze Geometry"},{"_meta":{"fastmcp":{"tags":["analysis","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Get Material Properties"},"description":"Report the physical properties of the active part's material: density, modulus, Poisson's ratio, strength.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. For the\nmaterial's name today, use `get_material`; for the materials you can assign, use\n`list_available_materials`. Read-only. Returns: once available, the properties\nunder `data`.","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"get_material_properties","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Get Material Properties"},{"_meta":{"fastmcp":{"tags":["analysis","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Verify Model Against Expectations"},"description":"Check the active part or assembly against what you meant to build, one pass/fail check per expected value.\n\nUse it as the last step of a build: a modelling tool's success doesn't prove the\ngeometry is right. Give only the values you know. Units: mm, mm³, kg;\n`bounding_box_mm` is [x, y, z] in model axes. Widen `relative_tolerance` when\nyour sums ignore fillets. Needs: an open part or assembly. Read-only. Returns:\n`verdict` (pass, fail, inconclusive or report_only), `checks` (each `expected`,\n`actual`, `tolerance`, `passed`; null when unmeasured) and `measured`. A\nmismatch is still `status: success`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":false,"description":"Expectations for ``verify_model``; every field is optional.\n\nUnknown fields are rejected so a misspelt expectation (``volume`` for\n``volume_mm3``) fails loudly instead of silently not being checked.","properties":{"bounding_box_mm":{"anyOf":[{"maxItems":3,"minItems":3,"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array"},{"type":"null"}],"default":null,"description":"Expected overall size [x, y, z] in mm, in model axes"},"component_count":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Expected top-level components (assemblies)"},"feature_count":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Expected number of modelling features (extrudes, cuts, fillets, patterns...); sketches, the origin, folders and the three default planes are not counted"},"length_tolerance_mm":{"default":0.1,"description":"Allowed error per bounding-box axis, mm","minimum":0,"type":"number"},"mass_kg":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Expected mass in kg (depends on the material)"},"mate_count":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Expected unsuppressed mates (assemblies)"},"no_interference":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"true to require that no components overlap (assemblies)"},"relative_tolerance":{"default":0.01,"description":"Allowed relative error for mass and volume (0.01 = 1 %)","minimum":0,"type":"number"},"solid_body_count":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Expected number of solid bodies (parts)"},"volume_mm3":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Expected volume, mm³"}},"type":"object"},{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"The expectations, all optional: `mass_kg`, `volume_mm3`,\n`bounding_box_mm`, `feature_count`, `solid_body_count`, and for an\nassembly `component_count`, `mate_count` and `no_interference`;\n`relative_tolerance` (0.01) and `length_tolerance_mm` (0.1) have\ndefaults. With none it only reports what it measured."}},"type":"object"},"name":"verify_model","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Verify Model Against Expectations"},{"_meta":{"fastmcp":{"tags":["export","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Export STEP"},"description":"Export the active document to STEP, like File > Save As with the STEP type.\n\nUse it to hand a model to another CAD system; it is the most widely read\nexchange format. SolidWorks picks the format from the file's extension, so end\n`file_path` in .step or .stp. Needs: an open, active part or assembly. Changes:\nwrites the file, creating its folder and replacing a file already there; the\nopen document is unchanged. Returns: `export` with `file_path` and `format`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The export. `file_path` (ending in .step or .stp) is required;\n`format_type` is not needed: the file extension decides the\nformat.","properties":{"file_path":{"description":"Full path for the exported file","type":"string"},"format_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Not needed: the file extension sets the format; defaults to the tool's own format"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"export_step","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Export STEP"},{"_meta":{"fastmcp":{"tags":["export","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Export IGES"},"description":"Export the active document to IGES, like File > Save As with the IGES type.\n\nUse it only when the receiver can't read STEP; prefer `export_step`. SolidWorks\npicks the format from the file's extension, so end `file_path` in .igs or .iges.\nNeeds: an open, active part or assembly. Changes: writes the file, creating its\nfolder and replacing a file already there; the open document is unchanged.\nReturns: `export` with `file_path` and `format`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The export. `file_path` (ending in .igs or .iges) is required;\n`format_type` is not needed: the file extension decides the\nformat.","properties":{"file_path":{"description":"Full path for the exported file","type":"string"},"format_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Not needed: the file extension sets the format; defaults to the tool's own format"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"export_iges","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Export IGES"},{"_meta":{"fastmcp":{"tags":["export","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Export STL"},"description":"Export the active document to STL, like File > Save As with the STL type.\n\nUse it for 3D printing. An assembly is exported whole, with lightweight\ncomponents resolved first. SolidWorks picks the format from the file's\nextension, so end `file_path` in .stl. Needs: an open, active part or assembly.\nChanges: writes the file, creating its folder and replacing a file already\nthere; the open document is unchanged. Returns: `export` with `file_path` and\n`format`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The export. `file_path` (ending in .stl) is required;\n`format_type` is not needed: the file extension decides the\nformat.","properties":{"file_path":{"description":"Full path for the exported file","type":"string"},"format_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Not needed: the file extension sets the format; defaults to the tool's own format"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"export_stl","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Export STL"},{"_meta":{"fastmcp":{"tags":["export","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Export PDF"},"description":"Export the active document to PDF, like File > Save As with the PDF type.\n\nUse it to share a drawing; `generate_drawing_package` already saves a PDF with\nthe drawing it creates. SolidWorks picks the format from the file's extension,\nso end `file_path` in .pdf. Needs: an open, active drawing (a part or assembly\ngives a PDF of the view). Changes: writes the file, creating its folder and\nreplacing a file already there; the open document is unchanged. Returns:\n`export` with `file_path` and `format`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The export. `file_path` (ending in .pdf) is required;\n`format_type` is not needed: the file extension decides the\nformat.","properties":{"file_path":{"description":"Full path for the exported file","type":"string"},"format_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Not needed: the file extension sets the format; defaults to the tool's own format"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"export_pdf","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Export PDF"},{"_meta":{"fastmcp":{"tags":["export","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Export DWG"},"description":"Export the active document to DWG, like File > Save As with the DWG type.\n\nUse it to hand a drawing to AutoCAD users. SolidWorks picks the format from the\nfile's extension, so end `file_path` in .dwg. Needs: an open, active drawing.\nChanges: writes the file, creating its folder and replacing a file already\nthere; the open document is unchanged. Returns: `export` with `file_path` and\n`format`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The export. `file_path` (ending in .dwg) is required;\n`format_type` is not needed: the file extension decides the\nformat.","properties":{"file_path":{"description":"Full path for the exported file","type":"string"},"format_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Not needed: the file extension sets the format; defaults to the tool's own format"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"export_dwg","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Export DWG"},{"_meta":{"fastmcp":{"tags":["export","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Export Image"},"description":"Save a picture of the active model in a standard view, as PNG or JPG, at a chosen size.\n\nUse it to show a result, or to check a model's shape after a change. The view is\nset first (front, back, left, right, top, bottom, isometric, dimetric,\ntrimetric, or current to keep the user's view). Needs: an open, active document.\nChanges: writes the image file, and turns the model to the view asked for.\nReturns: `data` with `file_path`, `format`, `dimensions` (the size written),\n`requested_dimensions` and `view`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The image. `file_path` (or `output_path`) is needed; the\nformat follows its extension. `width`/`height` (or `resolution` as\n\"1920x1080\") and `view_orientation` (isometric) have defaults.","properties":{"file_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Full path for the exported image"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Alternative format field"},"format_type":{"default":"jpg","description":"Image format (jpg, png, bmp, tiff)","type":"string"},"height":{"default":1080,"description":"Image height in pixels","type":"integer"},"image_format":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Image format alias"},"model_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to the model file"},"orientation":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Alternative orientation field"},"output_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Alternative output path"},"resolution":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Resolution alias"},"view_orientation":{"default":"isometric","description":"View orientation (front, top, right, isometric, current)","type":"string"},"width":{"default":1920,"description":"Image width in pixels","type":"integer"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"export_image","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Export Image"},{"_meta":{"fastmcp":{"tags":["export","level:planned"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Batch Export"},"description":"Export every matching SolidWorks file in a folder to one format.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Today, open\neach file with `open_model` and use an `export_*` tool. Changes: once available,\nwrites one exported file per source file. Returns: once available, a per-file\nresult under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The batch. `source_directory` and `output_directory` are\nrequired; `format_type`, `file_pattern` and `recursive` have\ndefaults.","properties":{"export_format":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Alternative export format"},"file_pattern":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"File pattern alias"},"file_patterns":{"default":["*.sldprt","*.sldasm","*.slddrw"],"description":"File patterns to include","items":{"type":"string"},"type":"array"},"format_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Target export format"},"include_subdirectories":{"default":false,"description":"Include subdirectories in search","type":"boolean"},"output_directory":{"description":"Directory for exported files","type":"string"},"recursive":{"default":false,"description":"Search subdirectories recursively","type":"boolean"},"source_directory":{"description":"Directory containing SolidWorks files","type":"string"}},"required":["source_directory","output_directory"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"batch_export","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Batch Export"},{"_meta":{"fastmcp":{"tags":["automation","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA Code"},"description":"Write a VBA macro skeleton for an operation you describe: the SolidWorks connection, a check of the active document's type and optional error handling, with the operation itself left as a TODO.\n\nUse it as a starting point for a custom macro. For a complete macro for a\nspecific feature, use a `generate_vba_*` tool (extrusion, revolve, mates,\ndrawing views, batch export). The macro reports through `Debug.Print`, never a\ndialog, so it runs without waiting on anyone: save it as a .swb file and run it\nwith `execute_macro` (its `Sub main()` calls the Sub named `sub_name`; SolidWorks\nruns a .swb macro only through `main`). It stops, printing why,\nwhen the active document isn't `target_document`. Read-only. Nothing runs in\nSolidWorks. Returns: `vba_code` with `code`, `sub_name`, `operation`,\n`target_document`, `lines_of_code` and `includes_error_handling`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The macro to write. Nothing is required: give\n`operation_description` (it also names the Sub) and\n`target_document` (Part, Assembly or Drawing);\n`include_error_handling` is on by default.","properties":{"include_error_handling":{"default":true,"description":"Include error handling in generated code","type":"boolean"},"operation_description":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Description of the operation to generate VBA for"},"operation_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Operation type alias"},"target_document":{"default":"Part","description":"The document type the macro runs on; it stops, printing why, on any other","enum":["Part","Assembly","Drawing"],"type":"string"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_code","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA Code"},{"_meta":{"fastmcp":{"tags":["automation","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Start Macro Recording (Automation)"},"description":"Start SolidWorks' macro recorder (the automation family's copy of `start_macro_recording`).\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Recording is\ndone in SolidWorks today (Tools > Macro > Record). Changes: once available,\nstarts a recording session. Returns: once available, the session details under\n`data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The recording. Nothing is required: `macro_name`,\n`output_file`, `recording_mode` and the capture switches have\ndefaults.","properties":{"auto_start":{"default":true,"description":"Automatically start recording","type":"boolean"},"capture_keyboard":{"default":true,"description":"Capture keyboard actions","type":"boolean"},"capture_mouse":{"default":true,"description":"Capture mouse actions","type":"boolean"},"description":{"default":"","description":"Description of the macro functionality","type":"string"},"macro_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Name for the recorded macro"},"output_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Output file alias"},"recording_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Recording mode alias"},"recording_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Recording name alias"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"automation_start_macro_recording","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Start Macro Recording (Automation)"},{"_meta":{"fastmcp":{"tags":["automation","level:planned"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Stop Macro Recording (Automation)"},"description":"Stop a macro recording and save it (the automation family's copy of `stop_macro_recording`).\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Recording is\ndone in SolidWorks today (Tools > Macro > Stop). Changes: once available, ends\nthe session and writes the macro file. Returns: once available, the saved\nmacro's details.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping; nothing in it is used yet.","type":"object"}},"required":["input_data"],"type":"object"},"name":"automation_stop_macro_recording","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Stop Macro Recording (Automation)"},{"_meta":{"fastmcp":{"tags":["automation","level:planned"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Batch Process Files"},"description":"Run one operation (rebuild, save as, export or property update) on every matching file in a folder.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To export\nseveral files today, open each with `open_model` and use `export_step`.\nChanges: once available, opens, changes and saves each file. Returns: once available, a per-file result under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The batch. `source_directory` is required; `operation_type`,\n`file_pattern`, `target_format` and `recursive` have defaults.","properties":{"batch_operation":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Batch operation alias"},"file_pattern":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"File pattern alias"},"filter_patterns":{"default":["*.sldprt","*.sldasm"],"description":"File patterns to process","items":{"type":"string"},"type":"array"},"operation":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Operation alias"},"operation_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Type of operation (rebuild, save_as, export, update_properties)"},"parallel_processing":{"default":false,"description":"Parallel processing alias","type":"boolean"},"recursive":{"default":false,"description":"Process subdirectories recursively","type":"boolean"},"source_directory":{"description":"Directory containing SolidWorks files","type":"string"},"target_format":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Target format for export operations"}},"required":["source_directory"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"batch_process_files","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Batch Process Files"},{"_meta":{"fastmcp":{"tags":["automation","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Manage Design Table"},"description":"Create, read or update a design table (an Excel sheet that drives a model's configurations).\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To list a\nmodel's configurations today, use `list_configurations`. Changes: once\navailable, inserts or edits the design table and its configurations. Returns:\nonce available, the table's state under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The design table. Nothing is required: give `model_path`,\n`operation` and `excel_file`; `parameters`, `configurations` and the\nauto-update switches have defaults.","properties":{"auto_create_configurations":{"default":false,"description":"Auto-create alias","type":"boolean"},"auto_update":{"default":false,"description":"Auto update alias","type":"boolean"},"configurations":{"default":[],"description":"Configuration names","items":{"type":"string"},"type":"array"},"create_configurations":{"default":false,"description":"Create configurations alias","type":"boolean"},"excel_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Excel file path for import/export"},"model_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Model path alias"},"operation":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Operation alias"},"parameters":{"default":[],"description":"Parameters to include in design table","items":{"type":"string"},"type":"array"},"table_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Design table file alias"},"table_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Type of design table (create, update, import)"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"manage_design_table","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Manage Design Table"},{"_meta":{"fastmcp":{"tags":["automation","level:planned"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Execute Workflow"},"description":"Run a named sequence of tool steps, in order or in parallel, with an error policy.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Call the\ntools one at a time instead. Changes: once available, whatever the steps change.\nReturns: once available, each step's result under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The workflow. `workflow_name` and `steps` (a list of step\nmappings) are required; `parallel_execution` and `error_handling`\nhave defaults.","properties":{"error_handling":{"default":"stop","description":"Error handling strategy (stop, skip, retry)","type":"string"},"parallel_execution":{"default":false,"description":"Execute compatible steps in parallel","type":"boolean"},"steps":{"description":"List of workflow steps","items":{"additionalProperties":true,"type":"object"},"type":"array"},"workflow_name":{"description":"Name of the workflow","type":"string"}},"required":["workflow_name","steps"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"execute_workflow","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Execute Workflow"},{"_meta":{"fastmcp":{"tags":["automation","level:planned"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Create Template File"},"description":"Create a part, assembly or drawing template file (.prtdot, .asmdot, .drwdot) with standard settings.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To capture an\nexisting model's settings, `extract_template` is also not available yet.\nChanges: once available, writes the template file. Returns: once available, the\ntemplate's path and settings under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The template. `template_type` and `template_name` are\nrequired; `source_model`, `output_path` and the include switches have\ndefaults.","properties":{"base_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Base file to create template from"},"include_custom_properties":{"default":false,"description":"Include custom properties alias","type":"boolean"},"include_features":{"description":"Include features alias","items":{"type":"string"},"type":"array"},"include_materials":{"default":false,"description":"Include materials alias","type":"boolean"},"metadata":{"additionalProperties":true,"default":{},"description":"Template metadata and properties","type":"object"},"output_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Output path alias"},"source_model":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Source model alias"},"template_name":{"description":"Name for the template","type":"string"},"template_type":{"description":"Type of template (part, assembly, drawing)","type":"string"}},"required":["template_type","template_name"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_template","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Template File"},{"_meta":{"fastmcp":{"tags":["automation","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Optimize SolidWorks Performance"},"description":"Review SolidWorks' performance settings and apply faster ones.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Changes: once\navailable, SolidWorks system options. Returns: once available, the settings\nchanged under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping of optimisation options; none is required.","type":"object"}},"required":["input_data"],"type":"object"},"name":"optimize_performance","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Optimize SolidWorks Performance"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Save File"},"description":"Save the active document, to its own path or to a new path in its own format.\n\nUse it after changes you want to keep. For a part or an assembly with checks on\nthe target path (folder exists, no accidental overwrite), use `save_part` or\n`save_assembly`; to write another format, use `save_as` or an `export_*` tool.\nNeeds: an open, active document, already saved once unless you give a path.\nChanges: writes the file; a different file at `file_path` is replaced. Returns:\n`data` from the save (usually empty).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The save. Nothing is required: give `file_path` to save to a\nnew path, or omit it to save in place.","properties":{"file_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional output path. If omitted, saves the current active document."}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"save_file","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Save File"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Save As"},"description":"Save the active document under a new path, as a SolidWorks file or in an exchange format such as STEP or IGES.\n\nFor a SolidWorks format (solidworks, sldprt, sldasm, slddrw) it saves a copy\nlike File > Save As; any other `format_type` is passed to the exporter. For one\nknown format with its options, prefer `export_step`, `export_stl` and the other\n`export_*` tools. Needs: an open, active document. Changes: writes the file. A\nfile already at `file_path` is kept and the call refused, unless `overwrite`\nis on. Returns: `file_path` and `format`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The target. `file_path` is required; `format_type` defaults\nto \"solidworks\", and `overwrite` is off.","properties":{"file_path":{"description":"Full path for the new file","type":"string"},"format_type":{"default":"solidworks","description":"File format (solidworks, step, iges, etc.)","type":"string"},"overwrite":{"default":false,"description":"Overwrite existing file","type":"boolean"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"save_as","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Save As"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Get File Properties"},"description":"Report the active document's file details: name, path, size, dates, type, configuration and unsaved changes.\n\nUse it to check what is open and whether it has unsaved changes before saving or\nclosing. For the model itself (rebuild status included), use `get_model_info`;\nfor custom properties, use `get_custom_properties`. Needs: an open, active\ndocument. Read-only. Returns: `properties` with `file_name`, `file_path`,\n`file_size_bytes`, `created_date` and `modified_date` (Unix timestamps; empty\nfor a document never saved), `document_type`, `configuration`, `is_dirty` and\n`feature_count`.","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"get_file_properties","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Get File Properties"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Get Model Info"},"description":"Report the active document's title, path, type, active configuration, unsaved changes, feature count and rebuild status.\n\nUse it first in a session, to see which document is active (it follows a switch\nmade in the SolidWorks window). For file size and dates, use\n`get_file_properties`; for every open document, use `list_open_documents`.\nNeeds: an open document. Read-only. Returns: `model_info` with `title`, `path`,\n`type`, `configuration`, `is_dirty`, `feature_count` and `rebuild_status` (0\nrebuilt, 1 needs a rebuild).","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"get_model_info","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Get Model Info"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"List Features"},"description":"List the feature tree of the active part or assembly, in order.\n\nUse it before editing a model, to find a feature's exact name for\n`delete_feature`, `suppress_feature` or `rename_feature`. For an assembly it\nalso lists each component's features, down to `max_assembly_depth` levels.\nNeeds: an open part or assembly. Read-only. Returns: `features` (each with\n`name`, `type`, `suppressed` and, in an assembly, `component`), `count`, and\n`assembly_tree`, the same list grouped by component.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"What to list. Nothing is required: `include_suppressed`\n(off) and `max_assembly_depth` (2) have defaults.","properties":{"include_suppressed":{"default":false,"description":"Include suppressed features in the returned list","type":"boolean"},"max_assembly_depth":{"default":2,"description":"For Assembly documents, how many levels of sub-assembly to recurse into when flattening component features. Ignored for Part documents.","type":"integer"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"list_features","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Features"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Get Selected Entities"},"description":"Describe the faces, edges and vertices selected in the SolidWorks window right now.\n\nUse it when the user has clicked something and says \"this face\": it reads the\nselection instead of guessing from a screenshot. To select edges yourself, use\n`select_face_edges`. Needs: an open document. Read-only. Returns: `entities`\n(each with `index` and `type`; a face adds `bounding_box_mm`, `center_mm`,\n`area_mm2` and `normal` when flat, an edge `start_mm`, `end_mm` and\nstraight-line `length_mm`, a vertex `point_mm`) and `count`.","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"get_selected_entities","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Get Selected Entities"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Classify Feature Tree"},"description":"Classify the active model's kind (part, sheet metal, assembly, drawing and so on) from its feature tree, and suggest how to work on it.\n\nUse it before rebuilding or editing an unfamiliar model, to pick a workflow. It\nreads the model unless you pass `model_info` and `features` you already have\n(from `get_model_info` and `list_features`). Needs: an open document, unless\nboth are passed. Read-only. Returns: `classification` with `family`,\n`recommended_workflow`, `confidence`, `needs_vba`, `evidence`, `warnings`,\n`next_actions` and `feature_count`, plus the `model_info` and `features` used.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"What to classify. Nothing is required: pass `model_info`\nand `features` to classify them without reading the model;\n`include_suppressed` is off by default.","properties":{"features":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null,"description":"Optional feature-tree payload to classify without re-reading the active model"},"include_suppressed":{"default":true,"description":"Include suppressed features when reading the active model tree","type":"boolean"},"model_info":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Optional pre-fetched model info payload to classify without re-reading the active model"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"classify_feature_tree","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Classify Feature Tree"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"List Configurations"},"description":"List the names of the active model's configurations.\n\nUse it to see which configurations a part or assembly has. Needs: an open part\nor assembly. Read-only. Returns: `configurations` (names) and `count`.\n`get_model_info` says which one is active.","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"list_configurations","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Configurations"},{"_meta":{"fastmcp":{"tags":["file_management","level:planned"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Manage File Properties"},"description":"Read or change the file-level properties of a SolidWorks file on disk.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To read or\nset custom properties on the active model today, use `get_custom_properties` and\n`set_custom_property`. Changes: once available, the file's properties. Returns:\nonce available, the properties under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The operation. `operation` is required; `file_path` or\n`source_path`, `properties` and `include_system` have defaults.","properties":{"file_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Alternative file path"},"include_system":{"default":false,"description":"Include system properties","type":"boolean"},"operation":{"description":"Operation to perform (copy, move, delete, rename)","type":"string"},"parameters":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Operation parameters"},"properties":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"File properties to set"},"source_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Source file path"},"target_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Target file path (for copy/move/rename)"}},"required":["operation"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"manage_file_properties","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Manage File Properties"},{"_meta":{"fastmcp":{"tags":["file_management","level:planned"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Convert File Format"},"description":"Convert a SolidWorks file on disk to another format without opening it first.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Today, open\nthe file with `open_model` and use `save_as` or an `export_*` tool such as\n`export_step`. Changes: once available, writes the converted file. Returns: once\navailable, the converted file under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The conversion. `source_file` and `target_format` are\nrequired; `target_file`, `quality` and `units` have defaults.","properties":{"conversion_options":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Conversion options"},"invalid_format":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Invalid format for testing"},"output_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Alternative output path"},"quality":{"default":"high","description":"Conversion quality","type":"string"},"source_file":{"description":"Source file path","type":"string"},"source_format":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Source file format"},"target_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Target file path"},"target_format":{"description":"Target file format","type":"string"},"units":{"default":"mm","description":"Units","type":"string"}},"required":["source_file","target_format"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"convert_file_format","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Convert File Format"},{"_meta":{"fastmcp":{"tags":["file_management","level:planned"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Batch File Operations"},"description":"Copy, move, rename or delete SolidWorks files on disk in one call.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To copy an\nassembly with every part it uses, use `pack_and_go_assembly`. Changes: once\navailable, copies, moves, renames or deletes files. Returns: once available, a\nper-file result under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The operation. `operation` (copy, move, delete or rename) is\nrequired; `source_path`, `target_path` and `parameters` have\ndefaults.","properties":{"file_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Alternative file path"},"include_system":{"default":false,"description":"Include system properties","type":"boolean"},"operation":{"description":"Operation to perform (copy, move, delete, rename)","type":"string"},"parameters":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Operation parameters"},"properties":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"File properties to set"},"source_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Source file path"},"target_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Target file path (for copy/move/rename)"}},"required":["operation"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"batch_file_operations","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Batch File Operations"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Load Part"},"description":"Open a part (.sldprt) from disk and make it the active document.\n\nUse it to start work on an existing part; for any document type, use\n`open_model`, and to switch to a document that is already open, use\n`activate_document`. A path that isn't a .sldprt is refused. Needs: the file on\ndisk. Changes: opens the part (no file is written). Returns: `model` with\n`name`, `type`, `path` and `configuration` (the one SolidWorks opened, or\nnull when it can't be read).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The part. `file_path` (a .sldprt) is required.","properties":{"file_path":{"description":"Full path to the .sldprt file","type":"string"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"load_part","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Load Part"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Load Assembly"},"description":"Open an assembly (.sldasm) from disk and make it the active document.\n\nUse it to start work on an existing assembly; for any document type, use\n`open_model`, and to switch to a document that is already open, use\n`activate_document`. A path that isn't a .sldasm is refused. Needs: the file on\ndisk. Changes: opens the assembly (no file is written). Returns: `model` with\n`name`, `type`, `path` and `configuration` (the one SolidWorks opened, or\nnull when it can't be read).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The assembly. `file_path` (a .sldasm) is required.","properties":{"file_path":{"description":"Full path to the .sldasm file","type":"string"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"load_assembly","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Load Assembly"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Save Part"},"description":"Save the active part in place, or as a new .sldprt with the target path checked first.\n\nBefore writing to a new path it checks the folder exists and is writable,\nchanges the extension to .sldprt, and refuses an existing file unless\n`overwrite` is on. For an assembly, use `save_assembly`; for other formats, use\n`save_as` or an `export_*` tool. Needs: an open, active part. Changes: writes\nthe part file. Returns: `file_path` when saved to a new path.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for saving a part file.\n\nAttributes:\n    file_path (str | None): The file path value.\n    overwrite (bool): The overwrite value.","properties":{"file_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional output path. If omitted, saves the active part to its existing location."},"overwrite":{"default":false,"description":"Overwrite existing file","type":"boolean"}},"type":"object"},{"type":"null"}],"default":null,"description":"The save. Nothing is required: give `file_path` for a new\npath or omit it to save in place; `overwrite` is off."}},"type":"object"},"name":"save_part","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Save Part"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Save Assembly"},"description":"Save the active assembly in place, or as a new .sldasm, optionally copying the parts it uses alongside.\n\nBefore writing to a new path it checks the folder exists and is writable,\nchanges the extension to .sldasm, and refuses an existing file unless\n`overwrite` is on. With `include_references`, it instead copies the assembly\nfile as last saved, and the files it references, into the new folder; unsaved\nchanges are left out and references are not updated. For a self-contained copy,\nuse `pack_and_go_assembly`. Needs: an open, active assembly, saved once for\n`include_references`. Changes: writes the assembly file (and copies). Returns:\n`file_path`, plus `copied_files` and `missing_source_files` when copying\nreferences.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for saving an assembly file.\n\nAttributes:\n    file_path (str | None): The file path value.\n    overwrite (bool): The overwrite value.","properties":{"file_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional output path. If omitted, saves the active assembly to its existing location."},"include_references":{"default":false,"description":"When true and file_path is set, copy referenced assembly files into the target folder.","type":"boolean"},"overwrite":{"default":false,"description":"Overwrite existing file","type":"boolean"}},"type":"object"},{"type":"null"}],"default":null,"description":"The save. Nothing is required: give `file_path` for a new\npath or omit it to save in place; `overwrite` and\n`include_references` are off."}},"type":"object"},"name":"save_assembly","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Save Assembly"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Pack and Go Assembly"},"description":"Copy an assembly and every file it uses into one folder that opens on its own.\n\nUse it to hand over or archive an assembly. SolidWorks lists the files the\nassembly uses; each is copied under its own name, as saved on disk, so save\nfirst: a `warning` names any open file whose unsaved changes the copy doesn't\nhave. The copy opens with its own parts, since SolidWorks looks in the\nassembly's folder first. It fails, copying nothing, when a file is missing,\ntwo files share a name, or `target_dir` holds the originals. It refuses a\nfolder that already has files unless `overwrite` is on, and then replaces only\nthe files it copies. It never closes or changes a document. It can add an\nisometric PNG preview. Needs: the .sldasm on disk. Changes: writes the copies\ninto `target_dir`, creating it if needed. Returns: `source_assembly`,\n`target_dir`, `copied_files`, `source_files`, `unsaved_changes` and, with a\npreview, `preview_image`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The copy. `source_path` (a .sldasm) and `target_dir` are\nrequired; `export_preview` and `overwrite` are off.","properties":{"export_preview":{"default":false,"description":"Export an isometric PNG preview next to the copied files","type":"boolean"},"overwrite":{"default":false,"description":"Pack into a target_dir that already holds files, replacing the ones Pack and Go writes; other files there are kept","type":"boolean"},"source_path":{"description":"Absolute path to the source .sldasm file","type":"string"},"target_dir":{"description":"Directory where the assembly and all referenced parts will be copied","type":"string"}},"required":["source_path","target_dir"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"pack_and_go_assembly","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Pack and Go Assembly"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"List Open Documents"},"description":"List every document open in SolidWorks and say which one is active.\n\nUse it before `activate_document`, or when tool calls seem to act on the wrong\ndocument. Needs: SolidWorks running. Read-only. Returns: `documents` (each with\n`title`, `path`, `type` and `is_active`) and `count`.","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"list_open_documents","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Open Documents"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Activate Document"},"description":"Make an already-open document the active one, so the next tools act on it.\n\nMatch it by window title, full path or file name (not case-sensitive); see\n`list_open_documents`. To open a file that isn't open yet, use `open_model`.\nNeeds: the document open in SolidWorks. Changes: the active document. Returns:\n`data` with `activated` (the title) and `verified` (read back from SolidWorks;\nnull when it couldn't be read). No match is an error that lists the open\ndocuments.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The document. `title_or_path` is required.","properties":{"title_or_path":{"description":"Window title (e.g. 'bracket.SLDPRT'), full path, or bare file name of a document that is already open","type":"string"}},"required":["title_or_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"activate_document","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Activate Document"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Save Body as Part"},"description":"Save one solid body of the active multibody part as a new part file (Insert > Features > Save Bodies).\n\nUse it to split a multibody part into parts, e.g. after `create_extrusion`\nwithout merging. Needs: an open, active part with the named body and an existing\ntarget folder. Changes: adds a Save Bodies feature to the part and writes the\nnew .sldprt. Returns: `data` with `body`, `file_path`, `feature` and\n`solid_bodies` (every body name, to correct a wrong one).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The body. `body_name` and `file_path` (a .sldprt) are\nrequired.","properties":{"body_name":{"description":"Name of a solid body in the active part, e.g. 'Boss-Extrude1'","type":"string"},"file_path":{"description":"Absolute path for the new .sldprt (parent directory must exist)","type":"string"}},"required":["body_name","file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"save_body_as_part","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Save Body as Part"},{"_meta":{"fastmcp":{"tags":["level:stable","vba_generation"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA: Extrusion"},"description":"Write a VBA macro that makes an extrusion with the full FeatureExtrusion options: both directions, draft, thin wall, end conditions.\n\nUse it when `create_extrusion` doesn't cover an option you need, or to hand the\nstep to someone as a macro. The macro comes back as text for the SolidWorks VBA\neditor (Alt+F11); `execute_macro` runs only binary .swp files, so it can't run\nthis directly. Read-only. Nothing runs in SolidWorks. Returns: `vba_code`, the\n`parameters` used and `usage_instructions`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The extrusion. `depth` (mm) is required; everything else\n(`sketch_name`, draft, thin-wall and end-condition options) has a\ndefault.","properties":{"advanced_options":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Advanced options"},"assembly_feature_scope":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Assembly feature scope"},"auto_select":{"default":true,"description":"Auto select components","type":"boolean"},"both_directions":{"default":false,"description":"Extrude in both directions","type":"boolean"},"cap_ends":{"default":false,"description":"Cap thin feature ends","type":"boolean"},"cap_thickness":{"default":1.0,"description":"Cap thickness in mm","type":"number"},"custom_properties":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Custom properties"},"depth":{"description":"Extrusion depth in mm","type":"number"},"depth2":{"default":0.0,"description":"Second direction depth if both_directions=True","type":"number"},"direction":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Direction"},"draft_angle":{"default":0.0,"description":"Draft angle in degrees","type":"number"},"draft_outward":{"default":true,"description":"Draft direction","type":"boolean"},"end_condition":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"End condition"},"end_condition_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"End condition reference"},"feature_scope":{"anyOf":[{"type":"string"},{"type":"boolean"}],"default":false,"description":"Use feature scope"},"merge_result":{"default":true,"description":"Merge with existing geometry","type":"boolean"},"offset_parameters":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Offset parameters"},"sketch_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Sketch name"},"start_condition":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Start condition"},"thin_feature":{"default":false,"description":"Create thin feature","type":"boolean"},"thin_thickness":{"default":1.0,"description":"Thin feature thickness in mm","type":"number"},"thin_thickness1":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Alias thickness 1"},"thin_thickness2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Alias thickness 2"},"thin_type":{"default":"OneDirection","description":"Thin feature type","type":"string"}},"required":["depth"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_extrusion","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA: Extrusion"},{"_meta":{"fastmcp":{"tags":["level:stable","vba_generation"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA: Revolve"},"description":"Write a VBA macro that revolves the selected sketch, with both-direction and thin-wall options.\n\nUse it when `create_revolve` doesn't cover an option you need. The macro comes\nback as text for the SolidWorks VBA editor (Alt+F11); `execute_macro` runs only\nbinary .swp files, so it can't run this directly. Read-only. Nothing runs in\nSolidWorks. Returns: `vba_code`, the `parameters` used and `usage_instructions`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The revolve. Give `angle` in degrees (it defaults to 0, a\nrevolve of nothing); `sketch_name`, `axis_reference`, both-direction\nand thin-wall options have defaults.","properties":{"angle":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Revolve angle in degrees"},"angle2":{"default":0.0,"description":"Second direction angle","type":"number"},"angle_degrees":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Angle alias"},"axis_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Axis reference"},"both_directions":{"default":false,"description":"Revolve in both directions","type":"boolean"},"merge_result":{"default":true,"description":"Merge with existing geometry","type":"boolean"},"sketch_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Sketch name"},"thin_feature":{"default":false,"description":"Create thin feature","type":"boolean"},"thin_thickness":{"default":1.0,"description":"Thin feature thickness in mm","type":"number"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_revolve","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA: Revolve"},{"_meta":{"fastmcp":{"tags":["level:stable","vba_generation"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA: Insert Component"},"description":"Write a VBA macro that inserts a component into the active assembly at a point.\n\nTo insert a component directly, use `insert_component`. The macro comes back as\ntext for the SolidWorks VBA editor (Alt+F11); `execute_macro` runs only binary\n.swp files, so it can't run this directly. Read-only. Nothing runs in\nSolidWorks. Returns: `vba_code`, the `parameters` used and `usage_instructions`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The component. Give `component_path` (the .sldprt or\n.sldasm); `insertion_point` and `rotation` default to the origin.","properties":{"assembly_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Assembly file"},"component_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Component file alias"},"component_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to component file"},"insertion_point":{"default":[0,0,0],"description":"Insertion coordinates [x,y,z]","items":{"type":"number"},"type":"array"},"operation_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Assembly operation (insert, mate, pattern, etc.)"},"rotation":{"default":[0,0,0],"description":"Rotation angles [rx,ry,rz]","items":{"type":"number"},"type":"array"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_assembly_insert","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA: Insert Component"},{"_meta":{"fastmcp":{"tags":["level:stable","vba_generation"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA: Drawing Views"},"description":"Write a VBA macro that places a model's standard views (front, top, right) on the active drawing.\n\nTo make a drawing directly, use `generate_drawing_package` or\n`create_drawing_view`. The macro comes back as text for the SolidWorks VBA\neditor (Alt+F11); `execute_macro` runs only binary .swp files, so it can't run\nthis directly. Read-only. Nothing runs in SolidWorks. Returns: `vba_code`, the\n`parameters` used and `usage_instructions`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The views. Give `model_path` (the model to draw);\n`scale`, `sheet_format` and the view layout have defaults. The\ndrawing must be open and active when the macro runs.","properties":{"advanced_options":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Advanced options"},"drawing_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Drawing file path"},"model_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to 3D model"},"operation_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Drawing operation (view, dimension, annotation, etc.)"},"scale":{"default":1.0,"description":"Drawing scale","type":"number"},"sheet_format":{"default":"A3","description":"Sheet format (A4, A3, B, C, etc.)","type":"string"},"view_layout":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"View layout"},"view_scale":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"View scale"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_drawing_views","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA: Drawing Views"},{"_meta":{"fastmcp":{"tags":["level:stable","vba_generation"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA: Batch Export"},"description":"Write a VBA macro that opens every matching file in a folder and saves a STEP copy of each to another folder.\n\nTo export one file directly, use `export_step`. The macro comes back as text for\nthe SolidWorks VBA editor (Alt+F11); `execute_macro` runs only binary .swp\nfiles, so it can't run this directly. Read-only. Nothing runs in SolidWorks.\nReturns: `vba_code`, the `parameters` used and `usage_instructions`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The batch. Give `operation_type` (e.g. \"export\"),\n`file_pattern` (e.g. \"*.sldprt\"), `source_folder` and\n`target_folder`; `recursive` defaults to on.","properties":{"exclude_list":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"Exclude list"},"export_format":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Export format alias"},"file_pattern":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"File pattern to process (e.g., '*.sldprt')"},"operation_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Batch operation type (export, properties, etc.)"},"recursive":{"default":true,"description":"Process subfolders","type":"boolean"},"source_directory":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Source directory alias"},"source_folder":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Source folder path"},"target_folder":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Target folder path"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_batch_export","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA: Batch Export"},{"_meta":{"fastmcp":{"tags":["level:stable","vba_generation"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA: Part Modeling"},"description":"Write a VBA macro for a shell or a fillet on the active part.\n\nUse it for a shell, which no direct tool makes yet; for a fillet, `add_fillet`\nworks directly. The macro comes back as text for the SolidWorks VBA editor\n(Alt+F11); `execute_macro` runs only binary .swp files, so it can't run this\ndirectly. Read-only. Nothing runs in SolidWorks. Returns: `vba_code`, the\n`parameters` used and `usage_instructions`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with `operation`, \"shell\" (the default, with\n`thickness` in mm, default 2) or \"fillet\" (with `radius` in mm,\ndefault 5). Any other operation is refused.","type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_part_modeling","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA: Part Modeling"},{"_meta":{"fastmcp":{"tags":["level:stable","vba_generation"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA: Assembly Mates"},"description":"Write a VBA macro that adds a concentric, distance, parallel, perpendicular or coincident mate between two selected faces or edges.\n\nTo add a mate directly, use `add_mate`. The macro comes back as text for the\nSolidWorks VBA editor (Alt+F11); `execute_macro` runs only binary .swp files, so\nit can't run this directly. The faces must be selected in SolidWorks before the\nmacro runs. Read-only. Nothing runs in SolidWorks. Returns: `vba_code`, the\n`parameters` used and `usage_instructions`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with `mate_type` (default \"concentric\"),\n`component1` and `component2` (names, for the comments), and\n`distance` in mm for a distance mate.","type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_assembly_mates","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA: Assembly Mates"},{"_meta":{"fastmcp":{"tags":["level:stable","vba_generation"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA: Drawing Dimensions"},"description":"Write a VBA macro that adds a dimension to the selected drawing entities and sets its precision.\n\nTo bring the model's dimensions into a drawing directly, use\n`insert_model_dimensions`. The macro comes back as text for the SolidWorks VBA\neditor (Alt+F11); `execute_macro` runs only binary .swp files, so it can't run\nthis directly. The entities must be selected before the macro runs. Read-only.\nNothing runs in SolidWorks. Returns: `vba_code`, the `parameters` used and\n`usage_instructions`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with `dimension_type` (\"linear\", the default,\n\"radial\", \"angular\" or \"diameter\") and `precision` (decimal places,\ndefault 2).","type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_drawing_dimensions","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA: Drawing Dimensions"},{"_meta":{"fastmcp":{"tags":["level:stable","vba_generation"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA: File Operations"},"description":"Write a VBA macro that sets a custom property in every configuration, or runs Pack and Go on the active document.\n\nTo set a property directly, use `set_custom_property`; for Pack and Go, use\n`pack_and_go_assembly`. The macro comes back as text for the SolidWorks VBA\neditor (Alt+F11); `execute_macro` runs only binary .swp files, so it can't run\nthis directly. Read-only. Nothing runs in SolidWorks. Returns: `vba_code`, the\n`parameters` used and `usage_instructions`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with `operation`: \"custom_properties\" (the\ndefault, with `property_name` and `property_value`) or\n\"pack_and_go\" (with `target_folder`). Any other operation is\nrefused.","type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_file_operations","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA: File Operations"},{"_meta":{"fastmcp":{"tags":["level:stable","vba_generation"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA: Macro Recorder"},"description":"Write a VBA starting point: a macro skeleton to fill in, or a note on starting and stopping SolidWorks' macro recorder.\n\nUse \"create_template\" for an empty macro with the usual SolidWorks setup.\nRecording itself is done in SolidWorks (Tools > Macro > Record). The macro comes\nback as text for the SolidWorks VBA editor (Alt+F11); `execute_macro` runs only\nbinary .swp files, so it can't run this directly. Read-only. Nothing runs in\nSolidWorks. Returns: `vba_code`, the `parameters` used and `usage_instructions`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with `operation`: \"start_recording\" (the\ndefault), \"stop_recording\" or \"create_template\" (with\n`macro_name`). Any other operation is refused.","type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_macro_recorder","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA: Macro Recorder"},{"_meta":{"fastmcp":{"tags":["level:planned","template_management"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Extract Template"},"description":"Capture a model's settings (custom properties, dimensions, units) as a reusable template file.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Changes: once\navailable, writes the template to `save_path`, replacing any file there.\nReturns: once available, the captured settings under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The extraction. `source_model`, `template_name`,\n`template_type` and `save_path` are required;\n`include_custom_properties` and `include_dimensions` default to on.","properties":{"include_custom_properties":{"default":true,"description":"Include custom properties","type":"boolean"},"include_dimensions":{"default":true,"description":"Include dimensions","type":"boolean"},"save_path":{"description":"Path to save the template file","type":"string"},"source_model":{"description":"Path to source model file","type":"string"},"template_name":{"description":"Name for the extracted template","type":"string"},"template_type":{"description":"Template type (part, assembly, drawing)","type":"string"}},"required":["source_model","template_name","template_type","save_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"extract_template","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Extract Template"},{"_meta":{"fastmcp":{"tags":["level:planned","template_management"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Apply Template"},"description":"Apply a saved template's properties, dimensions and materials to a model.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To set a\nmaterial or a property today, use `set_material` or `set_custom_property`.\nChanges: once available, overwrites the target model's matching settings.\nReturns: once available, what changed under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The application. `template_path` and `target_model` are\nrequired; `overwrite_existing`, `apply_dimensions` and\n`apply_materials` have defaults.","properties":{"apply_dimensions":{"default":true,"description":"Apply dimension formatting","type":"boolean"},"apply_materials":{"default":true,"description":"Apply material settings","type":"boolean"},"overwrite_existing":{"default":false,"description":"Overwrite existing properties","type":"boolean"},"target_model":{"description":"Path to target model","type":"string"},"template_path":{"description":"Path to template file","type":"string"}},"required":["template_path","target_model"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"apply_template","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Apply Template"},{"_meta":{"fastmcp":{"tags":["level:planned","template_management"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Apply Template in Batch"},"description":"Apply one template to every matching model in a folder.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Changes: once\navailable, overwrites settings in each matching file, optionally keeping\nbackups. Returns: once available, a per-file result under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The batch. `template_path` and `source_folder` are\nrequired; `file_pattern`, `recursive` and `backup_originals` have\ndefaults.","properties":{"backup_originals":{"default":true,"description":"Create backup copies","type":"boolean"},"file_pattern":{"default":"*.sldprt","description":"File pattern to match","type":"string"},"recursive":{"default":true,"description":"Process subfolders","type":"boolean"},"source_folder":{"description":"Folder containing target models","type":"string"},"template_path":{"description":"Path to template file","type":"string"}},"required":["template_path","source_folder"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"batch_apply_template","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Apply Template in Batch"},{"_meta":{"fastmcp":{"tags":["level:stable","template_management"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Compare Templates"},"description":"Compare two template files on disk: whether they are byte-identical, and how their sizes differ.\n\nUse it to tell whether two templates are the same file. It does not read the\ntemplates' settings, so it can't say which properties or dimensions differ.\nNeeds: both files on disk. Read-only. Returns: `comparison` with `file_1` and\n`file_2` (size, modified time, SHA-256), `identical` and `size_delta_bytes`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The two templates: `template1_path` and `template2_path`,\nboth required.","properties":{"template1_path":{"description":"Path to first template","type":"string"},"template2_path":{"description":"Path to second template","type":"string"}},"required":["template1_path","template2_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"compare_templates","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Compare Templates"},{"_meta":{"fastmcp":{"tags":["level:planned","template_management"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Save to Template Library"},"description":"Add a template to a shared, categorised template library.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Changes: once\navailable, copies the template into the library, replacing an entry with the\nsame name. Returns: once available, the library entry under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with the `template_name` and the template's path.","type":"object"}},"required":["input_data"],"type":"object"},"name":"save_to_template_library","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Save to Template Library"},{"_meta":{"fastmcp":{"tags":["level:planned","template_management"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"List Template Library"},"description":"List the templates in the shared template library.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Read-only.\nReturns: once available, the library's templates under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping of optional filters; none is required.","type":"object"}},"required":["input_data"],"type":"object"},"name":"list_template_library","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Template Library"},{"_meta":{"fastmcp":{"tags":["level:planned","macro_recording"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Start Macro Recording"},"description":"Start SolidWorks' macro recorder, to capture what the user does as a macro.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Recording is\ndone in SolidWorks today (Tools > Macro > Record). Changes: once available,\nstarts a recording session. Returns: once available, the session details under\n`data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The recording. `output_file` (where the macro is saved) is\nrequired; `macro_name`, `recording_mode`, the capture switches and\n`timeout_seconds` have defaults.","properties":{"auto_cleanup":{"default":false,"description":"Cleanup temporary files","type":"boolean"},"auto_stop":{"default":false,"description":"Auto-stop recording after timeout","type":"boolean"},"capture_keyboard":{"default":true,"description":"Capture keyboard actions","type":"boolean"},"capture_mouse":{"default":true,"description":"Capture mouse actions","type":"boolean"},"description":{"default":"","description":"Description of macro functionality","type":"string"},"macro_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Name for the recorded macro"},"output_file":{"description":"Output file for the recorded macro","type":"string"},"recording_mode":{"default":"User actions","description":"Recording mode","type":"string"},"recording_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Alternative recording name"},"recording_quality":{"default":"High","description":"Recording quality level","type":"string"},"timeout_seconds":{"default":300,"description":"Timeout for auto-stop in seconds","type":"integer"}},"required":["output_file"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"start_macro_recording","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Start Macro Recording"},{"_meta":{"fastmcp":{"tags":["level:planned","macro_recording"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Stop Macro Recording"},"description":"Stop the macro recorder and save the recorded macro.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Recording is\ndone in SolidWorks today (Tools > Macro > Stop). Changes: once available, ends\nthe session and writes the macro file. Returns: once available, the saved\nmacro's details under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping; nothing in it is used yet.","type":"object"}},"required":["input_data"],"type":"object"},"name":"stop_macro_recording","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Stop Macro Recording"},{"_meta":{"fastmcp":{"tags":["level:stable","macro_recording"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Run Macro"},"description":"Run a binary SolidWorks macro (.swp, or legacy .swb) in the running SolidWorks, calling its `main` procedure once.\n\nUse it to run an existing macro file. VBA source (.bas, .vb, plain text, or what\nthe `generate_vba_*` tools return) is refused as invalid input before SolidWorks\nsees it. The macro must not wait for the user (no MsgBox or forms), or the call\nhangs. It runs `repeat_count` times, `pause_between_runs` seconds apart, and\nstops at the first run that fails. Needs: SolidWorks running and the macro file\non disk. Changes: whatever the macro does; it can't be undone from here.\nReturns: `runs_completed` and `data` from the last run, with `macro_path`,\n`module_name`, `proc_name` and `errors`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The macro to run. Give `macro_path` (or `macro_file`);\n`proc_name` (main), `repeat_count` (1) and `pause_between_runs` (0 s)\nhave defaults.","properties":{"macro_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Alternative to macro_path (.swp or .swb)"},"macro_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a binary SolidWorks macro (.swp, or legacy .swb). VBA source (.vb, .bas, text) cannot be run directly."},"pause_between_runs":{"default":0.0,"description":"Seconds to wait between runs","minimum":0.0,"type":"number"},"proc_name":{"default":"main","description":"The macro procedure to call; main by default","type":"string"},"repeat_count":{"default":1,"description":"How many times to run the macro (1-100); it stops at the first failure","maximum":100,"minimum":1,"type":"integer"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"execute_macro","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Run Macro"},{"_meta":{"fastmcp":{"tags":["level:planned","macro_recording"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Analyze Macro"},"description":"Analyse a macro's structure, dependencies and complexity, and suggest optimisations.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Read-only.\nReturns: once available, the findings under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The macro. Give `macro_path` (or `macro_file`);\n`analysis_type`, `analysis_depth` and `suggest_optimizations` have\ndefaults.","properties":{"analysis_depth":{"default":"Basic","description":"Analysis depth alias","type":"string"},"analysis_type":{"default":"full","description":"Analysis type (full, dependencies, performance)","type":"string"},"macro_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Alternative macro file path"},"macro_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to macro file to analyze"},"suggest_optimizations":{"default":false,"description":"Suggest optimizations","type":"boolean"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"analyze_macro","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Analyze Macro"},{"_meta":{"fastmcp":{"tags":["level:planned","macro_recording"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Run Macros in Batch"},"description":"Run several macros in sequence against the files in a folder.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To run one\nmacro, use `execute_macro`. Changes: once available, whatever the macros do.\nReturns: once available, each run's result under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The batch. `macro_list` (macro file paths) is required;\n`target_directory`, `file_pattern`, `execution_order` and\n`stop_on_error` have defaults.","properties":{"execution_order":{"default":"sequential","description":"Execution order (sequential, parallel)","type":"string"},"file_pattern":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"File pattern alias"},"macro_list":{"description":"List of macro file paths","items":{"type":"string"},"type":"array"},"source_directory":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Source directory alias"},"stop_on_error":{"default":true,"description":"Stop batch if error occurs","type":"boolean"},"target_directory":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Target directory alias"}},"required":["macro_list"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"batch_execute_macros","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Run Macros in Batch"},{"_meta":{"fastmcp":{"tags":["level:planned","macro_recording"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Optimize Macro"},"description":"Suggest improvements to a macro's code for speed and reliability.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Read-only. It\nwould suggest changes, not make them. Returns: once available, the suggestions\nunder `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with the macro's `macro_path` (or `macro_file`).","type":"object"}},"required":["input_data"],"type":"object"},"name":"optimize_macro","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Optimize Macro"},{"_meta":{"fastmcp":{"tags":["level:planned","macro_recording"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Create Macro Library"},"description":"Set up a shared folder of categorised, documented macros.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Changes: once\navailable, creates the library folder and its index. Returns: once available,\nthe library's contents under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with the `library_path` to create.","type":"object"}},"required":["input_data"],"type":"object"},"name":"create_macro_library","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Macro Library"},{"_meta":{"fastmcp":{"tags":["docs_discovery","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Rebuild SolidWorks API Index"},"description":"Rebuild the SolidWorks API index on purpose. The lookups don't need it.\n\nThe lookup tools (lookup_api_method, lookup_api_interface,\nfind_related_api_members, search_solidworks_api_help) build the index\nthemselves on first use, so call this only to rebuild it, to read a\nspecific SolidWorks year, or to save a copy elsewhere. It reads every\ninterface in the installed SolidWorks type library (each member's\nparameters, return type and description), plus the VBA library\nreferences. SolidWorks must be installed, not running; it is never\nstarted or called. Changes: writes the index file, replacing the\nsaved one.\n\nReturns ``summary`` (interface, method and property counts),\n``type_library`` (version, year and .tlb path), ``year`` and\n``output_file``, the saved index (megabytes, so it is not returned).\nFails with a message naming the installed years when ``year`` isn't\ninstalled, or saying SolidWorks isn't installed here.\n\nExample input: ``{\"year\": 2026}``","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for ``discover_solidworks_docs``.\n\nAttributes:\n    output_dir (str | None): Folder to save the index in.\n    include_vba (bool): Whether to scan for VBA library references.\n    year (int | None): The SolidWorks year whose type library to read.","properties":{"include_vba":{"default":true,"description":"Also list the VBA type libraries registered on this machine","type":"boolean"},"output_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Folder to save the index in; default .generated/docs-index. The lookups only read the default folder, so another folder is for keeping a copy (pass it back as index_file)."},"year":{"anyOf":[{"maximum":2100,"minimum":1995,"type":"integer"},{"type":"null"}],"default":null,"description":"SolidWorks year whose type library to read, e.g. 2026; an error if that year isn't installed. Unset: the year the server was started with (--year), else the newest installed."}},"type":"object"},{"type":"null"}],"default":null,"description":"The rebuild. Nothing is\nrequired: `year` defaults to the installed release,\n`output_dir` to the index folder, and `include_vba` to on."}},"type":"object"},"name":"discover_solidworks_docs","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Rebuild SolidWorks API Index"},{"_meta":{"fastmcp":{"tags":["docs_discovery","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Search SolidWorks API"},"description":"Search SolidWorks API interface and member names by keyword.\n\nUse this when you don't know the exact name: \"chamfer\" finds\nIFeatureManager.InsertFeatureChamfer. Then call lookup_api_method on\na match for its parameters and return type. Matches come from the\nSolidWorks type library installed on this machine.\n\nSetup: none. SolidWorks must be installed, not running; it is never\ncontacted. Read-only. The first call builds the index (about a\nsecond) and later calls reuse it. ``index_status`` is ``ready``\n(saved index), ``rebuilt`` (built for this call) or ``unavailable``\n(no index could be built; ``guidance`` says why).\n\nReturns ``matches`` (interface, member, member_type, score),\n``guidance``, and ``fallback_help`` suggesting MCP tools for the\ntask, with ``year`` and ``type_library_version`` of the library that\nanswered.\n\nExample input: ``{\"query\": \"chamfer\", \"max_results\": 5}``","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for ``search_solidworks_api_help``.\n\nAttributes:\n    query (str): Words to search member and interface names for.\n    max_results (int): How many matches to return at most.\n    auto_discover_if_missing (bool): Accepted for old callers; unused.","properties":{"auto_discover_if_missing":{"default":false,"description":"No longer needed: the index is built automatically when missing. Still accepted so existing callers keep working.","type":"boolean"},"index_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a saved index JSON to answer from instead of the installed type library, e.g. one copied from another machine. Rarely needed."},"max_results":{"default":10,"description":"Maximum number of matches to return","maximum":50,"minimum":1,"type":"integer"},"query":{"description":"Words to find in interface and member names, e.g. 'chamfer' or 'SelectByID2'","minLength":2,"type":"string"},"year":{"anyOf":[{"maximum":2100,"minimum":1995,"type":"integer"},{"type":"null"}],"default":null,"description":"SolidWorks year whose API to answer for, e.g. 2026. Usually leave unset: the server's --year, else the newest installed. A year that isn't installed is explained in the result's note."}},"required":["query"],"type":"object"},{"type":"null"}],"default":null,"description":"The search. `query`\n(one or more words) is required; `max_results` and `year`\nhave defaults."}},"type":"object"},"name":"search_solidworks_api_help","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Search SolidWorks API"},{"_meta":{"fastmcp":{"tags":["docs_discovery","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Look Up API Method"},"description":"Look up one SolidWorks API method or property: parameters, return type, description.\n\nUse this before writing or debugging a SolidWorks API call (VBA, a\nmacro or COM) to check that the member exists on that interface and\nhow to call it. Answers come from the SolidWorks type library\ninstalled on this machine, so they match the installed version.\n\nSetup: none. SolidWorks must be installed, not running; it is never\ncontacted. Read-only. The first lookup builds the index (about a\nsecond). ``index_status`` is ``ready``, ``rebuilt`` or\n``unavailable``.\n\nNames match regardless of case, as COM does. ``result.member`` is\nSolidWorks' own spelling, with a ``note`` when yours differs. Each\nparameter has a ``type`` and a ``direction``: ``in``, ``out``\n(SolidWorks fills it) or ``in_out`` (pass a variable by reference).\n``return_type`` is null when the method returns nothing; a property\nhas its value type there and an ``access``. ``result.found`` false\nmeans there is no such member, and ``result.note`` says why,\nincluding when no index could be built (SolidWorks isn't installed\nhere, or the requested year isn't).\n\nExample input: ``{\"interface\": \"ISldWorks\", \"method\": \"OpenDoc6\"}``","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for ``lookup_api_method``.\n\nAttributes:\n    interface (str): The COM interface the member is on.\n    method (str): The method or property name.","properties":{"index_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a saved index JSON to answer from instead of the installed type library, e.g. one copied from another machine. Rarely needed."},"interface":{"description":"COM interface name, e.g. 'IFeatureManager' or 'IModelDoc2'","minLength":2,"type":"string"},"method":{"description":"Method or property name, e.g. 'InsertFeatureChamfer'; case does not matter","minLength":1,"type":"string"},"year":{"anyOf":[{"maximum":2100,"minimum":1995,"type":"integer"},{"type":"null"}],"default":null,"description":"SolidWorks year whose API to answer for, e.g. 2026. Usually leave unset: the server's --year, else the newest installed. A year that isn't installed is explained in the result's note."}},"required":["interface","method"],"type":"object"},{"type":"null"}],"default":null,"description":"The member to look up.\n`interface` (e.g. \"ISldWorks\") and `method` (a method or\nproperty name) are required; `year` has a default."}},"type":"object"},"name":"lookup_api_method","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Look Up API Method"},{"_meta":{"fastmcp":{"tags":["docs_discovery","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Look Up API Interface"},"description":"List every method and property of a SolidWorks COM interface.\n\nUse this to see what an interface offers, such as IFeatureManager,\nor to check which interface a member is really on before calling it.\nFor one member's parameters, use lookup_api_method. Names match\nregardless of case.\n\nSetup: none. SolidWorks must be installed, not running; it is never\ncontacted. Read-only. The first call builds the index (about a\nsecond) and later calls reuse it. ``index_status`` is ``ready``\n(saved index), ``rebuilt`` (built for this call) or ``unavailable``\n(no index could be built).\n\nReturns ``result`` with ``methods``, ``properties`` and their counts.\n``result.found`` false means the interface isn't in the type library,\nor no index could be built, in which case ``result.note`` says why.\n\nExample input: ``{\"interface\": \"IFeatureManager\"}``","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for ``lookup_api_interface``.\n\nAttributes:\n    interface (str): The COM interface whose members to list.","properties":{"index_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a saved index JSON to answer from instead of the installed type library, e.g. one copied from another machine. Rarely needed."},"interface":{"description":"COM interface name, e.g. 'ISldWorks'; case does not matter","minLength":2,"type":"string"},"year":{"anyOf":[{"maximum":2100,"minimum":1995,"type":"integer"},{"type":"null"}],"default":null,"description":"SolidWorks year whose API to answer for, e.g. 2026. Usually leave unset: the server's --year, else the newest installed. A year that isn't installed is explained in the result's note."}},"required":["interface"],"type":"object"},{"type":"null"}],"default":null,"description":"The interface.\n`interface` (e.g. \"IFeatureManager\") is required; `year` has\na default."}},"type":"object"},"name":"lookup_api_interface","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Look Up API Interface"},{"_meta":{"fastmcp":{"tags":["docs_discovery","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Find Related API Members"},"description":"Find SolidWorks API members related to an interface or member name.\n\nFor an interface: its own members. For a member: the other members\nof every interface that also has it (often used together), plus\nmembers whose names contain it. Use it to explore around a call you\nknow, such as what sits beside InsertSketch.\n\nSetup: none. SolidWorks must be installed, not running; it is never\ncontacted. Read-only. The first call builds the index (about a\nsecond) and later calls reuse it. ``index_status`` is ``ready``\n(saved index), ``rebuilt`` (built for this call) or ``unavailable``\n(no index could be built).\n\nReturns ``result.related``: each member's interface, name, type and\nwhy it is related. ``result.found`` false means nothing matched, or\nno index could be built, in which case ``result.note`` says why.\n\nExample input: ``{\"name\": \"InsertSketch\", \"max_results\": 10}``","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for ``find_related_api_members``.\n\nAttributes:\n    name (str): An interface or member name to find relatives of.\n    max_results (int): How many related members to return at most.","properties":{"index_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a saved index JSON to answer from instead of the installed type library, e.g. one copied from another machine. Rarely needed."},"max_results":{"default":25,"description":"Maximum related members to return","maximum":200,"minimum":1,"type":"integer"},"name":{"description":"An interface name (lists its members) or a member name (lists the members beside it), e.g. 'InsertSketch'","minLength":2,"type":"string"},"year":{"anyOf":[{"maximum":2100,"minimum":1995,"type":"integer"},{"type":"null"}],"default":null,"description":"SolidWorks year whose API to answer for, e.g. 2026. Usually leave unset: the server's --year, else the newest installed. A year that isn't installed is explained in the result's note."}},"required":["name"],"type":"object"},{"type":"null"}],"default":null,"description":"What to explore.\n`name` (an interface or member) is required; `max_results`\nand `year` have defaults."}},"type":"object"},"name":"find_related_api_members","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Find Related API Members"},{"_meta":{"fastmcp":{"tags":["level:stable","server_admin"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Reset Circuit Breaker"},"description":"Let calls through again to operations the server paused after repeated failures.\n\nUse it when a tool returns `error_type: circuit_open` and you have fixed what\nmade the calls fail (a missing sketch, a wrong reference): without a reset, the\noperation stays paused until its timeout. Resetting does not fix the cause; a\ncall that fails again counts towards a new pause. Changes: only the server's\nown state; no SolidWorks document is touched. Returns: `data` with `reset`, the\noperations that were paused (empty when none were).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for resetting circuit breakers.\n\nAttributes:\n    operation (str | None): The operation to reset, e.g. ``create_extrusion``.","properties":{"operation":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"The operation to reset, as named in the circuit_open error (e.g. create_extrusion); leave it out to reset every operation"}},"type":"object"},{"type":"null"}],"default":null,"description":"Optional: `operation` resets only that operation; leave it out\nto reset every one."}},"type":"object"},"name":"reset_circuit_breaker","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Reset Circuit Breaker"}],"ttlMs":0}}}
{"at":"2026-11-23T00:49:10.044Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T00:49:12.615Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"logging":{},"prompts":{"listChanged":true},"resources":{"listChanged":true,"subscribe":false},"tools":{"listChanged":true}},"instructions":"SolidWorks MCP server: drive SolidWorks parts, assemblies and drawings.\n\n- Start with `get_model_info` (or `list_open_documents`) to see what is open.\n- Build in this order: `create_part`, `create_sketch`, draw (`add_rectangle`, `add_circle`, ...), `exit_sketch`, then the feature (`create_extrusion`, `create_cut_extrude`, `create_revolve`). Features use the sketch `sketch_name` \nnames, or the one you closed last.\n- Inputs are millimetres and degrees unless a field says metres.\n- A tool's success does not prove the geometry is right: finish a build with `verify_model`, giving the size, volume or counts you expect.\n- A tool whose description starts \"Not available yet\" returns `not_supported`; use the tool it names instead.\n- On an error, read `error_type` and `hint`; `rebuild_model` names failing features and `undo` steps back.\n\nFull guidance (workflows, selection, units, known limits): read the resource skill://solidworks-mcp/SKILL.md.\n","protocolVersion":"2025-11-25","serverInfo":{"name":"SolidWorks MCP Server","version":"2.0.0"}}}}
{"at":"2026-11-23T00:49:12.615Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T00:49:12.616Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T00:49:12.823Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Open Model"},"description":"Open a part, assembly or drawing from disk and make it the active document.\n\nUse it to start work on an existing file. To switch to a document that is\nalready open, use `activate_document`. Needs: the file on disk (a vault file\nmust be checked out). Changes: opens the document; nothing is written. Returns:\n`model` with `title`, `type`, `path` and `configuration`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The file. `file_path` (.sldprt, .sldasm or .slddrw) is\nrequired.","properties":{"file_path":{"description":"Full path to the SolidWorks file (.sldprt, .sldasm, .slddrw)","type":"string"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"open_model","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Open Model"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Part"},"description":"Create a new, empty part document and make it active, ready for `create_sketch`.\n\nUses `template` (a .prtdot) or the default part template, then sets `units` if\ngiven, and assigns `material` if given. The part is not saved until\n`save_part`. Needs: SolidWorks running. Changes: opens a new part document.\nReturns: `part` with `name`, `units`, `template` and `material` (the one\nassigned, or null), plus a `warning` when the material couldn't be assigned;\nthe part is created either way.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The part. `name` is required but only a label: the reply\ngives SolidWorks' own name (Part1, ...); `template`, `units` (mm, cm, m, in, ft) and\n`material` (a name from `list_available_materials`) are optional.","properties":{"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Material name"},"name":{"description":"A label for your own reference; SolidWorks names the new part itself (Part1, ...) and the file takes the name of the path you save it to with save_part","type":"string"},"template":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Part template (.prtdot) path; omit to use the SolidWorks default"},"units":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Document units"}},"required":["name"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_part","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Part"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Assembly"},"description":"Create a new, empty assembly document and make it active, ready for `insert_component`.\n\nUses `template` (an .asmdot) or the default assembly template. It is not saved\nuntil `save_assembly`. Needs: SolidWorks running. Changes: opens a new assembly\ndocument. Returns: `assembly` with `name` and `template`. Then call\n`insert_component` for each part.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The assembly. `name` is required but only a label: the\nreply gives SolidWorks' own name (Assem1, ...); `template` has a\ndefault.","properties":{"name":{"description":"A label for your own reference; SolidWorks names the new assembly itself (Assem1, ...) and the file takes the name of the path you save it to with save_assembly","type":"string"},"template":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Assembly template (.asmdot) path; omit to use the SolidWorks default"}},"required":["name"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_assembly","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Assembly"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Drawing"},"description":"Create a new, empty drawing document and make it active.\n\nUses `template` (a .drwdot) or the default drawing template. Then place views\nwith `create_drawing_view`; for a whole drawing from a model in one call, use\n`generate_drawing_package` instead. Needs: SolidWorks running. Changes: opens a\nnew drawing document. Returns: `drawing` with `name` and `template`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The drawing. `name` is required but only a label: the\nreply gives SolidWorks' own name (Draw1, ...); `template` has a\ndefault.","properties":{"name":{"description":"A label for your own reference; SolidWorks names the new drawing itself (Draw1, ...) and the file takes the name of the path you save it to with save_file","type":"string"},"template":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Drawing template (.drwdot) path; omit to use the SolidWorks default"}},"required":["name"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_drawing","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Drawing"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Close Model"},"description":"Close the active document, saving it first only if asked.\n\nUse it when you are done with a document. Unsaved changes are lost unless `save`\nis on. Needs: an open, active document. Changes: closes the document, and with\n`save` writes it first. Returns: `saved`, whether a save was asked for.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The close. Nothing is required: `save` is off.","properties":{"save":{"default":false,"description":"Save the model before closing","type":"boolean"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"close_model","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Close Model"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Extrusion"},"description":"Extrude the sketch you just closed into a solid boss, added to the active part.\n\nUse it after `exit_sketch`; to remove material, use `create_cut_extrude`. It\nextrudes the sketch `sketch_name` names, or the one `exit_sketch` closed last;\na name that isn't in the feature tree fails before anything is built. End\nconditions: Blind (default), MidPlane, ThroughAll, UpToNext; `both_directions`\nmeans MidPlane. With `thin_feature` and `thin_thickness` it makes a wall from the\nsketch's outline, and an open chain works (a bent plate from its centreline).\nNeeds: an open part and a closed profile (open is fine when thin). Changes:\nadds a Boss-Extrude feature. Returns: `extrusion` (`name`, `sketch` when one\nwas named, `depth`, the `end_condition` SolidWorks used, `both_directions`,\nand `thin` when thin) and\n`measured_change` (volume, bounding box and solid-body count before and after;\nleft out when the model can't be read).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The extrusion. `depth` (mm) is required; `sketch_name`,\n`end_condition`, `both_directions`, `reverse_direction`,\n`draft_angle`, `thin_feature`/`thin_thickness` and `merge_result`\nhave defaults.","properties":{"both_directions":{"default":false,"description":"Extrude symmetrically about the sketch plane (mid-plane): `depth` is the total thickness, half on each side","type":"boolean"},"depth":{"description":"Extrusion depth in millimeters","type":"number"},"draft_angle":{"default":0.0,"description":"Draft angle in degrees","type":"number"},"end_condition":{"default":"Blind","description":"End condition type","type":"string"},"merge_result":{"default":true,"description":"Merge with existing geometry","type":"boolean"},"reverse":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"Reverse direction alias"},"reverse_direction":{"default":false,"description":"Reverse extrusion direction","type":"boolean"},"sketch_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Sketch to use, by its name in the feature tree (e.g. \"Sketch2\"); omit to use the sketch `exit_sketch` closed last"},"thin_feature":{"default":false,"description":"Make a thin wall of `thin_thickness` from the sketch's outline; the sketch may be an open chain (a bent plate's centreline)","type":"boolean"},"thin_side":{"default":"one_side","description":"Which side of the sketch line the thin wall grows on: one_side, other_side, or mid_plane (half each side)","enum":["one_side","other_side","mid_plane"],"type":"string"},"thin_thickness":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Wall thickness in mm; required with thin_feature"}},"required":["depth"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_extrusion","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Extrusion"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Revolve"},"description":"Revolve a closed sketch around an axis, adding a solid to the active part.\n\nUse it for turned shapes (shafts, knobs). It revolves the sketch `sketch_name`\nnames, or the one `exit_sketch` closed last, about the reference axis\n`axis_entity` names (from `create_axis`), or about the centreline drawn in the\nsketch with `add_centerline`. A sketch or axis that isn't in the model fails\nbefore anything is built. Needs: an open part and a closed profile with a\ncentreline or a reference axis. Changes: adds a Revolve feature. Returns:\n`revolve` (`name`, `sketch` and `axis_entity` when named, `angle`) and\n`measured_change` (volume, bounding box and solid-body count before and\nafter; left out when the model can't be read).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The revolve. `angle` (degrees, 360 for a full turn) is\nrequired; `sketch_name`, `axis_entity`, `both_directions`,\n`reverse_direction`, `thin_feature` and `merge_result` have defaults.","properties":{"angle":{"description":"Revolve angle in degrees","type":"number"},"axis_entity":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"A reference axis to revolve about, by its name in the feature tree (e.g. \"Axis1\" from `create_axis`); omit to use the centreline drawn in the sketch"},"both_directions":{"default":false,"description":"Revolve in both directions","type":"boolean"},"merge_result":{"default":true,"description":"Merge with existing geometry","type":"boolean"},"reverse_direction":{"default":false,"description":"Reverse revolve direction","type":"boolean"},"sketch_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Sketch to use, by its name in the feature tree (e.g. \"Sketch2\"); omit to use the sketch `exit_sketch` closed last"},"thin_feature":{"default":false,"description":"Create as thin wall feature","type":"boolean"},"thin_thickness":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Thickness for thin wall feature in mm"}},"required":["angle"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_revolve","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Revolve"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Get Dimension"},"description":"Read one dimension of the active model by its full name, e.g. \"D1@Sketch1\".\n\nFind names with `list_model_dimensions`. Needs: an open part or assembly.\nRead-only. Returns: `dimension` with `name`, `value` and `units`: \"mm\" for a\nlength, \"deg\" for an angle, and null for a count (such as a pattern's\ninstance count).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The dimension. Give `name` (or `dimension_name`), e.g.\n\"D1@Boss-Extrude1\".","properties":{"dimension_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Dimension name alias"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Dimension name (e.g., 'D1@Sketch1', 'D1@Boss-Extrude1')"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"get_dimension","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Get Dimension"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Set Dimension"},"description":"Change one length dimension of the active model, in mm, and rebuild.\n\nUse it to resize an existing model; find the full name with\n`list_model_dimensions` and check the result with `rebuild_model` or\n`verify_model`. The value is always millimetres. Needs: an open part or\nassembly. Changes: the dimension and the geometry it drives. Returns:\n`dimension_update` with `name`, `old_value` and `new_value`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The change. `value` (mm) is required, with `name` (or\n`dimension_name`) such as \"D1@Sketch1\"; `units` is not used.","properties":{"dimension_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Dimension name alias"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Dimension name (e.g., 'D1@Sketch1', 'D1@Boss-Extrude1')"},"units":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Units alias"},"value":{"description":"New dimension value in millimeters","type":"number"}},"required":["value"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"set_dimension","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Set Dimension"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Set Units"},"description":"Set the active document's length units: mm, cm, m, in or ft.\n\nUse it on a new part before sketching if you want other than the template's\nunits. Aliases such as \"inch\" are accepted. The setting is read back, so success\nmeans it applied. Tool inputs stay in mm whatever the document shows. Needs: an\nopen, active document. Changes: the document's unit system. Returns: `data` with\n`unit_system`, the values applied and observed, and `verified`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The units. `unit_system` (mm, cm, m, in or ft) is\nrequired.","properties":{"unit_system":{"description":"Linear unit system: mm, cm, m, in, or ft","type":"string"}},"required":["unit_system"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"set_units","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Set Units"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Extruded Cut"},"description":"Cut material from the active part with a closed sketch profile: holes, slots, windows.\n\nUse it after `exit_sketch`. Pass `sketch_name` unless the sketch you just closed\nis the one: with no name only that sketch is used, and any doubt is an error\nnaming the sketches found. A one-way cut that finds no material is retried the\nother way (`direction_flipped`). For a sketch inside the body, use\nThroughAllBoth. Needs: an open part with a solid body. Changes: adds a\nCut-Extrude feature. Returns: `cut_extrude` (`name`, `sketch_name`,\n`direction_flipped`) and `measured_change` (volume, bounding box and solid-body\ncount before and after; left out when the model can't be read).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The cut. `depth` (mm) is required; `sketch_name`,\n`end_condition` (Blind, ThroughAll, ThroughAllBoth),\n`both_directions`, `reverse_direction` and `draft_angle` have\ndefaults.","properties":{"both_directions":{"default":false,"description":"With end_condition 'ThroughAll', cut through the body both ways (same as 'ThroughAllBoth')","type":"boolean"},"depth":{"description":"Cut depth in millimeters","type":"number"},"draft_angle":{"default":0.0,"description":"Draft angle in degrees","type":"number"},"end_condition":{"default":"Blind","description":"'Blind' (cut 'depth' mm), 'ThroughAll' (through the body, one way) or 'ThroughAllBoth' (through the body both ways, for a sketch inside the body)","type":"string"},"reverse_direction":{"default":false,"description":"Cut against the sketch normal instead of along it. Usually not needed: if the requested direction finds no material, the cut is retried the other way and the reply sets direction_flipped","type":"boolean"},"sketch_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Sketch to cut from, e.g. 'Sketch3'. If omitted, the sketch most recently created/exited in this session is used, but only if it still exists in the model — there is no other fallback. Pass this explicitly whenever more than one unconsumed sketch could exist, or after any operation that might have changed the active sketch."}},"required":["depth"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_cut_extrude","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Extruded Cut"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Fillet"},"description":"Round edges of the active part with a constant-radius fillet.\n\nName the edges as \"Edge<1>\", a point \"x,y,z\" (metres) or \"face:x,y,z\" for every\nedge of a face; or leave `edge_names` empty to use the current selection (e.g.\nfrom `select_face_edges`). A fillet that leaves the volume unchanged is an\nerror. Needs: an open part with a solid body. Changes: adds a Fillet feature.\nReturns: `fillet` with `name`, `radius` and `edges`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The fillet. `radius` (mm) is required; `edge_names`\ndefaults to the current selection.","properties":{"edge_names":{"description":"Edges (or faces) to fillet. Accepts a topology name (e.g. 'Edge<1>'), a coordinate hint in metres ('x,y,z') to select the nearest edge, or 'face:x,y,z' to select a whole face — which fillets every edge bounding it in one call. Prefer 'face:' over a coordinate on an edge that sits exactly on a shared boundary between two faces (e.g. a hole rim flush with a flat face): the nearest-edge match there can silently resolve to a different, unrelated edge. Leave empty to use whatever is *currently selected* in the live SolidWorks UI (e.g. entities read back via get_selected_entities and left selected) without touching the selection — this is the most reliable option when the user has hand-picked specific edges, since it never round-trips through coordinates. Falls back to filleting all edges only if nothing at all is selected.","items":{"type":"string"},"type":"array"},"radius":{"description":"Fillet radius in millimeters","type":"number"}},"required":["radius"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_fillet","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Fillet"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Chamfer"},"description":"Bevel edges of the active part with a chamfer: `distance` along one face at `angle` (45 by default).\n\nName the edges as \"Edge<1>\", a point \"x,y,z\" (metres) or \"face:x,y,z\" for every\nedge of a face; or leave `edge_names` empty to use the current selection (e.g.\nfrom `select_face_edges`). At 45 degrees both legs equal `distance`; at another\nangle, `flip` swaps which face `distance` is measured on. Needs: an open part\nwith a solid body. Changes: adds a Chamfer feature. Returns: `chamfer` with\n`name`, `distance`, `angle`, `flip` and `edges`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The chamfer. `distance` (mm) is required; `edge_names`\ndefaults to the current selection.","properties":{"angle":{"default":45.0,"description":"Chamfer angle in degrees, between 0 and 90; 45 makes both legs equal to distance","type":"number"},"distance":{"description":"Chamfer distance in millimeters, along one of the edge's faces","type":"number"},"edge_names":{"description":"Edges (or faces) to chamfer. Accepts a topology name (e.g. 'Edge<1>'), a coordinate hint in metres ('x,y,z') to select the nearest edge, or 'face:x,y,z' to select a whole face — which chamfers every edge bounding it in one call. Prefer 'face:' over a coordinate on an edge that sits exactly on a shared boundary between two faces (e.g. a hole rim flush with a flat face): the nearest-edge match there can silently resolve to a different, unrelated edge. Leave empty to use whatever is *currently selected* in the live SolidWorks UI (e.g. entities read back via get_selected_entities and left selected) without touching the selection — this is the most reliable option when the user has hand-picked specific edges, since it never round-trips through coordinates. Falls back to chamfering all edges only if nothing at all is selected.","items":{"type":"string"},"type":"array"},"flip":{"default":false,"description":"Measure distance along the edge's other face (swaps the long and short legs of an angled chamfer)","type":"boolean"}},"required":["distance"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_chamfer","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Chamfer"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Sweep"},"description":"Sweep a closed profile sketch along a path sketch to make a solid (Insert > Boss/Base > Sweep).\n\nDraw the closed profile and the open path as two sketches first. The profile is\nthe sketch you closed last that isn't the path. Needs: an open part with both\nsketches. Changes: adds a Sweep feature. Returns: `sweep` with `name`, `path`,\n`twist_along_path` and `twist_angle`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The sweep. `path` (the path sketch's name) is required;\n`twist_along_path`, `twist_angle` (degrees) and `merge_result` have\ndefaults.","properties":{"merge_result":{"default":true,"description":"Merge with existing geometry","type":"boolean"},"path":{"description":"Name or ID of the sweep path","type":"string"},"twist_along_path":{"default":false,"description":"Twist along path","type":"boolean"},"twist_angle":{"default":0.0,"description":"Twist angle in degrees","type":"number"}},"required":["path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_sweep","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Sweep"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Loft"},"description":"Loft a solid through two or more closed profile sketches, in order (Insert > Boss/Base > Loft).\n\nUse it for shapes that change section, such as a wing or a transition duct. Put\neach profile on its own plane (see `create_reference_plane`). Needs: an open\npart with the profile sketches. Changes: adds a Loft feature. Returns: `loft`\nwith `name`, `profiles` and `guide_curves`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The loft. `profiles` (sketch names, in order) is required;\n`guide_curves`, `start_tangent`, `end_tangent` and `merge_result`\nhave defaults.","properties":{"end_tangent":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"End tangent condition"},"guide_curves":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"List of guide curve names or IDs"},"merge_result":{"default":true,"description":"Merge with existing geometry","type":"boolean"},"profiles":{"description":"List of profile names or IDs","items":{"type":"string"},"type":"array"},"start_tangent":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Start tangent condition"}},"required":["profiles"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_loft","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Loft"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Insert Component"},"description":"Insert a part or sub-assembly file into the active assembly at a position in mm.\n\nUse it after `create_assembly`, then position components with `add_mate`. The\nfile must contain solid geometry; an empty or missing file is an error. Needs:\nan open, active assembly and the file on disk. Changes: adds a component.\nReturns: `component` with its instance name (`component`, which `add_mate`\ntakes), `file_path`, `position` and the counts before and after.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The component. `file_path` is required; `x`, `y`, `z` (mm\nfrom the assembly origin) default to 0.","properties":{"file_path":{"description":"Absolute path to the .sldprt or .sldasm to insert","type":"string"},"x":{"default":0.0,"description":"X position in millimetres","type":"number"},"y":{"default":0.0,"description":"Y position in millimetres","type":"number"},"z":{"default":0.0,"description":"Z position in millimetres","type":"number"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"insert_component","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Insert Component"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Mate"},"description":"Mate two components of the active assembly: coincident, concentric, parallel, perpendicular, tangent, distance or angle.\n\nEach side is a named reference plane or axis (`entity_a`, e.g. \"Front Plane\"),\nor a face given by a point on it (`face_a`, mm, in that part's own coordinates):\na pin's round face and a hole's face make a concentric mate. Get instance names\nfrom `list_components`. Needs: an open assembly with both components. Changes:\nadds a mate and may move components. Returns: `mate` with `mate_type`,\n`components`, `entities`, `geometry_moved` and `moved_components`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The mate. `component_a` and `component_b` are required;\neach side takes `entity_*` or `face_*` (default \"Front Plane\");\n`mate_type` (coincident), `alignment`, `distance` (mm) and `angle`\n(degrees) have defaults.","properties":{"alignment":{"default":"aligned","description":"aligned, anti_aligned or closest","type":"string"},"angle":{"default":0.0,"description":"Angle in degrees, for an angle mate","type":"number"},"component_a":{"description":"First component instance name, as reported by list_components","type":"string"},"component_b":{"description":"Second component instance name","type":"string"},"distance":{"default":0.0,"description":"Distance in millimetres, for a distance mate","type":"number"},"entity_a":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Named reference plane or axis on the first component, e.g. 'Front Plane'; defaults to 'Front Plane' when face_a is not given either"},"entity_b":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Named reference plane or axis on the second component; defaults to 'Front Plane' when face_b is not given either"},"face_a":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"default":null,"description":"[x, y, z] in mm on a face of the first component, in that part's own coordinates (as it was modelled), instead of entity_a: e.g. a point on a pin's round face for a concentric mate"},"face_b":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"default":null,"description":"[x, y, z] in mm on a face of the second component, in its own part coordinates, instead of entity_b"},"mate_type":{"default":"coincident","description":"coincident, concentric, perpendicular, parallel, tangent, distance or angle","type":"string"}},"required":["component_a","component_b"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_mate","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Mate"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Set Component State"},"description":"Fix or float a component of the active assembly, or make a sub-assembly rigid or flexible.\n\nFloat a part so mates can position it (the first part inserted is fixed); fix\none to hold it still. Make a sub-assembly flexible so its own mates move in\nthis assembly (a crank whose knob turns). Only what you pass changes: the\ncomponent's suppression, visibility and configuration are kept. Needs: an\nopen assembly. Changes: the component's fixed or solving state. Returns:\n`state` with `component`, `before` and `after` (`fixed`, `flexible` and the\nproperties kept).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The component and what to change: `fixed`, `flexible` or\nboth.","properties":{"component":{"description":"Component instance name, as reported by list_components","type":"string"},"fixed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"true fixes the component in place; false floats it so mates can move it; leave it out to keep it as it is"},"flexible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"For a sub-assembly: true lets its own mates move inside this assembly (a crank that turns); false makes it rigid; leave it out to keep it as it is"}},"required":["component"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"set_component_state","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Set Component State"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"List Components"},"description":"List the top-level components of the active assembly by instance name, e.g. \"bracket-1\".\n\nUse it before `add_mate`, which takes these names. Needs: an open, active\nassembly. Read-only. Returns: `components` (instance names).","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"list_components","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Components"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Delete Feature"},"description":"Delete a feature or sketch from the active model, along with the features that depend on it.\n\nAsk the user before you call it: deleting a sketch also deletes every feature\nbuilt from it (a cut, a boss), and deleting a feature deletes everything that\ndepends on it. Use `suppress_feature` instead when you might want it back. Find\nnames and dependents with `list_features`. Needs: an open part or assembly.\nChanges: removes the feature and its dependents (`undo` can restore them).\nReturns: `data` with `deleted`, `removed_features` (every feature that went,\ndependents included), `features_before` and `features_after`; the message names\nthe dependents, and a `warning` says so whenever more than the named feature\nwent: tell the user.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The feature. `name` (e.g. \"Fillet1\") is required.","properties":{"name":{"description":"Feature or sketch name, e.g. 'Boss-Extrude1' or 'Sketch1'","type":"string"}},"required":["name"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"delete_feature","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Delete Feature"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Suppress or Unsuppress Feature"},"description":"Suppress or unsuppress a feature of the active model; suppressed features stay in the tree but are not built.\n\nUse it to turn off a feature that breaks the rebuild without deleting it. Needs:\nan open part or assembly. Changes: the feature's suppression state, and its\nchildren's. Returns: `data` with `feature`, `requested`, `suppressed` (read\nback; null when unreadable) and `was_suppressed`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The feature. `name` is required; `suppress` defaults to on\n(pass false to unsuppress).","properties":{"name":{"description":"Feature name, e.g. 'Fillet1'","type":"string"},"suppress":{"default":true,"description":"True to suppress, False to unsuppress","type":"boolean"}},"required":["name"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"suppress_feature","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Suppress or Unsuppress Feature"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Rename Feature"},"description":"Rename a feature in the active model's feature tree.\n\nUse it to give features meaningful names (e.g. \"MountingHoles\"). The new name is\nread back: a name another feature already uses is an error. Renaming to the\ncurrent name succeeds with no change. Needs: an open part or assembly. Changes:\nthe feature's name. Returns: `data` with `old_name`, `new_name`, `renamed` and,\nwhen unchanged, `reason`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The rename. `old_name` and `new_name` are required.","properties":{"new_name":{"description":"New feature name, e.g. 'MountingEdgeFillet'","type":"string"},"old_name":{"description":"Current feature name, e.g. 'Fillet1'","type":"string"}},"required":["old_name","new_name"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"rename_feature","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Rename Feature"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Select Feature"},"description":"Select a feature, sketch, plane or component by name in the active document.\n\nUse it to set up a selection that the next SolidWorks operation acts on.\n`append` adds to the selection instead of replacing it. A name that can't be\nselected is an error. Needs: an open document. Changes: the selection only.\nReturns: `data` with `selected_name` and `selection_count`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The selection. `feature_name` is required; `append` is off.","properties":{"append":{"default":false,"description":"Add to the current selection instead of replacing it","type":"boolean"},"feature_name":{"description":"Feature, sketch, plane or component name, e.g. 'Boss-Extrude1', 'Sketch1', 'Front Plane' (an '@Part1' suffix is ok)","type":"string"}},"required":["feature_name"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"select_feature","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Select Feature"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Select Face Edges"},"description":"Select every edge of one face of the active part, ready for `add_fillet` or `add_chamfer` with no edge names.\n\nPick the face with one of `point` (a point on it, mm), `side` (top, bottom,\nfront, back, right, left or +X..-Z; the furthest flat face that way) or `plane`\n(the face lying on that plane). `edge_type` narrows to linear or circular edges\n(hole rims). Needs: an open part. Changes: the selection only. Returns: `data`\nwith `face`, `edges`, `selected_edges` and `selection_count`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The face. Give exactly one of `point`, `side` or `plane`;\n`edge_type` (all) and `append` (off) have defaults.","properties":{"append":{"default":false,"description":"Add to the current selection instead of replacing it","type":"boolean"},"edge_type":{"default":"all","description":"'all', 'linear' or 'circular' (e.g. hole rims)","type":"string"},"plane":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Reference plane name, e.g. 'Front Plane'; picks the body face(s) lying on it"},"point":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"default":null,"description":"A point on the face, [x, y, z] in mm"},"side":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Outward direction of the face: +X/-X/+Y/-Y/+Z/-Z or right/left/top/bottom/front/back (top=+Y, front=+Z, right=+X, as in SolidWorks' default views); picks the furthest flat face that way"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"select_face_edges","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Select Face Edges"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Rebuild Model"},"description":"Rebuild the active model and report each feature that fails, with the reason and a fix.\n\nUse it after `set_dimension` or other edits to confirm the model is sound.\nFailing features make the call an error whose `data.errors` names each one, its\nSolidWorks error, what it depends on and a `hint`; warnings alone still succeed.\nNeeds: an open part or assembly. Changes: rebuilds the model. Returns: `data`\nwith `rebuilt`, `errors`, `error_count`, `warning_count` and `summary`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for forcing a model rebuild.\n\nAttributes:\n    top_level_only (bool): Rebuild only the top level of an assembly.","properties":{"top_level_only":{"default":false,"description":"Rebuild only the top level of an assembly (default: full rebuild including sub-assemblies)","type":"boolean"}},"type":"object"},{"type":"null"}],"default":null,"description":"Nothing is required: `top_level_only` is off (a full\nrebuild)."}},"type":"object"},"name":"rebuild_model","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Rebuild Model"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Undo"},"description":"Undo the last operations in the active model (Edit > Undo).\n\nUse it to step back after a feature went wrong. SolidWorks accepts an undo with\nnothing to undo, so the reply says whether the feature tree changed. Needs: an\nopen document. Changes: reverts the last `count` operations. Returns: `data`\nwith `requested_steps`, `features_before`, `features_after` and `tree_changed`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for undoing model operations.\n\nAttributes:\n    count (int): Number of operations to undo.","properties":{"count":{"default":1,"description":"Number of operations to undo","minimum":1,"type":"integer"}},"type":"object"},{"type":"null"}],"default":null,"description":"Nothing is required: `count` defaults to 1."}},"type":"object"},"name":"undo","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Undo"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Reference Plane"},"description":"Add a reference plane offset from, at an angle to, or on a plane or flat face.\n\nUse it to sketch somewhere other than the three default planes: pass the new\nplane's name to `create_sketch`. Offset: `reference` and a non-zero `offset`\n(mm). Angle: `reference`, `angle` (degrees) and `axis`, an axis lying in the\nreference (make one with `create_axis`). Face: `face_point`, a point on a flat\nface (sloped or not), with an `offset` or 0 for a plane on the face. Needs: an\nopen part. Changes: adds a plane feature. Returns: `plane` with `name` and the\ninputs used.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The plane. Exactly one of `reference` and `face_point`;\nthen `offset`, or `angle` with `axis`; `flip` is off.","properties":{"angle":{"default":0.0,"description":"Angle in degrees between the new plane and the reference, about axis","type":"number"},"axis":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Name of the axis the plane rotates about, e.g. 'Axis1' from create_axis; required with angle"},"face_point":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"default":null,"description":"[x, y, z] in mm on a flat face of the part (sloped or not), to use that face as the reference instead of a named plane"},"flip":{"default":false,"description":"Reverse the offset side or the angle direction","type":"boolean"},"offset":{"default":0.0,"description":"Offset distance in millimetres. Non-zero for a named plane; 0 with face_point puts the plane on the face","type":"number"},"reference":{"default":"","description":"Name of the reference plane, e.g. 'Front Plane' or 'Plane1'; leave it out when giving face_point","type":"string"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_reference_plane","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Reference Plane"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Reference Axis"},"description":"Add a reference axis along the model's x, y or z direction, through the origin.\n\nUse it before `pattern_circular`, which rotates features about an axis. It is\nbuilt where two default planes meet. Needs: an open part. Changes: adds an axis\nfeature. Returns: `axis` with `name` (e.g. \"Axis1\", for\n`create_reference_plane`'s `axis`), `reference`, `planes` and the feature counts.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The axis. `reference` (\"x\", \"y\" or \"z\") is required.","properties":{"reference":{"description":"Principal axis direction: 'x', 'y' or 'z' (case-insensitive; a leading +/- is stripped)","type":"string"}},"required":["reference"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_axis","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Reference Axis"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Reference Point"},"description":"Add a reference point on an edge (at a distance or percentage along it) or at the centre of a face.\n\nUse it to mark a position for a later feature or measurement. Pick the edge or\nface with a point on it in mm. Needs: an open part with that edge or face.\nChanges: adds a point feature. Returns: `point` with `mode`, `at_mm`,\n`distance_mm` or `percent`, and the feature counts.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The point. `mode` (along_curve or face_center) and `x`,\n`y`, `z` (mm) are required; for along_curve give one of `distance`\n(mm) or `percent`.","properties":{"distance":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"along_curve only: offset from the edge start in mm (give exactly one of distance or percent)"},"mode":{"description":"'along_curve' (a point on an edge) or 'face_center' (the centroid of a face)","type":"string"},"percent":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"along_curve only: position as 0-100 of the edge length"},"x":{"description":"X of a point on the target edge/face, in mm","type":"number"},"y":{"description":"Y of a point on the target edge/face, in mm","type":"number"},"z":{"description":"Z of a point on the target edge/face, in mm","type":"number"}},"required":["mode","x","y","z"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_reference_point","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Reference Point"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Mirror Feature"},"description":"Mirror solid bodies or features of the active part about a plane.\n\nUse it for symmetric parts: model one half, then mirror. Body mirroring (the\ndefault) is what works for lofts and sweeps; to mirror a cut, name the cut and\nset `mirror_bodies` off. It fails when the volume doesn't change, which means\nnothing was mirrored. Needs: an open part with the named bodies or features.\nChanges: adds a Mirror feature. Returns: `mirror` with `name`, `mirrored`,\n`mirror_plane`, `merge`, `mirror_bodies`, and `volume_before`,\n`volume_after` and `volume_change` (mm³, negative for a cut).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The mirror. `features` (at least one name) and\n`mirror_plane` (e.g. \"Right Plane\") are required; `merge` and\n`mirror_bodies` are on.","properties":{"features":{"description":"Body or feature names to mirror. At least one required. For a body mirror these are the names as they appear under Solid Bodies, which for a lofted wing is the loft's own name","items":{"type":"string"},"type":"array"},"merge":{"default":true,"description":"Merge the mirrored result with the original body","type":"boolean"},"mirror_bodies":{"default":true,"description":"Mirror whole solid bodies rather than individual features. Defaults to True, which is what works for anything built from a loft or sweep - a feature mirror only resolves when the feature's own sketch sits on the mirror plane","type":"boolean"},"mirror_plane":{"description":"Plane name to mirror about, e.g. 'Right Plane'","type":"string"}},"required":["mirror_plane"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"mirror_feature","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Mirror Feature"},{"_meta":{"fastmcp":{"tags":["level:stable","modeling"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Circular Pattern"},"description":"Repeat features of the active part around an axis, e.g. a ring of bosses or ribs.\n\nCreate the axis first with `create_axis`. Bosses and cuts both work (a ring of\nholes is a patterned cut). It fails when the volume doesn't change, which\nmeans no instance landed on the part. Needs: an open part with the named\nfeatures and axis. Changes: adds a circular pattern feature. Returns:\n`pattern` with `name`, `patterned`, `axis`, `count`, `angle`,\n`equal_spacing`, and `volume_before`, `volume_after` and `volume_change`\n(mm³, negative for cuts).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The pattern. `features` (at least one), `axis` and `count`\n(2 or more, the original included) are required; `angle` (360) and\n`equal_spacing` (on) have defaults.","properties":{"angle":{"default":360.0,"description":"Total angle in degrees to spread the instances over. Defaults to a full 360","type":"number"},"axis":{"description":"Name of the axis to rotate about, e.g. 'Axis1' as created by create_axis","type":"string"},"count":{"description":"Total number of instances including the original. Must be at least 2 - a pattern of one is just the original feature","type":"integer"},"equal_spacing":{"default":true,"description":"Space instances evenly across 'angle'","type":"boolean"},"features":{"description":"Names of the features to pattern. At least one required.","items":{"type":"string"},"type":"array"}},"required":["axis","count"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"pattern_circular","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Circular Pattern"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Sketch"},"description":"Open a new sketch on a plane of the active part, ready for lines, circles and other sketch entities.\n\nUse it first in every feature: sketch, draw, `exit_sketch`, then\n`create_extrusion` or `create_cut_extrude`. Planes: Front, Top, Right (or XY,\nXZ, YZ), or a plane made by `create_reference_plane`. Coordinates in the sketch\nare mm from the origin. Needs: an open part. Changes: adds a sketch and opens it\nfor editing; give `sketch_name` and `exit_sketch` names it that when it closes\nit (SolidWorks won't rename an open sketch). Returns: `sketch` with `name` (the\nname in the feature tree now) and `plane`, plus `name_on_exit` when you gave\n`sketch_name`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The sketch. `plane` is required; `sketch_name` names it.","properties":{"plane":{"description":"Sketch plane name (e.g., 'Top', 'Front', 'Right', 'XY', 'XZ', 'YZ')","type":"string"},"sketch_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Name to give the sketch in the feature tree, applied when exit_sketch closes it; omit to keep SolidWorks' own (Sketch1, Sketch2, ...)"}},"required":["plane"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_sketch","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Sketch"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Sketch Line"},"description":"Draw a straight line between two points in the open sketch, in mm.\n\nUse it for profiles made of straight edges; for a closed box, use\n`add_rectangle`, and for a revolve axis, `add_centerline`. Needs: an open sketch\n(`create_sketch`). Changes: adds a line (a construction line with\n`construction`). Returns: `line` with `id`, `start`, `end` and `length`. Its\n`id` is what `add_sketch_constraint` and `add_sketch_dimension` take.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The line. Give `x1`, `y1`, `x2`, `y2` (mm; or `start_x`,\n`start_y`, `end_x`, `end_y`); `construction` is off.","properties":{"construction":{"default":false,"description":"Construction geometry flag","type":"boolean"},"end_x":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"End point X alias"},"end_y":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"End point Y alias"},"start_x":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Start point X alias"},"start_y":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Start point Y alias"},"x1":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Start point X coordinate in mm"},"x2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"End point X coordinate in mm"},"y1":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Start point Y coordinate in mm"},"y2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"End point Y coordinate in mm"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_line","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Sketch Line"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Sketch Circle"},"description":"Draw a circle in the open sketch from its centre and radius, in mm.\n\nUse it for holes and round bosses. Needs: an open sketch (`create_sketch`).\nChanges: adds a circle (a construction circle with `construction`). Returns:\n`circle` with `id`, `center`, `radius` and `diameter`. Its `id` is what\n`add_sketch_constraint` and `add_sketch_dimension` take.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The circle. `center_x`, `center_y` and `radius` (mm) are\nrequired; `construction` is off.","properties":{"center_x":{"description":"Circle center X coordinate in mm","type":"number"},"center_y":{"description":"Circle center Y coordinate in mm","type":"number"},"construction":{"default":false,"description":"Construction geometry flag","type":"boolean"},"radius":{"description":"Circle radius in mm","type":"number"}},"required":["center_x","center_y","radius"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_circle","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Sketch Circle"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Sketch Rectangle"},"description":"Draw a closed, axis-aligned rectangle in the open sketch from two opposite corners, in mm.\n\nUse it for blocks, plates and rectangular cut-outs. Needs: an open sketch\n(`create_sketch`). Changes: adds four connected lines. Returns: `rectangle` with\n`id`, `corner1`, `corner2`, `width`, `height` and `area`. Its `id` is what\n`add_sketch_constraint` and `add_sketch_dimension` take.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The rectangle. Give `x1`, `y1`, `x2`, `y2` (mm; or\n`corner1_x` ... `corner2_y`); `construction` is off.","properties":{"construction":{"default":false,"description":"Construction geometry flag","type":"boolean"},"corner1_x":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Corner 1 X alias"},"corner1_y":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Corner 1 Y alias"},"corner2_x":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Corner 2 X alias"},"corner2_y":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Corner 2 Y alias"},"x1":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"First corner X coordinate in mm"},"x2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Opposite corner X coordinate in mm"},"y1":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"First corner Y coordinate in mm"},"y2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Opposite corner Y coordinate in mm"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_rectangle","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Sketch Rectangle"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Exit Sketch"},"description":"Close the open sketch so a feature can use it.\n\nCall it after drawing and before `create_extrusion`, `create_revolve` or\n`create_cut_extrude`; those use the sketch closed last. Needs: an open sketch.\nChanges: leaves sketch editing; the sketch stays in the feature tree, renamed\nto the `sketch_name` `create_sketch` was given. Returns: a message, plus, after\na `sketch_name`, `sketch` with `name` (the name in the feature tree, which later\ntools take as `sketch_name`) and a `warning` when the name couldn't be given\n(another feature has it).","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"exit_sketch","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Exit Sketch"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Check Sketch Fully Defined"},"description":"Check whether a sketch is fully defined, under-defined or over-defined.\n\nUse it after adding relations and dimensions, to see if the sketch still has\nfree geometry. Needs: an open part with the sketch. Read-only. Returns: `sketch`\nwith `sketch_name`, `is_fully_defined` (null when unknown), `definition_state`\nand where the answer came from (`source`).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for checking sketch definition status.\n\nAttributes:\n    sketch_name (str | None): Optional sketch name to inspect.","properties":{"sketch_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional sketch name. If omitted, checks the active or last sketch."}},"type":"object"},{"type":"null"}],"default":null,"description":"Nothing is required: give `sketch_name`, or omit it for the\nopen or last sketch."}},"type":"object"},"name":"check_sketch_fully_defined","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Check Sketch Fully Defined"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Sketch Arc"},"description":"Draw a circular arc in the open sketch from its centre, start point and end point, in mm.\n\nUse it for rounded ends and curved edges of a profile. Needs: an open sketch\n(`create_sketch`). Changes: adds an arc. Returns: `arc` with `id`, `center`,\n`start_point` and `end_point`. Its `id` is what `add_sketch_constraint` and\n`add_sketch_dimension` take.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The arc. `center_x`, `center_y`, `start_x`, `start_y`,\n`end_x` and `end_y` (mm) are all required.","properties":{"center_x":{"description":"Arc center X coordinate in mm","type":"number"},"center_y":{"description":"Arc center Y coordinate in mm","type":"number"},"end_x":{"description":"Arc end point X coordinate in mm","type":"number"},"end_y":{"description":"Arc end point Y coordinate in mm","type":"number"},"start_x":{"description":"Arc start point X coordinate in mm","type":"number"},"start_y":{"description":"Arc start point Y coordinate in mm","type":"number"}},"required":["center_x","center_y","start_x","start_y","end_x","end_y"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_arc","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Sketch Arc"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Sketch Spline"},"description":"Draw a smooth spline through a list of points in the open sketch, in mm.\n\nUse it for free-form curves such as an aerofoil or a handle profile. Needs: an\nopen sketch (`create_sketch`). Changes: adds a spline. Returns: `spline` with\n`id`, `control_points` and `point_count`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The spline. `points` (a list of {\"x\", \"y\"} in mm) is\nrequired.","properties":{"points":{"description":"List of spline control points with x, y coordinates","items":{"additionalProperties":{"type":"number"},"type":"object"},"type":"array"}},"required":["points"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_spline","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Sketch Spline"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Sketch Centerline"},"description":"Draw a centreline (construction line) in the open sketch, in mm.\n\nUse it as the axis for `create_revolve`, or as the line for `sketch_mirror` and\nsymmetric relations. It is never part of the profile. Needs: an open sketch\n(`create_sketch`). Changes: adds a centreline. Returns: `centerline` with `id`,\n`start_point` and `end_point`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The line. Give `x1`, `y1`, `x2`, `y2` (mm; or `start_x`,\n`start_y`, `end_x`, `end_y`); `construction` is not used.","properties":{"construction":{"default":false,"description":"Construction geometry flag","type":"boolean"},"end_x":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"End point X alias"},"end_y":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"End point Y alias"},"start_x":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Start point X alias"},"start_y":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Start point Y alias"},"x1":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Start point X coordinate in mm"},"x2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"End point X coordinate in mm"},"y1":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Start point Y coordinate in mm"},"y2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"End point Y coordinate in mm"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_centerline","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Sketch Centerline"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Sketch Polygon"},"description":"Draw a regular polygon (e.g. a hexagon) in the open sketch from its centre, radius and number of sides.\n\nUse it for nuts, hex bosses and pockets. Needs: an open sketch\n(`create_sketch`). Changes: adds the polygon's sides. Returns: `polygon` with\n`id`, `center`, `radius` and `sides`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping: `center_x`, `center_y` (mm, default 0), `radius`\n(mm, circumscribed, default 10) and `sides` (default 6).","type":"object"}},"required":["input_data"],"type":"object"},"name":"add_polygon","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Sketch Polygon"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Sketch Ellipse"},"description":"Draw an ellipse in the open sketch from its centre and axis lengths, in mm.\n\nUse it for oval holes and bosses. Needs: an open sketch (`create_sketch`).\nChanges: adds an ellipse. Returns: `ellipse` with `id`, `center`, `major_axis`\nand `minor_axis`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping: `center_x`, `center_y` (mm, default 0),\n`major_axis` (default 20) and `minor_axis` (default 10), in mm.","type":"object"}},"required":["input_data"],"type":"object"},"name":"add_ellipse","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Sketch Ellipse"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Sketch Relation"},"description":"Add a geometric relation between sketch entities: horizontal, vertical, parallel, perpendicular, tangent, coincident, concentric, equal, symmetric, collinear or fix.\n\nUse it to hold design intent, then check with `check_sketch_fully_defined`.\nEntities are the `id`s the add_* tools returned. Needs: an open sketch\n(`create_sketch`). Changes: adds the relation. Returns: `constraint` with `id`,\n`type` and the entities.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The relation. `entity1` and `relation_type` are required;\n`entity2` when the relation needs two, and `entity3` (the\ncentreline) only for symmetric.","properties":{"entity1":{"description":"First entity name or ID","type":"string"},"entity2":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Second entity name or ID (if required)"},"entity3":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Third entity ID. Required for 'symmetric' (the centerline of symmetry); must be null for all other relations."},"relation_type":{"description":"Relation type (parallel, perpendicular, tangent, coincident, etc.)","type":"string"}},"required":["entity1","relation_type"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_sketch_constraint","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Sketch Relation"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Sketch Dimension"},"description":"Add a driving dimension to sketch entities: linear, angular, radial or diameter.\n\nUse it to fix a size so the sketch is fully defined and can be changed later\nwith `set_dimension`. Entities are the `id`s the add_* tools returned; two\nconnected lines for angular, a circle or arc for radial or diameter. No dialog\nopens. Needs: an open sketch (`create_sketch`). Changes: adds the dimension and\nresizes the geometry to `value`. Returns: `dimension` with `id`, `type`, `value`\nand the entities.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The dimension. `entity1` and `value` (mm, or degrees for\nangular) are required; `entity2` and `dimension_type` (linear) have\ndefaults.","properties":{"dimension_type":{"default":"linear","description":"Dimension type (linear, radial, angular, etc.)","type":"string"},"entity1":{"description":"First entity name or ID","type":"string"},"entity2":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Second entity name or ID (for distance dimensions)"},"value":{"description":"Dimension value in mm or degrees","type":"number"}},"required":["entity1","value"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_sketch_dimension","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Sketch Dimension"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Sketch Linear Pattern"},"description":"Repeat sketch entities in a straight line at a fixed spacing.\n\nUse it for rows of holes or slots before one cut. Needs: an open sketch\n(`create_sketch`). Changes: adds copies of the entities. Returns: `pattern` with\n`id`, `entities`, `count`, `spacing` and `direction`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping: `entities` (ids to repeat), `direction_x`/\n`direction_y` (default 1, 0), `spacing` (mm, default 10) and\n`count` (instances, default 3).","type":"object"}},"required":["input_data"],"type":"object"},"name":"sketch_linear_pattern","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Sketch Linear Pattern"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Sketch Circular Pattern"},"description":"Repeat sketch entities around the sketch origin, e.g. a bolt circle.\n\nThe centre is always the sketch origin, so draw the first entity at the radius\nyou want from it. Then cut once with `create_cut_extrude`. Needs: an open sketch\n(`create_sketch`). Changes: adds copies of the entities. Returns: `pattern` with\n`id`, `entities`, `count` and `angle`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping: `entities` (ids to repeat), `count` (instances,\ndefault 6) and `angle` (degrees spread over, default 360).","type":"object"}},"required":["input_data"],"type":"object"},"name":"sketch_circular_pattern","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Sketch Circular Pattern"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Mirror Sketch Entities"},"description":"Mirror sketch entities about a centreline in the open sketch.\n\nUse it for symmetric profiles: draw one half, add a centreline with\n`add_centerline`, then mirror. Needs: an open sketch (`create_sketch`). Changes:\nadds mirrored copies. Returns: `mirror` with `id`, `entities` and `mirror_line`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping: `entities` (ids to mirror) and `mirror_line`\n(the centreline's id).","type":"object"}},"required":["input_data"],"type":"object"},"name":"sketch_mirror","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Mirror Sketch Entities"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Offset Sketch Entities"},"description":"Offset sketch entities by a distance in mm, outward or inward, e.g. for a wall or a clearance.\n\nNeeds: an open sketch (`create_sketch`). Changes: adds the offset entities.\nReturns: `offset` with `id`, `entities`, `distance` and `direction` (outward or\ninward).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping: `entities` (ids to offset), `offset_distance`\n(mm, default 5) and `reverse_direction` (inward; default off).","type":"object"}},"required":["input_data"],"type":"object"},"name":"sketch_offset","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Offset Sketch Entities"},{"_meta":{"fastmcp":{"tags":["level:stable","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Tutorial: Hole Sketch"},"description":"Demonstrate the sketch steps: draw a 5 mm circle at the origin on the Top plane and close the sketch.\n\nIt is a fixed example; for a real hole, use `create_sketch`, `add_circle`,\n`exit_sketch` and `create_cut_extrude`. Needs: an open part. Changes: adds a\nsketch with one circle. Returns: `steps_completed`, `next_step` (cut the hole\nwith `create_cut_extrude`) and `suggested_cut`, that call's input.","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"sketch_tutorial_simple_hole","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Tutorial: Hole Sketch"},{"_meta":{"fastmcp":{"tags":["level:planned","sketching"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Tutorial: Simple Hole"},"description":"Draw a circle on a plane and cut it as a hole, as one worked example.\n\nNot available yet on real SolidWorks: its cut step has no COM implementation,\nso the call draws and closes the sketch, then fails. It is planned for a future\nrelease. Use `create_sketch`, `add_circle`, `exit_sketch` and\n`create_cut_extrude` instead. Needs: an open part with a solid body.\nChanges: adds a sketch (and, with the mock adapter, a cut). Returns: `tutorial`\nwith `plane`, `diameter`, `depth` and `steps`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The hole. `plane`, `center_x`, `center_y` and `diameter`\n(mm) are required; `depth` defaults to the diameter.","properties":{"center_x":{"description":"Hole center X coordinate in mm","type":"number"},"center_y":{"description":"Hole center Y coordinate in mm","type":"number"},"depth":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Hole depth in mm (None for through hole)"},"diameter":{"description":"Hole diameter in mm","type":"number"},"plane":{"description":"Sketch plane for the hole","type":"string"}},"required":["plane","center_x","center_y","diameter"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"tutorial_simple_hole","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Tutorial: Simple Hole"},{"_meta":{"fastmcp":{"tags":["drawing","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Drawing View"},"description":"Place one named view of a part or assembly on the active drawing sheet.\n\nUse it to add views one at a time; for the three standard views in one call, use\n`create_technical_drawing`, and for a whole drawing from a model, use\n`generate_drawing_package`. `add_drawing_view` does the same as this tool.\nNeeds: an open, active drawing and the model file on disk. Changes: adds a view\nto the sheet. Returns: `data` with the view's `name`, `orientation`, `position`,\n`scale` and the view counts before and after.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The view. `model_path` and `view_type` (front, back, left, right, top, bottom, isometric (iso), trimetric, dimetric or current) are\nrequired; `position_x`/`position_y` (mm on the sheet) and `scale`\nhave defaults.","properties":{"model_path":{"description":"Path to the SolidWorks model file","type":"string"},"orientation":{"default":"front","description":"View orientation (front, top, right, isometric)","type":"string"},"position_x":{"default":100.0,"description":"X position in drawing (mm)","type":"number"},"position_y":{"default":200.0,"description":"Y position in drawing (mm)","type":"number"},"scale":{"default":1.0,"description":"View scale factor","type":"number"},"view_type":{"description":"Type of view (orthographic, isometric, section, detail)","type":"string"}},"required":["model_path","view_type"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_drawing_view","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Drawing View"},{"_meta":{"fastmcp":{"tags":["drawing","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Drawing Dimension"},"description":"Add one dimension between drawing entities at a position on the sheet.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To bring the\nmodel's own dimensions into a drawing today, use `insert_model_dimensions`.\nChanges: once available, adds a dimension to the drawing. Returns: once\navailable, the dimension under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The dimension. `dimension_type`, `entity1`, `position_x`\nand `position_y` are required; `entity2` and `precision` have\ndefaults.","properties":{"dimension_type":{"description":"Type of dimension (linear, radial, angular, diameter)","type":"string"},"entity1":{"description":"First entity to dimension (edge, face, point)","type":"string"},"entity2":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Second entity for linear/angular dimensions"},"position_x":{"description":"X position for dimension text","type":"number"},"position_y":{"description":"Y position for dimension text","type":"number"},"precision":{"default":2,"description":"Number of decimal places","type":"integer"}},"required":["dimension_type","entity1","position_x","position_y"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_dimension","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Drawing Dimension"},{"_meta":{"fastmcp":{"tags":["drawing","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Drawing Note"},"description":"Place a text note on the active drawing sheet at a position in millimetres.\n\nUse it for general notes such as material or finish. For a title block, use\n`generate_drawing_package`, which fills one. Needs: an open, active drawing.\nChanges: adds a note to the sheet. Returns: `data` with `text`, `position`,\n`positioned` (whether the position was applied) and `font_size_points`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The note. `text`, `position_x` and `position_y` (mm from\nthe sheet's lower-left corner) are required; `font_size` (points)\nhas a default.","properties":{"font_size":{"default":12.0,"description":"Font size in points","type":"number"},"leader_attachment":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Entity to attach leader line to"},"position_x":{"description":"X position for note","type":"number"},"position_y":{"description":"Y position for note","type":"number"},"text":{"description":"Note text content","type":"string"}},"required":["text","position_x","position_y"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_note","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Drawing Note"},{"_meta":{"fastmcp":{"tags":["drawing","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Section View"},"description":"Cut a section view along a line across a drawing view.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Use\nSolidWorks directly (Insert > Drawing View > Section). Changes: once available,\nadds a section view. Returns: once available, the view under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The section. `section_line_start`, `section_line_end`,\n`view_position_x` and `view_position_y` are required; `scale` and\n`label` have defaults.","properties":{"label":{"default":"A","description":"Section view label","type":"string"},"scale":{"default":1.0,"description":"Section view scale","type":"number"},"section_line_end":{"description":"End point of section line as [x, y]","items":{"type":"number"},"maxItems":2,"minItems":2,"type":"array"},"section_line_start":{"description":"Start point of section line as [x, y]","items":{"type":"number"},"maxItems":2,"minItems":2,"type":"array"},"view_position_x":{"description":"X position for section view","type":"number"},"view_position_y":{"description":"Y position for section view","type":"number"}},"required":["section_line_start","section_line_end","view_position_x","view_position_y"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_section_view","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Section View"},{"_meta":{"fastmcp":{"tags":["drawing","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Detail View"},"description":"Magnify a circular area of a drawing view as a detail view.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Use\nSolidWorks directly (Insert > Drawing View > Detail). Changes: once available,\nadds a detail view. Returns: once available, the view under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The detail. `center_x`, `center_y`, `radius`,\n`view_position_x` and `view_position_y` are required; `scale` and\n`label` have defaults.","properties":{"center_x":{"description":"X center of detail circle","type":"number"},"center_y":{"description":"Y center of detail circle","type":"number"},"label":{"default":"A","description":"Detail view label","type":"string"},"radius":{"description":"Radius of detail circle","type":"number"},"scale":{"default":2.0,"description":"Detail view scale","type":"number"},"view_position_x":{"description":"X position for detail view","type":"number"},"view_position_y":{"description":"Y position for detail view","type":"number"}},"required":["center_x","center_y","radius","view_position_x","view_position_y"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_detail_view","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Detail View"},{"_meta":{"fastmcp":{"tags":["drawing","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Update Sheet Format"},"description":"Change the active drawing's sheet format file and title-block fields.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release.\n`generate_drawing_package` sets the sheet format and fills the title block when\nit creates a drawing. Changes: once available, replaces the sheet format.\nReturns: once available, the new format under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The format. `format_file` is required; `sheet_size` and\nthe title-block fields have defaults.","properties":{"approved_by":{"default":"","description":"Approved by field","type":"string"},"checked_by":{"default":"","description":"Checked by field","type":"string"},"drawing_number":{"default":"","description":"Drawing number","type":"string"},"drawn_by":{"default":"","description":"Drawn by field","type":"string"},"format_file":{"description":"Path to sheet format template (.slddrt)","type":"string"},"sheet_size":{"default":"A3","description":"Sheet size (A4, A3, A2, A1, A0)","type":"string"},"title":{"default":"","description":"Drawing title","type":"string"}},"required":["format_file"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"update_sheet_format","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Update Sheet Format"},{"_meta":{"fastmcp":{"tags":["drawing","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Auto-Dimension Drawing View"},"description":"Dimension a drawing view automatically with SolidWorks' auto-dimension scheme.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Use\n`insert_model_dimensions` and then `arrange_dimensions` today. Changes: once\navailable, adds dimensions to the view. Returns: once available, the dimensions\nadded under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with the `view_name` to dimension.","type":"object"}},"required":["input_data"],"type":"object"},"name":"auto_dimension_view","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Auto-Dimension Drawing View"},{"_meta":{"fastmcp":{"tags":["drawing","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Check Drawing Standards"},"description":"Check the active drawing against a drafting standard and score it.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. SolidWorks\nDesign Checker does this today. Read-only. Returns: once available, the findings\nunder `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with the `standard` to check against.","type":"object"}},"required":["input_data"],"type":"object"},"name":"check_drawing_standards","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Check Drawing Standards"},{"_meta":{"fastmcp":{"tags":["drawing","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Create Technical Drawing"},"description":"Place a model's three standard views (front, top and side) on the active drawing sheet in one call.\n\nUse it to start a drawing's views quickly; for one view, use\n`create_drawing_view`, and to create and save a complete drawing from a model\nfile, use `generate_drawing_package`. Views are laid out in `projection`\n(third-angle by default). Needs: an open, active drawing and the model file on\ndisk. Changes: adds three views to the sheet. Returns: `data` with `views` (the\nnames added), `model_path`, `projection` and the view counts.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The model to draw. Give `model_file`; `projection` is\nthird_angle unless you pass first_angle.","properties":{"model_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Model file (.sldprt or .sldasm) to draw"},"projection":{"default":"third_angle","description":"Projection the views are laid out in","enum":["third_angle","first_angle"],"type":"string"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_technical_drawing","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Technical Drawing"},{"_meta":{"fastmcp":{"tags":["drawing","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Drawing View"},"description":"Place one named view of a part or assembly on the active drawing sheet; the same as `create_drawing_view`.\n\nPrefer `create_drawing_view`; this tool reaches the same code and is kept for\nexisting callers. It only adds views: an `operation` other than \"add\" is\nrefused. Needs: an open, active drawing and the model file on\ndisk. Changes: adds a view to the sheet. Returns: `data` with the view's `name`,\n`orientation`, `position`, `scale` and the view counts.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The view. Give `model_file` and `view_type` (front, back, left, right, top, bottom, isometric (iso), trimetric, dimetric or current);\n`position` ([x, y] mm on the sheet) and `scale` have defaults.","properties":{"drawing_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to drawing file"},"model_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Model file path"},"operation":{"default":"add","description":"Only \"add\" is supported; any other value is refused","type":"string"},"parameters":{"additionalProperties":true,"default":{},"description":"View parameters","type":"object"},"parent_view":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Parent view alias"},"position":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"default":null,"description":"View position"},"scale":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"View scale"},"view_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Name of the drawing view"},"view_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Type of view"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_drawing_view","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Drawing View"},{"_meta":{"fastmcp":{"tags":["drawing","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Drawing Annotation"},"description":"Add an annotation (a note, balloon or surface-finish symbol) to the active drawing.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. For a text\nnote today, use `add_note`; for GD&T, use `add_gtol` and `add_datum_tag`.\nChanges: once available, adds the annotation. Returns: once available, the\nannotation under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The annotation. `annotation_type` and `text` are required;\nthe position and font fields have defaults.","properties":{"annotation_type":{"description":"Type of annotation (note, balloon, surface_finish, etc.)","type":"string"},"approved_by":{"default":"","description":"Approved by field","type":"string"},"checked_by":{"default":"","description":"Checked by field","type":"string"},"drawing_number":{"default":"","description":"Drawing number","type":"string"},"drawing_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to drawing file"},"drawn_by":{"default":"","description":"Drawn by field","type":"string"},"font_size":{"default":12.0,"description":"Font size in points","type":"number"},"leader_attachment":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Entity to attach leader line to"},"position":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"default":null,"description":"Annotation position"},"position_x":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"X position for annotation"},"position_y":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Y position for annotation"},"text":{"description":"Annotation text content","type":"string"}},"required":["annotation_type","text"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"add_annotation","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Drawing Annotation"},{"_meta":{"fastmcp":{"tags":["drawing","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Update Title Block"},"description":"Fill in the active drawing's title-block fields (title, drawn by, drawing number and so on).\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release.\n`generate_drawing_package` fills the title block when it creates a drawing, and\n`set_custom_property` sets the properties a title block reads. Changes: once\navailable, rewrites the title-block fields. Returns: once available, the fields\nset under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping of title-block field names to values.","type":"object"}},"required":["input_data"],"type":"object"},"name":"update_title_block","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Update Title Block"},{"_meta":{"fastmcp":{"tags":["drawing","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"List Drawing Views"},"description":"List the views on the active drawing, by name.\n\nUse it before `auto_center_marks`, `insert_model_dimensions` or any tool that\ntakes a view name. Needs: an open, active drawing. Read-only. Returns: `views`\n(names, sheet formats left out) and `count`.","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"list_drawing_views","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Drawing Views"},{"_meta":{"fastmcp":{"tags":["drawing","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Centre Marks"},"description":"Insert centre marks on the holes, slots and (optionally) fillets of one drawing view.\n\nUse it after placing views, before dimensioning holes. Adding none is still a\nsuccess: the view may have no unmarked circular edges. Needs: an open drawing\nwith the named view (see `list_drawing_views`). Changes: adds centre-mark\nannotations to the view. Returns: `data` with `center_marks_added` and the\ncounts before and after.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The view. `view_name` is required; `mark_holes` and\n`mark_slots` default to on, `mark_fillets` to off.","properties":{"mark_fillets":{"default":false,"description":"Mark fillets","type":"boolean"},"mark_holes":{"default":true,"description":"Mark holes / bores","type":"boolean"},"mark_slots":{"default":true,"description":"Mark slots","type":"boolean"},"view_name":{"description":"Name of a view on the active drawing, e.g. 'Drawing View1'","type":"string"}},"required":["view_name"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"auto_center_marks","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Centre Marks"},{"_meta":{"fastmcp":{"tags":["drawing_analysis","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Analyze Drawing (All Checks)"},"description":"Run every drawing check (dimensions, views, annotations, standards) on a drawing file in one call.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To see what a\ndrawing holds today, use `list_drawing_views`. Read-only. Returns: once\navailable, the combined findings under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The drawing to check. `drawing_path` (.slddrw) is required;\n`analysis_type`, `analysis_depth`, `standards_check` and\n`generate_report` have defaults.","properties":{"analysis_depth":{"default":"Basic","description":"Analysis depth level","type":"string"},"analysis_type":{"default":"comprehensive","description":"Analysis type (comprehensive, dimensions, views, annotations)","type":"string"},"drawing_path":{"description":"Path to drawing file (.slddrw)","type":"string"},"generate_report":{"default":true,"description":"Generate detailed report","type":"boolean"},"standards_check":{"default":true,"description":"Check against drafting standards","type":"boolean"}},"required":["drawing_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"analyze_drawing_comprehensive","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Analyze Drawing (All Checks)"},{"_meta":{"fastmcp":{"tags":["drawing_analysis","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Analyze Drawing Dimensions"},"description":"Check a drawing's dimensions for consistent precision, tolerance formatting and completeness.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To bring the\nmodel's dimensions into a drawing, use `insert_model_dimensions`. Read-only.\nReturns: once available, the dimension findings under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The drawing to check. `drawing_path` is required; the\n`check_precision`, `check_tolerances` and `check_completeness`\nswitches default to on.","properties":{"check_completeness":{"default":true,"description":"Check dimension completeness","type":"boolean"},"check_precision":{"default":true,"description":"Check dimension precision consistency","type":"boolean"},"check_tolerances":{"default":true,"description":"Check tolerance formatting","type":"boolean"},"drawing_path":{"description":"Path to drawing file","type":"string"}},"required":["drawing_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"analyze_drawing_dimensions","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Analyze Drawing Dimensions"},{"_meta":{"fastmcp":{"tags":["drawing_analysis","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Analyze Drawing Annotations"},"description":"Check a drawing's notes, symbols and text styles for consistency.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Read-only.\nReturns: once available, the annotation findings under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The drawing to check. `drawing_path` is required; the\n`check_notes`, `check_symbols`, `check_text_styles` and\n`check_annotations` switches default to on.","properties":{"check_annotations":{"default":true,"description":"Alias used by tests","type":"boolean"},"check_notes":{"default":true,"description":"Check note formatting and content","type":"boolean"},"check_symbols":{"default":true,"description":"Check symbol usage and placement","type":"boolean"},"check_text_styles":{"default":true,"description":"Check text style consistency","type":"boolean"},"drawing_path":{"description":"Path to drawing file","type":"string"}},"required":["drawing_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"analyze_drawing_annotations","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Analyze Drawing Annotations"},{"_meta":{"fastmcp":{"tags":["drawing_analysis","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Check Drawing Compliance"},"description":"Check a drawing's title block and sheet format against a drafting standard (ISO, ANSI or DIN).\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. For the same\ncheck on the active drawing, `check_drawing_standards` is also not available\nyet. Read-only. Returns: once available, the compliance findings under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The drawing and standard. `drawing_path` is required;\n`standard` defaults to \"ISO\", and `check_title_block` and\n`check_sheet_format` default to on.","properties":{"check_sheet_format":{"default":true,"description":"Check sheet format compliance","type":"boolean"},"check_title_block":{"default":true,"description":"Check title block compliance","type":"boolean"},"drawing_path":{"description":"Path to drawing file","type":"string"},"standard":{"default":"ISO","description":"Standard to check against (ISO, ANSI, DIN)","type":"string"},"standards_to_check":{"description":"Standards list alias","items":{"type":"string"},"type":"array"}},"required":["drawing_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"check_drawing_compliance","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Check Drawing Compliance"},{"_meta":{"fastmcp":{"tags":["drawing_analysis","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Analyze Drawing Views"},"description":"Check how a drawing's views are chosen and laid out.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To list the\nviews on the active drawing today, use `list_drawing_views`. Read-only. Returns:\nonce available, the view findings under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with the `drawing_path` of the drawing to check.","type":"object"}},"required":["input_data"],"type":"object"},"name":"analyze_drawing_views","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Analyze Drawing Views"},{"_meta":{"fastmcp":{"tags":["drawing_analysis","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate Drawing Report"},"description":"Write a quality report that combines every drawing check.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Read-only.\nReturns: once available, the report under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with the `drawing_path` of the drawing to report\non.","type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_drawing_report","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate Drawing Report"},{"_meta":{"fastmcp":{"tags":["drawing_analysis","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Compare Drawing Files"},"description":"Compare two drawing files on disk: whether they are byte-identical, and how their sizes differ.\n\nUse it to tell whether a drawing changed between two saved versions. It does not\nopen SolidWorks, so it can't say which views, dimensions or notes differ.\nIdentical files mean nothing changed, but different files may not: SolidWorks\nwrites a different file each time it saves, even with no change. Needs:\nboth files on disk. Read-only. Returns: `comparison` with `file_1` and `file_2`\n(size, modified time, SHA-256), `identical` and `size_delta_bytes`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"Both full paths, `drawing_version_1` and\n`drawing_version_2`; both are required.","properties":{"drawing_version_1":{"description":"Full path to the first drawing file","minLength":1,"type":"string"},"drawing_version_2":{"description":"Full path to the second drawing file","minLength":1,"type":"string"}},"required":["drawing_version_1","drawing_version_2"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"compare_drawing_versions","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Compare Drawing Files"},{"_meta":{"fastmcp":{"tags":["drawing_analysis","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Validate Drawing Completeness"},"description":"Check that a drawing carries everything needed to manufacture the part.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Read-only.\nReturns: once available, the missing items under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with the `drawing_path` of the drawing to check.","type":"object"}},"required":["input_data"],"type":"object"},"name":"validate_drawing_completeness","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Validate Drawing Completeness"},{"_meta":{"fastmcp":{"tags":["drawing_automation","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Insert Model Dimensions"},"description":"Bring the model's dimensions into the active drawing's views, each dimension shown once.\n\nImports the model's \"marked for drawing\" dimensions view by view; a repeat in a\nlater view is deleted. Pictorial views (isometric, dimetric, trimetric) are\nskipped unless named. Falls back to SolidWorks AutoDimension only when nothing\ncould be imported. SolidWorks places them inside the views, so run\n`arrange_dimensions` next. Needs: an open, active drawing with views. Changes:\nadds dimensions to the views. Returns: `data` with per-view `views`\n(before/after counts, `duplicates_removed`), `dimensions_added`,\n`unique_dimensions`, `skipped_pictorial_views` and the `method` used. An unknown\nview is `not_found`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for importing model dimensions into drawing views.\n\nAttributes:\n    view_name (str | None): One view, or every view when omitted.\n    include_hole_wizard (bool): Also import Hole Wizard location dims.","properties":{"include_hole_wizard":{"default":true,"description":"Also import Hole Wizard location dimensions","type":"boolean"},"view_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"One view, e.g. 'Drawing View1'; every orthographic view when omitted. Find names with list_drawing_views."}},"type":"object"},{"type":"null"}],"default":null,"description":"Which views. Nothing is required: give `view_name` for one\nview, or omit it for every view; `include_hole_wizard` has a default."}},"type":"object"},"name":"insert_model_dimensions","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Insert Model Dimensions"},{"_meta":{"fastmcp":{"tags":["drawing_automation","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Arrange Drawing Dimensions"},"description":"Move drawing dimensions out of their views into tidy rows so nothing overlaps, then check the sheet.\n\nRows start 8 mm outside each view, 7 mm apart, shortest span nearest the view. A\ndimension with no room stays put and is listed in `unplaced`. The check reads\nback every text box and line: no text on text, no line through text or across a\nview, nothing off the sheet. Use it after `insert_model_dimensions`. Needs: an\nopen, active drawing. Changes: moves dimensions on the sheet. Returns: `data`\nwith `dimensions`, `moved`, `overlaps_before`, `overlaps_after` and `unplaced`.\nIf any overlap remains the call is an error whose `data` lists\n`remaining_overlaps`; try a smaller sheet scale (`set_sheet_scale`).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for arranging drawing dimensions.\n\nAttributes:\n    view_name (str | None): One view, or every view when omitted.","properties":{"view_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Only move this view's dimensions, e.g. 'Drawing View1'; every view when omitted. The overlap check always covers the whole sheet."}},"type":"object"},{"type":"null"}],"default":null,"description":"Which views. Nothing is required: give `view_name` for one\nview's dimensions, or omit it for every view."}},"type":"object"},"name":"arrange_dimensions","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Arrange Drawing Dimensions"},{"_meta":{"fastmcp":{"tags":["drawing_automation","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Insert BOM Table"},"description":"Insert a bill-of-materials table for an assembly view on the active drawing.\n\nUse it on an assembly drawing after placing a view of the assembly (see\n`list_drawing_views` for view names). Needs: an open, active drawing with a view\nof an assembly. Changes: adds a BOM table to the sheet. Returns: `data` with\n`view`, `bom_type`, `template` and `row_count`. An unknown view is `not_found`\nand the message lists the views.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for inserting a BOM table.\n\nAttributes:\n    view_name (str): Assembly drawing view the BOM is attached to.\n    template_path (str | None): .sldbomtbt template.\n    bom_type (str): BOM type.\n    x_mm (float | None): Table X position.\n    y_mm (float | None): Table Y position.","properties":{"bom_type":{"default":"top_level_only","description":"BOM structure","enum":["top_level_only","parts_only","indented"],"type":"string"},"template_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":".sldbomtbt template; bom-standard when omitted"},"view_name":{"description":"A view of an assembly, e.g. 'Drawing View1'","type":"string"},"x_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Table X on the sheet (mm); the sheet's BOM anchor when omitted"},"y_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Table Y on the sheet (mm)"}},"required":["view_name"],"type":"object"},{"type":"null"}],"default":null,"description":"The table. `view_name` (a view of an assembly) is\nrequired; `bom_type` (\"top_level_only\", \"parts_only\" or \"indented\"),\n`template_path` and the position `x_mm`/`y_mm` (the sheet's BOM\nanchor when omitted) have defaults."}},"type":"object"},"name":"insert_bom_table","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Insert BOM Table"},{"_meta":{"fastmcp":{"tags":["drawing_automation","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add GD&T Frame"},"description":"Add a GD&T feature control frame to the active drawing, e.g. position Ø0.2 (M) to A|B|C.\n\nAttach it to a drawing dimension (`dimension_view` + `dimension_name`; the frame\nsits under the dimension's text, the usual place for a hole's position\ntolerance), or place it at `x_mm`/`y_mm` with an optional leader to the edge at\n`attach_x_mm`/`attach_y_mm`. Add the datums it refers to with `add_datum_tag`.\nNeeds: an open, active drawing. Changes: adds the frame. Returns: `data`, the\nframe as read back from SolidWorks. No edge at the attach point is `not_found`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for a GD&T feature control frame.\n\nAttributes:\n    characteristic (str): The geometric characteristic.\n    tolerance (float): Tolerance value in drawing units.\n    diameter_zone (bool): Ø before the tolerance.\n    material_condition (str): none, mmc or lmc.\n    datums (list[str]): Datum letters, primary first.\n    x_mm (float): Frame position on the sheet.\n    y_mm (float): Frame position on the sheet.\n    attach_x_mm (float | None): A point on the edge the leader points to.\n    attach_y_mm (float | None): A point on the edge the leader points to.\n    dimension_view (str | None): View holding the dimension to attach to.\n    dimension_name (str | None): Model dimension to attach to.","properties":{"attach_x_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"X of a point on the edge the leader points to"},"attach_y_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Y of a point on the edge the leader points to"},"characteristic":{"description":"Geometric characteristic","enum":["position","flatness","perpendicularity","parallelism","profile_surface","concentricity"],"type":"string"},"datums":{"description":"Datum letters, primary first","items":{"type":"string"},"maxItems":3,"type":"array"},"diameter_zone":{"default":false,"description":"Cylindrical zone: Ø before the tolerance","type":"boolean"},"dimension_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Model dimension to attach to, e.g. 'D3@Sketch1' (see list_model_dimensions); the frame sits under its text"},"dimension_view":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"View holding the dimension to attach to"},"material_condition":{"default":"none","description":"Material condition modifier","enum":["none","mmc","lmc"],"type":"string"},"tolerance":{"description":"Tolerance value, e.g. 0.2","exclusiveMinimum":0,"type":"number"},"x_mm":{"default":0.0,"description":"Frame X on the sheet (mm); not used when on a dimension","type":"number"},"y_mm":{"default":0.0,"description":"Frame Y on the sheet (mm); not used when on a dimension","type":"number"}},"required":["characteristic","tolerance"],"type":"object"},{"type":"null"}],"default":null,"description":"The frame. `characteristic` (position, flatness,\nperpendicularity, parallelism, profile_surface or concentricity) and\n`tolerance` are required, plus either the dimension or the sheet\nposition; `diameter_zone`, `material_condition` (none, mmc, lmc) and\nup to three `datums` (primary first) have defaults."}},"type":"object"},"name":"add_gtol","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add GD&T Frame"},{"_meta":{"fastmcp":{"tags":["drawing_automation","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Add Datum Tag"},"description":"Add a datum feature symbol (A, B, C, ...) on an edge of the active drawing.\n\nUse it to mark the datums a feature control frame from `add_gtol` refers to.\nNeeds: an open, active drawing with an edge at the attach point. Changes: adds\nthe datum tag. Returns: `data` with the `label` as read back. No edge at the\npoint is `not_found`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for a datum feature symbol.\n\nAttributes:\n    label (str): The datum letter.\n    attach_x_mm (float): A point on the edge it marks.\n    attach_y_mm (float): A point on the edge it marks.\n    x_mm (float): Tag position on the sheet.\n    y_mm (float): Tag position on the sheet.","properties":{"attach_x_mm":{"description":"X of a point on the edge it marks (mm)","type":"number"},"attach_y_mm":{"description":"Y of a point on the edge it marks (mm)","type":"number"},"label":{"description":"Datum letter, e.g. 'A'","maxLength":1,"minLength":1,"type":"string"},"x_mm":{"description":"Tag X on the sheet (mm)","type":"number"},"y_mm":{"description":"Tag Y on the sheet (mm)","type":"number"}},"required":["label","attach_x_mm","attach_y_mm","x_mm","y_mm"],"type":"object"},{"type":"null"}],"default":null,"description":"The tag. `label` (one letter), `attach_x_mm`/`attach_y_mm`\n(a point on the edge it marks) and `x_mm`/`y_mm` (where the tag\ngoes) are all required, in mm on the sheet."}},"type":"object"},"name":"add_datum_tag","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Add Datum Tag"},{"_meta":{"fastmcp":{"tags":["drawing_automation","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Set Sheet Scale"},"description":"Set the active drawing sheet's scale, e.g. 1:2; views that use the sheet scale follow it.\n\nUse it when views are too large for the sheet, or when `arrange_dimensions`\nreports overlaps it can't clear. Needs: an open, active drawing. Changes: the\nsheet scale. Returns: `data` with the `sheet` name and the new `scale`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for the sheet scale.\n\nAttributes:\n    numerator (float): Scale numerator.\n    denominator (float): Scale denominator.","properties":{"denominator":{"description":"e.g. 2 for 1:2","exclusiveMinimum":0,"type":"number"},"numerator":{"description":"e.g. 1 for 1:2","exclusiveMinimum":0,"type":"number"}},"required":["numerator","denominator"],"type":"object"},{"type":"null"}],"default":null,"description":"The scale. `numerator` and `denominator` are required and\nmust be above zero, e.g. 1 and 2 for 1:2."}},"type":"object"},"name":"set_sheet_scale","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Set Sheet Scale"},{"_meta":{"fastmcp":{"tags":["drawing_automation","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Generate Drawing Package"},"description":"Create a complete A3 drawing of a part or assembly in one call, and save it with a PDF.\n\nIt opens a new drawing with an A3 ISO frame and fills the title block (title,\nnumber, material, weight, drawn by, date, revision). It places front, plan, side\nand isometric views at one standard scale, shows the model dimensions once in\ntidy rows, and adds view captions and a NOTES block. Then it checks nothing\noverlaps. Use it instead of the step-by-step drawing tools when you want the\nwhole drawing. Needs: the model file on disk. Changes: saves\n`<drawing_number>.SLDDRW` and a PDF, replacing files of those names, and by\ndefault writes Description, Material and Weight into the model and saves it\n(turn off with `write_model_properties`). Returns: `data` with `scale`, `views`,\n`dimensions`, `overlap_check`, `title_block`, `drawing_path`, `pdf_path` and\n`steps`. A remaining overlap makes the call an error carrying that data; for\nlong title-block text pass `title_block_text_height_mm` (e.g. 3).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for the standard A3 drawing generator.\n\nAttributes:\n    model_path (str): Part or assembly to draw.\n    output_dir (str | None): Folder for the .SLDDRW and PDF.\n    title (str | None): Title block TITLE (short).\n    subtitle (str | None): Sheet title.\n    drawing_number (str | None): DWG NO. and file name.\n    author (str): DRAWN name.\n    revision (str): Revision letter.\n    company (str): Company name field.\n    notes (list[str]): Extra note lines.\n    include_isometric (bool): Add the isometric view.\n    write_model_properties (bool): Write title-block properties into the model.\n    title_block_text_height_mm (float | None): Cap on DWG NO./TITLE text height.\n    include_bom (bool): Put a BOM above the isometric view (assemblies).","properties":{"author":{"default":"","description":"DRAWN name","type":"string"},"company":{"default":"","description":"Company name","type":"string"},"drawing_number":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"DWG NO., also the drawing file name, e.g. 'MP-RevA-01'"},"include_bom":{"default":false,"description":"Assemblies only: put a bill of materials in the top of the isometric view's cell, with the isometric fitted below it","type":"boolean"},"include_isometric":{"default":true,"description":"Add an isometric view","type":"boolean"},"model_path":{"description":"Full path to the .SLDPRT or .SLDASM","type":"string"},"notes":{"description":"Extra note lines (material, process, connections); 3-7 lines in total","items":{"type":"string"},"type":"array"},"output_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Where to save the drawing; the model's folder when omitted"},"revision":{"default":"A","description":"Revision letter","type":"string"},"subtitle":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Sheet title, e.g. 'Base support'"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short title, e.g. 'Mounting Plate - Rev A'; the file name when omitted"},"title_block_text_height_mm":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"null"}],"default":null,"description":"Largest text height (mm) for the title block's DWG NO. and TITLE, e.g. 3 for smaller text. By default they keep the sheet format's height and are only shrunk to fit their boxes."},"write_model_properties":{"default":true,"description":"Write Description/Material/Weight into the model so the title block shows them, and save it","type":"boolean"}},"required":["model_path"],"type":"object"},{"type":"null"}],"default":null,"description":"The drawing. `model_path` (.sldprt or .sldasm) is\nrequired; `output_dir`, the title-block fields (`title`,\n`drawing_number`, `author`, `revision`, `company`), `notes`,\n`include_isometric`, `include_bom` and `write_model_properties` have\ndefaults."}},"type":"object"},"name":"generate_drawing_package","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate Drawing Package"},{"_meta":{"fastmcp":{"tags":["engineering_data","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"List Model Dimensions"},"description":"List every dimension in the active part or assembly with its full name and value.\n\nUse it to find a dimension in an existing model before changing it: each\n`full_name` (e.g. \"D1@Sketch1\") is the name `get_dimension` and `set_dimension`\ntake. Needs: an open part or assembly. Read-only. Returns: `data`, one entry per\ndimension with `full_name`, `feature`, `value` (document units), `system_value`\n(metres or radians) and `read_only`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for listing model dimensions.\n\nAttributes:\n    feature_name (str | None): Only this feature's dimensions.","properties":{"feature_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Only list this feature's dimensions, e.g. 'Boss-Extrude1'. Omit to list every dimension in the model."}},"type":"object"},{"type":"null"}],"default":null,"description":"Nothing is required: give `feature_name` to list one\nfeature's dimensions, or omit it for every dimension."}},"type":"object"},"name":"list_model_dimensions","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Model Dimensions"},{"_meta":{"fastmcp":{"tags":["engineering_data","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Measure Entities"},"description":"Measure faces, edges or vertices of the active model with SolidWorks' Measure tool.\n\nOne face gives area and perimeter; one edge its length, and radius and diameter\nfor an arc; two entities give the distance and angle between them. Use it to\ncheck a feature's size or position; for the whole model, use `verify_model`.\nNeeds: an open part or assembly. Read-only. It clears the selection afterwards.\nReturns: `data` with `selected` and the values in metres, square metres and\nradians (`distance_m`, `angle_rad`, `length_m`, `radius_m`, `diameter_m`,\n`area_m2`, `perimeter_m`; for two entities `is_parallel`).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"What to measure. `entities` (one or two) is required, each\n\"face:x,y,z\", \"edge:x,y,z\", \"vertex:x,y,z\" (a point on it, in metres)\nor a name like \"Edge<1>\".","properties":{"entities":{"description":"One or two entities to measure. Each is 'face:x,y,z' (a point inside the face), 'edge:x,y,z', 'vertex:x,y,z', a bare 'x,y,z' (nearest edge) or a topology name like 'Edge<1>'. Coordinates are in metres. One face gives area/perimeter; one edge gives length/radius; two entities give distance and angle.","items":{"type":"string"},"maxItems":2,"minItems":1,"type":"array"}},"required":["entities"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"measure_entities","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Measure Entities"},{"_meta":{"fastmcp":{"tags":["engineering_data","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Get Material"},"description":"Report the material assigned to the active part.\n\nUse it before `calculate_mass_properties` or `verify_model` with a mass: without\na material SolidWorks uses a default density. Needs: an open, active part (any\nother document is `wrong_document_type`). Read-only. Returns: `data` with\n`material` (null when none is assigned), `database` and `density_kg_m3` (from\nthe material's library entry; null when unknown). For the other properties\n(modulus, strength), open the material in SolidWorks.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for reading a part's material.\n\nAttributes:\n    configuration (str | None): Configuration name.","properties":{"configuration":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Configuration; the active one when omitted"}},"type":"object"},{"type":"null"}],"default":null,"description":"Nothing is required: `configuration` defaults to the active\none."}},"type":"object"},"name":"get_material","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Get Material"},{"_meta":{"fastmcp":{"tags":["engineering_data","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Set Material"},"description":"Assign a library material to the active part, e.g. \"AISI 1020\" or \"6061-T6 (SS)\".\n\nThe material sets the mass and what a title block's Material field shows. The\nname must match the library exactly; find it with `list_available_materials`.\nThe material is read back, so success means it applied. Needs: an open, active\npart. Changes: the part's material. Returns: `data` with `material`, `database`\nand `configuration`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The material. `material_name` is required; `database`\n(\"SOLIDWORKS Materials\") and `configuration` (all) have defaults.","properties":{"configuration":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Configuration; all configurations when omitted"},"database":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Library; 'SOLIDWORKS Materials' when omitted"},"material_name":{"description":"Exact library name, e.g. 'AISI 1020', '6061-T6 (SS)', 'ABS'. Use list_available_materials to find it.","minLength":1,"type":"string"}},"required":["material_name"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"set_material","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Set Material"},{"_meta":{"fastmcp":{"tags":["engineering_data","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"List Available Materials"},"description":"List the materials in the installed SolidWorks material libraries.\n\nUse it to find the exact name `set_material` needs; filter with `search` (e.g.\n\"steel\" or \"6061\"). It reads every .sldmat library SolidWorks is set to use.\nNeeds: SolidWorks installed. Read-only. Returns: `data`, each material's `name`,\n`classification` and `database`; the message gives the total and the folders\nread, so an empty search can be told from a missing library.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for listing materials.\n\nAttributes:\n    search (str | None): Substring filter.","properties":{"search":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Case-insensitive filter on material name or classification, e.g. 'steel' or '6061'"}},"type":"object"},{"type":"null"}],"default":null,"description":"Nothing is required: `search` filters by name or\nclassification, not case-sensitive."}},"type":"object"},"name":"list_available_materials","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Available Materials"},{"_meta":{"fastmcp":{"tags":["engineering_data","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Get Custom Properties"},"description":"Read the active document's custom properties, such as PartNo, Description or Revision.\n\nFile-level properties (the default) are what drawing title blocks and BOMs\nusually read; give `configuration` for that configuration's own. Needs: an open,\nactive document. Read-only. Returns: `data` with `properties`, each name mapped\nto its `value` and `resolved` value (a $PRP link evaluated).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for reading custom properties.\n\nAttributes:\n    configuration (str | None): Configuration name.","properties":{"configuration":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Configuration-specific properties; file-level (what title blocks usually read) when omitted"}},"type":"object"},{"type":"null"}],"default":null,"description":"Nothing is required: `configuration` reads that\nconfiguration's properties instead of the file's."}},"type":"object"},"name":"get_custom_properties","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Get Custom Properties"},{"_meta":{"fastmcp":{"tags":["engineering_data","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Set Custom Property"},"description":"Create or overwrite one text custom property on the active document, e.g. PartNo or DrawnBy.\n\nUse it to fill what a title block or BOM reads. The value is read back, so\nsuccess means it was stored. Needs: an open, active document. Changes: writes\nthe property, replacing one of the same name (save the file to keep it).\nReturns: `data` with `name`, `value`, `resolved` and `configuration`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The property. `name` and `value` (text, or a link such as\n$PRP:\"SW-Mass\") are required; `configuration` defaults to file-level.","properties":{"configuration":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Configuration; file-level when omitted"},"name":{"description":"Property name, e.g. 'PartNo', 'Description', 'DrawnBy'","minLength":1,"type":"string"},"value":{"description":"Text value; may be a $PRP:\"SW-Mass\" style link","type":"string"}},"required":["name","value"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"set_custom_property","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Set Custom Property"},{"_meta":{"fastmcp":{"tags":["engineering_data","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Export Flat Pattern"},"description":"Export the active sheet-metal part's flat pattern to DXF or DWG, for laser or waterjet cutting.\n\nIt writes the flat outline only, without bend lines or sketches. A part with no\nsheet-metal body is `not_found` and nothing is written. Needs: an open, active\nsheet-metal part. Changes: writes the file, replacing one already there.\nReturns: `data` with `file_path` and `size_bytes`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The export. `file_path` (ending in .dxf or .dwg) is\nrequired.","properties":{"file_path":{"description":"Output path ending in .dxf or .dwg","type":"string"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"export_flat_pattern","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Export Flat Pattern"},{"_meta":{"fastmcp":{"tags":["analysis","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Calculate Mass Properties"},"description":"Measure the active part or assembly's mass properties: volume, surface area, mass, centre of mass and moments of inertia.\n\nUse it to check weight or balance. To compare a model with the values you\nexpect, use `verify_model`; `get_mass_properties` does the same as this tool.\nMass depends on the assigned material (`set_material`). Needs: an open part or\nassembly. Read-only. It rebuilds first. Returns: `mass_properties` with `volume`\n(mm³), `surface_area` (mm²), `mass` (kg), `center_of_mass` (mm),\n`moments_of_inertia` (kg·mm², about the centre of mass) and\n`principal_axes`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"Nothing: it always measures the active model.","properties":{},"type":"object"}},"required":["input_data"],"type":"object"},"name":"calculate_mass_properties","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Calculate Mass Properties"},{"_meta":{"fastmcp":{"tags":["analysis","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Get Mass Properties"},"description":"Measure the active part or assembly's mass properties: volume, surface area, mass, centre of mass and moments of inertia.\n\nThe same as `calculate_mass_properties`, which it calls. To compare a model with\nthe values you expect, use `verify_model`. Mass depends on the assigned material\n(`set_material`). Needs: an open part or assembly. Read-only. It rebuilds first.\nReturns: `mass_properties` with `volume` (mm³), `surface_area` (mm²), `mass`\n(kg), `center_of_mass` (mm), `moments_of_inertia` (kg·mm², about the centre\nof mass) and `principal_axes`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for mass properties analysis.\n\nIt has no fields: the tool always measures the active model. Inputs it\nused to take are refused (``input_compat.REMOVED_INPUTS``).","properties":{},"type":"object"},{"type":"null"}],"default":null,"description":"Optional, and empty: it always measures the active model."}},"type":"object"},"name":"get_mass_properties","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Get Mass Properties"},{"_meta":{"fastmcp":{"tags":["analysis","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Check Assembly Interference"},"description":"Find where the components of the active assembly overlap (Tools > Interference Detection).\n\nUse it after inserting and mating components. A count of 0 is a real\nmeasurement. To fail a build on interference, use `verify_model` with\n`no_interference`. Needs: an open, active assembly. Read-only. Returns: `data`\nwith `interference_found`, `interference_count`, `interferences` (component\npairs and overlap volume in mm³) and `scope`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"Nothing is required. `components` limits the report to\ninterferences involving those components; `include_hidden` also\nchecks hidden components, which are left out by default.","properties":{"assembly_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Assembly path alias"},"components":{"description":"List of component names to check for interference","items":{"type":"string"},"type":"array"},"include_hidden":{"default":false,"description":"Check hidden components too; by default they are left out, as in SolidWorks' own Interference Detection","type":"boolean"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"check_interference","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Check Assembly Interference"},{"_meta":{"fastmcp":{"tags":["analysis","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Analyze Geometry"},"description":"Run a geometry analysis on the active model, such as curvature, draft or wall thickness.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. For distances\nand angles today, use `measure_entities`; for size and volume, use\n`verify_model` or `calculate_mass_properties`. Read-only. Returns: once\navailable, the analysis under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The analysis. `analysis_type` (e.g. curvature, draft,\nthickness) is required; `parameters` has a default.","properties":{"analysis_type":{"description":"Type of analysis (curvature, draft, thickness, etc.)","type":"string"},"parameters":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Analysis-specific parameters"}},"required":["analysis_type"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"analyze_geometry","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Analyze Geometry"},{"_meta":{"fastmcp":{"tags":["analysis","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Get Material Properties"},"description":"Report the physical properties of the active part's material: density, modulus, Poisson's ratio, strength.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. For the\nmaterial's name today, use `get_material`; for the materials you can assign, use\n`list_available_materials`. Read-only. Returns: once available, the properties\nunder `data`.","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"get_material_properties","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Get Material Properties"},{"_meta":{"fastmcp":{"tags":["analysis","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Verify Model Against Expectations"},"description":"Check the active part or assembly against what you meant to build, one pass/fail check per expected value.\n\nUse it as the last step of a build: a modelling tool's success doesn't prove the\ngeometry is right. Give only the values you know. Units: mm, mm³, kg;\n`bounding_box_mm` is [x, y, z] in model axes. Widen `relative_tolerance` when\nyour sums ignore fillets. Needs: an open part or assembly. Read-only. Returns:\n`verdict` (pass, fail, inconclusive or report_only), `checks` (each `expected`,\n`actual`, `tolerance`, `passed`; null when unmeasured) and `measured`. A\nmismatch is still `status: success`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":false,"description":"Expectations for ``verify_model``; every field is optional.\n\nUnknown fields are rejected so a misspelt expectation (``volume`` for\n``volume_mm3``) fails loudly instead of silently not being checked.","properties":{"bounding_box_mm":{"anyOf":[{"maxItems":3,"minItems":3,"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array"},{"type":"null"}],"default":null,"description":"Expected overall size [x, y, z] in mm, in model axes"},"component_count":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Expected top-level components (assemblies)"},"feature_count":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Expected number of modelling features (extrudes, cuts, fillets, patterns...); sketches, the origin, folders and the three default planes are not counted"},"length_tolerance_mm":{"default":0.1,"description":"Allowed error per bounding-box axis, mm","minimum":0,"type":"number"},"mass_kg":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Expected mass in kg (depends on the material)"},"mate_count":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Expected unsuppressed mates (assemblies)"},"no_interference":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"true to require that no components overlap (assemblies)"},"relative_tolerance":{"default":0.01,"description":"Allowed relative error for mass and volume (0.01 = 1 %)","minimum":0,"type":"number"},"solid_body_count":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Expected number of solid bodies (parts)"},"volume_mm3":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Expected volume, mm³"}},"type":"object"},{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"The expectations, all optional: `mass_kg`, `volume_mm3`,\n`bounding_box_mm`, `feature_count`, `solid_body_count`, and for an\nassembly `component_count`, `mate_count` and `no_interference`;\n`relative_tolerance` (0.01) and `length_tolerance_mm` (0.1) have\ndefaults. With none it only reports what it measured."}},"type":"object"},"name":"verify_model","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Verify Model Against Expectations"},{"_meta":{"fastmcp":{"tags":["export","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Export STEP"},"description":"Export the active document to STEP, like File > Save As with the STEP type.\n\nUse it to hand a model to another CAD system; it is the most widely read\nexchange format. SolidWorks picks the format from the file's extension, so end\n`file_path` in .step or .stp. Needs: an open, active part or assembly. Changes:\nwrites the file, creating its folder and replacing a file already there; the\nopen document is unchanged. Returns: `export` with `file_path` and `format`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The export. `file_path` (ending in .step or .stp) is required;\n`format_type` is not needed: the file extension decides the\nformat.","properties":{"file_path":{"description":"Full path for the exported file","type":"string"},"format_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Not needed: the file extension sets the format; defaults to the tool's own format"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"export_step","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Export STEP"},{"_meta":{"fastmcp":{"tags":["export","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Export IGES"},"description":"Export the active document to IGES, like File > Save As with the IGES type.\n\nUse it only when the receiver can't read STEP; prefer `export_step`. SolidWorks\npicks the format from the file's extension, so end `file_path` in .igs or .iges.\nNeeds: an open, active part or assembly. Changes: writes the file, creating its\nfolder and replacing a file already there; the open document is unchanged.\nReturns: `export` with `file_path` and `format`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The export. `file_path` (ending in .igs or .iges) is required;\n`format_type` is not needed: the file extension decides the\nformat.","properties":{"file_path":{"description":"Full path for the exported file","type":"string"},"format_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Not needed: the file extension sets the format; defaults to the tool's own format"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"export_iges","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Export IGES"},{"_meta":{"fastmcp":{"tags":["export","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Export STL"},"description":"Export the active document to STL, like File > Save As with the STL type.\n\nUse it for 3D printing. An assembly is exported whole, with lightweight\ncomponents resolved first. SolidWorks picks the format from the file's\nextension, so end `file_path` in .stl. Needs: an open, active part or assembly.\nChanges: writes the file, creating its folder and replacing a file already\nthere; the open document is unchanged. Returns: `export` with `file_path` and\n`format`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The export. `file_path` (ending in .stl) is required;\n`format_type` is not needed: the file extension decides the\nformat.","properties":{"file_path":{"description":"Full path for the exported file","type":"string"},"format_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Not needed: the file extension sets the format; defaults to the tool's own format"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"export_stl","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Export STL"},{"_meta":{"fastmcp":{"tags":["export","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Export PDF"},"description":"Export the active document to PDF, like File > Save As with the PDF type.\n\nUse it to share a drawing; `generate_drawing_package` already saves a PDF with\nthe drawing it creates. SolidWorks picks the format from the file's extension,\nso end `file_path` in .pdf. Needs: an open, active drawing (a part or assembly\ngives a PDF of the view). Changes: writes the file, creating its folder and\nreplacing a file already there; the open document is unchanged. Returns:\n`export` with `file_path` and `format`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The export. `file_path` (ending in .pdf) is required;\n`format_type` is not needed: the file extension decides the\nformat.","properties":{"file_path":{"description":"Full path for the exported file","type":"string"},"format_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Not needed: the file extension sets the format; defaults to the tool's own format"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"export_pdf","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Export PDF"},{"_meta":{"fastmcp":{"tags":["export","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Export DWG"},"description":"Export the active document to DWG, like File > Save As with the DWG type.\n\nUse it to hand a drawing to AutoCAD users. SolidWorks picks the format from the\nfile's extension, so end `file_path` in .dwg. Needs: an open, active drawing.\nChanges: writes the file, creating its folder and replacing a file already\nthere; the open document is unchanged. Returns: `export` with `file_path` and\n`format`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The export. `file_path` (ending in .dwg) is required;\n`format_type` is not needed: the file extension decides the\nformat.","properties":{"file_path":{"description":"Full path for the exported file","type":"string"},"format_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Not needed: the file extension sets the format; defaults to the tool's own format"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"export_dwg","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Export DWG"},{"_meta":{"fastmcp":{"tags":["export","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Export Image"},"description":"Save a picture of the active model in a standard view, as PNG or JPG, at a chosen size.\n\nUse it to show a result, or to check a model's shape after a change. The view is\nset first (front, back, left, right, top, bottom, isometric, dimetric,\ntrimetric, or current to keep the user's view). Needs: an open, active document.\nChanges: writes the image file, and turns the model to the view asked for.\nReturns: `data` with `file_path`, `format`, `dimensions` (the size written),\n`requested_dimensions` and `view`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The image. `file_path` (or `output_path`) is needed; the\nformat follows its extension. `width`/`height` (or `resolution` as\n\"1920x1080\") and `view_orientation` (isometric) have defaults.","properties":{"file_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Full path for the exported image"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Alternative format field"},"format_type":{"default":"jpg","description":"Image format (jpg, png, bmp, tiff)","type":"string"},"height":{"default":1080,"description":"Image height in pixels","type":"integer"},"image_format":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Image format alias"},"model_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to the model file"},"orientation":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Alternative orientation field"},"output_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Alternative output path"},"resolution":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Resolution alias"},"view_orientation":{"default":"isometric","description":"View orientation (front, top, right, isometric, current)","type":"string"},"width":{"default":1920,"description":"Image width in pixels","type":"integer"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"export_image","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Export Image"},{"_meta":{"fastmcp":{"tags":["export","level:planned"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Batch Export"},"description":"Export every matching SolidWorks file in a folder to one format.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Today, open\neach file with `open_model` and use an `export_*` tool. Changes: once available,\nwrites one exported file per source file. Returns: once available, a per-file\nresult under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The batch. `source_directory` and `output_directory` are\nrequired; `format_type`, `file_pattern` and `recursive` have\ndefaults.","properties":{"export_format":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Alternative export format"},"file_pattern":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"File pattern alias"},"file_patterns":{"default":["*.sldprt","*.sldasm","*.slddrw"],"description":"File patterns to include","items":{"type":"string"},"type":"array"},"format_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Target export format"},"include_subdirectories":{"default":false,"description":"Include subdirectories in search","type":"boolean"},"output_directory":{"description":"Directory for exported files","type":"string"},"recursive":{"default":false,"description":"Search subdirectories recursively","type":"boolean"},"source_directory":{"description":"Directory containing SolidWorks files","type":"string"}},"required":["source_directory","output_directory"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"batch_export","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Batch Export"},{"_meta":{"fastmcp":{"tags":["automation","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA Code"},"description":"Write a VBA macro skeleton for an operation you describe: the SolidWorks connection, a check of the active document's type and optional error handling, with the operation itself left as a TODO.\n\nUse it as a starting point for a custom macro. For a complete macro for a\nspecific feature, use a `generate_vba_*` tool (extrusion, revolve, mates,\ndrawing views, batch export). The macro reports through `Debug.Print`, never a\ndialog, so it runs without waiting on anyone: save it as a .swb file and run it\nwith `execute_macro` (its `Sub main()` calls the Sub named `sub_name`; SolidWorks\nruns a .swb macro only through `main`). It stops, printing why,\nwhen the active document isn't `target_document`. Read-only. Nothing runs in\nSolidWorks. Returns: `vba_code` with `code`, `sub_name`, `operation`,\n`target_document`, `lines_of_code` and `includes_error_handling`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The macro to write. Nothing is required: give\n`operation_description` (it also names the Sub) and\n`target_document` (Part, Assembly or Drawing);\n`include_error_handling` is on by default.","properties":{"include_error_handling":{"default":true,"description":"Include error handling in generated code","type":"boolean"},"operation_description":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Description of the operation to generate VBA for"},"operation_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Operation type alias"},"target_document":{"default":"Part","description":"The document type the macro runs on; it stops, printing why, on any other","enum":["Part","Assembly","Drawing"],"type":"string"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_code","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA Code"},{"_meta":{"fastmcp":{"tags":["automation","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Start Macro Recording (Automation)"},"description":"Start SolidWorks' macro recorder (the automation family's copy of `start_macro_recording`).\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Recording is\ndone in SolidWorks today (Tools > Macro > Record). Changes: once available,\nstarts a recording session. Returns: once available, the session details under\n`data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The recording. Nothing is required: `macro_name`,\n`output_file`, `recording_mode` and the capture switches have\ndefaults.","properties":{"auto_start":{"default":true,"description":"Automatically start recording","type":"boolean"},"capture_keyboard":{"default":true,"description":"Capture keyboard actions","type":"boolean"},"capture_mouse":{"default":true,"description":"Capture mouse actions","type":"boolean"},"description":{"default":"","description":"Description of the macro functionality","type":"string"},"macro_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Name for the recorded macro"},"output_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Output file alias"},"recording_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Recording mode alias"},"recording_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Recording name alias"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"automation_start_macro_recording","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Start Macro Recording (Automation)"},{"_meta":{"fastmcp":{"tags":["automation","level:planned"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Stop Macro Recording (Automation)"},"description":"Stop a macro recording and save it (the automation family's copy of `stop_macro_recording`).\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Recording is\ndone in SolidWorks today (Tools > Macro > Stop). Changes: once available, ends\nthe session and writes the macro file. Returns: once available, the saved\nmacro's details.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping; nothing in it is used yet.","type":"object"}},"required":["input_data"],"type":"object"},"name":"automation_stop_macro_recording","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Stop Macro Recording (Automation)"},{"_meta":{"fastmcp":{"tags":["automation","level:planned"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Batch Process Files"},"description":"Run one operation (rebuild, save as, export or property update) on every matching file in a folder.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To export\nseveral files today, open each with `open_model` and use `export_step`.\nChanges: once available, opens, changes and saves each file. Returns: once available, a per-file result under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The batch. `source_directory` is required; `operation_type`,\n`file_pattern`, `target_format` and `recursive` have defaults.","properties":{"batch_operation":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Batch operation alias"},"file_pattern":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"File pattern alias"},"filter_patterns":{"default":["*.sldprt","*.sldasm"],"description":"File patterns to process","items":{"type":"string"},"type":"array"},"operation":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Operation alias"},"operation_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Type of operation (rebuild, save_as, export, update_properties)"},"parallel_processing":{"default":false,"description":"Parallel processing alias","type":"boolean"},"recursive":{"default":false,"description":"Process subdirectories recursively","type":"boolean"},"source_directory":{"description":"Directory containing SolidWorks files","type":"string"},"target_format":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Target format for export operations"}},"required":["source_directory"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"batch_process_files","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Batch Process Files"},{"_meta":{"fastmcp":{"tags":["automation","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Manage Design Table"},"description":"Create, read or update a design table (an Excel sheet that drives a model's configurations).\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To list a\nmodel's configurations today, use `list_configurations`. Changes: once\navailable, inserts or edits the design table and its configurations. Returns:\nonce available, the table's state under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The design table. Nothing is required: give `model_path`,\n`operation` and `excel_file`; `parameters`, `configurations` and the\nauto-update switches have defaults.","properties":{"auto_create_configurations":{"default":false,"description":"Auto-create alias","type":"boolean"},"auto_update":{"default":false,"description":"Auto update alias","type":"boolean"},"configurations":{"default":[],"description":"Configuration names","items":{"type":"string"},"type":"array"},"create_configurations":{"default":false,"description":"Create configurations alias","type":"boolean"},"excel_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Excel file path for import/export"},"model_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Model path alias"},"operation":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Operation alias"},"parameters":{"default":[],"description":"Parameters to include in design table","items":{"type":"string"},"type":"array"},"table_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Design table file alias"},"table_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Type of design table (create, update, import)"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"manage_design_table","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Manage Design Table"},{"_meta":{"fastmcp":{"tags":["automation","level:planned"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Execute Workflow"},"description":"Run a named sequence of tool steps, in order or in parallel, with an error policy.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Call the\ntools one at a time instead. Changes: once available, whatever the steps change.\nReturns: once available, each step's result under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The workflow. `workflow_name` and `steps` (a list of step\nmappings) are required; `parallel_execution` and `error_handling`\nhave defaults.","properties":{"error_handling":{"default":"stop","description":"Error handling strategy (stop, skip, retry)","type":"string"},"parallel_execution":{"default":false,"description":"Execute compatible steps in parallel","type":"boolean"},"steps":{"description":"List of workflow steps","items":{"additionalProperties":true,"type":"object"},"type":"array"},"workflow_name":{"description":"Name of the workflow","type":"string"}},"required":["workflow_name","steps"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"execute_workflow","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Execute Workflow"},{"_meta":{"fastmcp":{"tags":["automation","level:planned"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Create Template File"},"description":"Create a part, assembly or drawing template file (.prtdot, .asmdot, .drwdot) with standard settings.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To capture an\nexisting model's settings, `extract_template` is also not available yet.\nChanges: once available, writes the template file. Returns: once available, the\ntemplate's path and settings under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The template. `template_type` and `template_name` are\nrequired; `source_model`, `output_path` and the include switches have\ndefaults.","properties":{"base_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Base file to create template from"},"include_custom_properties":{"default":false,"description":"Include custom properties alias","type":"boolean"},"include_features":{"description":"Include features alias","items":{"type":"string"},"type":"array"},"include_materials":{"default":false,"description":"Include materials alias","type":"boolean"},"metadata":{"additionalProperties":true,"default":{},"description":"Template metadata and properties","type":"object"},"output_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Output path alias"},"source_model":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Source model alias"},"template_name":{"description":"Name for the template","type":"string"},"template_type":{"description":"Type of template (part, assembly, drawing)","type":"string"}},"required":["template_type","template_name"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"create_template","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Template File"},{"_meta":{"fastmcp":{"tags":["automation","level:planned"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Optimize SolidWorks Performance"},"description":"Review SolidWorks' performance settings and apply faster ones.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Changes: once\navailable, SolidWorks system options. Returns: once available, the settings\nchanged under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping of optimisation options; none is required.","type":"object"}},"required":["input_data"],"type":"object"},"name":"optimize_performance","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Optimize SolidWorks Performance"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Save File"},"description":"Save the active document, to its own path or to a new path in its own format.\n\nUse it after changes you want to keep. For a part or an assembly with checks on\nthe target path (folder exists, no accidental overwrite), use `save_part` or\n`save_assembly`; to write another format, use `save_as` or an `export_*` tool.\nNeeds: an open, active document, already saved once unless you give a path.\nChanges: writes the file; a different file at `file_path` is replaced. Returns:\n`data` from the save (usually empty).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The save. Nothing is required: give `file_path` to save to a\nnew path, or omit it to save in place.","properties":{"file_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional output path. If omitted, saves the current active document."}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"save_file","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Save File"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Save As"},"description":"Save the active document under a new path, as a SolidWorks file or in an exchange format such as STEP or IGES.\n\nFor a SolidWorks format (solidworks, sldprt, sldasm, slddrw) it saves a copy\nlike File > Save As; any other `format_type` is passed to the exporter. For one\nknown format with its options, prefer `export_step`, `export_stl` and the other\n`export_*` tools. Needs: an open, active document. Changes: writes the file. A\nfile already at `file_path` is kept and the call refused, unless `overwrite`\nis on. Returns: `file_path` and `format`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The target. `file_path` is required; `format_type` defaults\nto \"solidworks\", and `overwrite` is off.","properties":{"file_path":{"description":"Full path for the new file","type":"string"},"format_type":{"default":"solidworks","description":"File format (solidworks, step, iges, etc.)","type":"string"},"overwrite":{"default":false,"description":"Overwrite existing file","type":"boolean"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"save_as","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Save As"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Get File Properties"},"description":"Report the active document's file details: name, path, size, dates, type, configuration and unsaved changes.\n\nUse it to check what is open and whether it has unsaved changes before saving or\nclosing. For the model itself (rebuild status included), use `get_model_info`;\nfor custom properties, use `get_custom_properties`. Needs: an open, active\ndocument. Read-only. Returns: `properties` with `file_name`, `file_path`,\n`file_size_bytes`, `created_date` and `modified_date` (Unix timestamps; empty\nfor a document never saved), `document_type`, `configuration`, `is_dirty` and\n`feature_count`.","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"get_file_properties","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Get File Properties"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Get Model Info"},"description":"Report the active document's title, path, type, active configuration, unsaved changes, feature count and rebuild status.\n\nUse it first in a session, to see which document is active (it follows a switch\nmade in the SolidWorks window). For file size and dates, use\n`get_file_properties`; for every open document, use `list_open_documents`.\nNeeds: an open document. Read-only. Returns: `model_info` with `title`, `path`,\n`type`, `configuration`, `is_dirty`, `feature_count` and `rebuild_status` (0\nrebuilt, 1 needs a rebuild).","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"get_model_info","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Get Model Info"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"List Features"},"description":"List the feature tree of the active part or assembly, in order.\n\nUse it before editing a model, to find a feature's exact name for\n`delete_feature`, `suppress_feature` or `rename_feature`. For an assembly it\nalso lists each component's features, down to `max_assembly_depth` levels.\nNeeds: an open part or assembly. Read-only. Returns: `features` (each with\n`name`, `type`, `suppressed` and, in an assembly, `component`), `count`, and\n`assembly_tree`, the same list grouped by component.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"What to list. Nothing is required: `include_suppressed`\n(off) and `max_assembly_depth` (2) have defaults.","properties":{"include_suppressed":{"default":false,"description":"Include suppressed features in the returned list","type":"boolean"},"max_assembly_depth":{"default":2,"description":"For Assembly documents, how many levels of sub-assembly to recurse into when flattening component features. Ignored for Part documents.","type":"integer"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"list_features","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Features"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Get Selected Entities"},"description":"Describe the faces, edges and vertices selected in the SolidWorks window right now.\n\nUse it when the user has clicked something and says \"this face\": it reads the\nselection instead of guessing from a screenshot. To select edges yourself, use\n`select_face_edges`. Needs: an open document. Read-only. Returns: `entities`\n(each with `index` and `type`; a face adds `bounding_box_mm`, `center_mm`,\n`area_mm2` and `normal` when flat, an edge `start_mm`, `end_mm` and\nstraight-line `length_mm`, a vertex `point_mm`) and `count`.","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"get_selected_entities","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Get Selected Entities"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Classify Feature Tree"},"description":"Classify the active model's kind (part, sheet metal, assembly, drawing and so on) from its feature tree, and suggest how to work on it.\n\nUse it before rebuilding or editing an unfamiliar model, to pick a workflow. It\nreads the model unless you pass `model_info` and `features` you already have\n(from `get_model_info` and `list_features`). Needs: an open document, unless\nboth are passed. Read-only. Returns: `classification` with `family`,\n`recommended_workflow`, `confidence`, `needs_vba`, `evidence`, `warnings`,\n`next_actions` and `feature_count`, plus the `model_info` and `features` used.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"What to classify. Nothing is required: pass `model_info`\nand `features` to classify them without reading the model;\n`include_suppressed` is off by default.","properties":{"features":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null,"description":"Optional feature-tree payload to classify without re-reading the active model"},"include_suppressed":{"default":true,"description":"Include suppressed features when reading the active model tree","type":"boolean"},"model_info":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Optional pre-fetched model info payload to classify without re-reading the active model"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"classify_feature_tree","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Classify Feature Tree"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"List Configurations"},"description":"List the names of the active model's configurations.\n\nUse it to see which configurations a part or assembly has. Needs: an open part\nor assembly. Read-only. Returns: `configurations` (names) and `count`.\n`get_model_info` says which one is active.","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"list_configurations","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Configurations"},{"_meta":{"fastmcp":{"tags":["file_management","level:planned"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Manage File Properties"},"description":"Read or change the file-level properties of a SolidWorks file on disk.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To read or\nset custom properties on the active model today, use `get_custom_properties` and\n`set_custom_property`. Changes: once available, the file's properties. Returns:\nonce available, the properties under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The operation. `operation` is required; `file_path` or\n`source_path`, `properties` and `include_system` have defaults.","properties":{"file_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Alternative file path"},"include_system":{"default":false,"description":"Include system properties","type":"boolean"},"operation":{"description":"Operation to perform (copy, move, delete, rename)","type":"string"},"parameters":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Operation parameters"},"properties":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"File properties to set"},"source_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Source file path"},"target_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Target file path (for copy/move/rename)"}},"required":["operation"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"manage_file_properties","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Manage File Properties"},{"_meta":{"fastmcp":{"tags":["file_management","level:planned"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Convert File Format"},"description":"Convert a SolidWorks file on disk to another format without opening it first.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Today, open\nthe file with `open_model` and use `save_as` or an `export_*` tool such as\n`export_step`. Changes: once available, writes the converted file. Returns: once\navailable, the converted file under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The conversion. `source_file` and `target_format` are\nrequired; `target_file`, `quality` and `units` have defaults.","properties":{"conversion_options":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Conversion options"},"invalid_format":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Invalid format for testing"},"output_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Alternative output path"},"quality":{"default":"high","description":"Conversion quality","type":"string"},"source_file":{"description":"Source file path","type":"string"},"source_format":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Source file format"},"target_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Target file path"},"target_format":{"description":"Target file format","type":"string"},"units":{"default":"mm","description":"Units","type":"string"}},"required":["source_file","target_format"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"convert_file_format","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Convert File Format"},{"_meta":{"fastmcp":{"tags":["file_management","level:planned"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Batch File Operations"},"description":"Copy, move, rename or delete SolidWorks files on disk in one call.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To copy an\nassembly with every part it uses, use `pack_and_go_assembly`. Changes: once\navailable, copies, moves, renames or deletes files. Returns: once available, a\nper-file result under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The operation. `operation` (copy, move, delete or rename) is\nrequired; `source_path`, `target_path` and `parameters` have\ndefaults.","properties":{"file_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Alternative file path"},"include_system":{"default":false,"description":"Include system properties","type":"boolean"},"operation":{"description":"Operation to perform (copy, move, delete, rename)","type":"string"},"parameters":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Operation parameters"},"properties":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"File properties to set"},"source_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Source file path"},"target_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Target file path (for copy/move/rename)"}},"required":["operation"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"batch_file_operations","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Batch File Operations"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Load Part"},"description":"Open a part (.sldprt) from disk and make it the active document.\n\nUse it to start work on an existing part; for any document type, use\n`open_model`, and to switch to a document that is already open, use\n`activate_document`. A path that isn't a .sldprt is refused. Needs: the file on\ndisk. Changes: opens the part (no file is written). Returns: `model` with\n`name`, `type`, `path` and `configuration` (the one SolidWorks opened, or\nnull when it can't be read).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The part. `file_path` (a .sldprt) is required.","properties":{"file_path":{"description":"Full path to the .sldprt file","type":"string"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"load_part","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Load Part"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Load Assembly"},"description":"Open an assembly (.sldasm) from disk and make it the active document.\n\nUse it to start work on an existing assembly; for any document type, use\n`open_model`, and to switch to a document that is already open, use\n`activate_document`. A path that isn't a .sldasm is refused. Needs: the file on\ndisk. Changes: opens the assembly (no file is written). Returns: `model` with\n`name`, `type`, `path` and `configuration` (the one SolidWorks opened, or\nnull when it can't be read).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The assembly. `file_path` (a .sldasm) is required.","properties":{"file_path":{"description":"Full path to the .sldasm file","type":"string"}},"required":["file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"load_assembly","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Load Assembly"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Save Part"},"description":"Save the active part in place, or as a new .sldprt with the target path checked first.\n\nBefore writing to a new path it checks the folder exists and is writable,\nchanges the extension to .sldprt, and refuses an existing file unless\n`overwrite` is on. For an assembly, use `save_assembly`; for other formats, use\n`save_as` or an `export_*` tool. Needs: an open, active part. Changes: writes\nthe part file. Returns: `file_path` when saved to a new path.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for saving a part file.\n\nAttributes:\n    file_path (str | None): The file path value.\n    overwrite (bool): The overwrite value.","properties":{"file_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional output path. If omitted, saves the active part to its existing location."},"overwrite":{"default":false,"description":"Overwrite existing file","type":"boolean"}},"type":"object"},{"type":"null"}],"default":null,"description":"The save. Nothing is required: give `file_path` for a new\npath or omit it to save in place; `overwrite` is off."}},"type":"object"},"name":"save_part","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Save Part"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Save Assembly"},"description":"Save the active assembly in place, or as a new .sldasm, optionally copying the parts it uses alongside.\n\nBefore writing to a new path it checks the folder exists and is writable,\nchanges the extension to .sldasm, and refuses an existing file unless\n`overwrite` is on. With `include_references`, it instead copies the assembly\nfile as last saved, and the files it references, into the new folder; unsaved\nchanges are left out and references are not updated. For a self-contained copy,\nuse `pack_and_go_assembly`. Needs: an open, active assembly, saved once for\n`include_references`. Changes: writes the assembly file (and copies). Returns:\n`file_path`, plus `copied_files` and `missing_source_files` when copying\nreferences.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for saving an assembly file.\n\nAttributes:\n    file_path (str | None): The file path value.\n    overwrite (bool): The overwrite value.","properties":{"file_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Optional output path. If omitted, saves the active assembly to its existing location."},"include_references":{"default":false,"description":"When true and file_path is set, copy referenced assembly files into the target folder.","type":"boolean"},"overwrite":{"default":false,"description":"Overwrite existing file","type":"boolean"}},"type":"object"},{"type":"null"}],"default":null,"description":"The save. Nothing is required: give `file_path` for a new\npath or omit it to save in place; `overwrite` and\n`include_references` are off."}},"type":"object"},"name":"save_assembly","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Save Assembly"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Pack and Go Assembly"},"description":"Copy an assembly and every file it uses into one folder that opens on its own.\n\nUse it to hand over or archive an assembly. SolidWorks lists the files the\nassembly uses; each is copied under its own name, as saved on disk, so save\nfirst: a `warning` names any open file whose unsaved changes the copy doesn't\nhave. The copy opens with its own parts, since SolidWorks looks in the\nassembly's folder first. It fails, copying nothing, when a file is missing,\ntwo files share a name, or `target_dir` holds the originals. It refuses a\nfolder that already has files unless `overwrite` is on, and then replaces only\nthe files it copies. It never closes or changes a document. It can add an\nisometric PNG preview. Needs: the .sldasm on disk. Changes: writes the copies\ninto `target_dir`, creating it if needed. Returns: `source_assembly`,\n`target_dir`, `copied_files`, `source_files`, `unsaved_changes` and, with a\npreview, `preview_image`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The copy. `source_path` (a .sldasm) and `target_dir` are\nrequired; `export_preview` and `overwrite` are off.","properties":{"export_preview":{"default":false,"description":"Export an isometric PNG preview next to the copied files","type":"boolean"},"overwrite":{"default":false,"description":"Pack into a target_dir that already holds files, replacing the ones Pack and Go writes; other files there are kept","type":"boolean"},"source_path":{"description":"Absolute path to the source .sldasm file","type":"string"},"target_dir":{"description":"Directory where the assembly and all referenced parts will be copied","type":"string"}},"required":["source_path","target_dir"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"pack_and_go_assembly","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Pack and Go Assembly"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"List Open Documents"},"description":"List every document open in SolidWorks and say which one is active.\n\nUse it before `activate_document`, or when tool calls seem to act on the wrong\ndocument. Needs: SolidWorks running. Read-only. Returns: `documents` (each with\n`title`, `path`, `type` and `is_active`) and `count`.","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"list_open_documents","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Open Documents"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Activate Document"},"description":"Make an already-open document the active one, so the next tools act on it.\n\nMatch it by window title, full path or file name (not case-sensitive); see\n`list_open_documents`. To open a file that isn't open yet, use `open_model`.\nNeeds: the document open in SolidWorks. Changes: the active document. Returns:\n`data` with `activated` (the title) and `verified` (read back from SolidWorks;\nnull when it couldn't be read). No match is an error that lists the open\ndocuments.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The document. `title_or_path` is required.","properties":{"title_or_path":{"description":"Window title (e.g. 'bracket.SLDPRT'), full path, or bare file name of a document that is already open","type":"string"}},"required":["title_or_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"activate_document","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Activate Document"},{"_meta":{"fastmcp":{"tags":["file_management","level:stable"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Save Body as Part"},"description":"Save one solid body of the active multibody part as a new part file (Insert > Features > Save Bodies).\n\nUse it to split a multibody part into parts, e.g. after `create_extrusion`\nwithout merging. Needs: an open, active part with the named body and an existing\ntarget folder. Changes: adds a Save Bodies feature to the part and writes the\nnew .sldprt. Returns: `data` with `body`, `file_path`, `feature` and\n`solid_bodies` (every body name, to correct a wrong one).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The body. `body_name` and `file_path` (a .sldprt) are\nrequired.","properties":{"body_name":{"description":"Name of a solid body in the active part, e.g. 'Boss-Extrude1'","type":"string"},"file_path":{"description":"Absolute path for the new .sldprt (parent directory must exist)","type":"string"}},"required":["body_name","file_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"save_body_as_part","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Save Body as Part"},{"_meta":{"fastmcp":{"tags":["level:stable","vba_generation"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA: Extrusion"},"description":"Write a VBA macro that makes an extrusion with the full FeatureExtrusion options: both directions, draft, thin wall, end conditions.\n\nUse it when `create_extrusion` doesn't cover an option you need, or to hand the\nstep to someone as a macro. The macro comes back as text for the SolidWorks VBA\neditor (Alt+F11); `execute_macro` runs only binary .swp files, so it can't run\nthis directly. Read-only. Nothing runs in SolidWorks. Returns: `vba_code`, the\n`parameters` used and `usage_instructions`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The extrusion. `depth` (mm) is required; everything else\n(`sketch_name`, draft, thin-wall and end-condition options) has a\ndefault.","properties":{"advanced_options":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Advanced options"},"assembly_feature_scope":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Assembly feature scope"},"auto_select":{"default":true,"description":"Auto select components","type":"boolean"},"both_directions":{"default":false,"description":"Extrude in both directions","type":"boolean"},"cap_ends":{"default":false,"description":"Cap thin feature ends","type":"boolean"},"cap_thickness":{"default":1.0,"description":"Cap thickness in mm","type":"number"},"custom_properties":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Custom properties"},"depth":{"description":"Extrusion depth in mm","type":"number"},"depth2":{"default":0.0,"description":"Second direction depth if both_directions=True","type":"number"},"direction":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Direction"},"draft_angle":{"default":0.0,"description":"Draft angle in degrees","type":"number"},"draft_outward":{"default":true,"description":"Draft direction","type":"boolean"},"end_condition":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"End condition"},"end_condition_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"End condition reference"},"feature_scope":{"anyOf":[{"type":"string"},{"type":"boolean"}],"default":false,"description":"Use feature scope"},"merge_result":{"default":true,"description":"Merge with existing geometry","type":"boolean"},"offset_parameters":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Offset parameters"},"sketch_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Sketch name"},"start_condition":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Start condition"},"thin_feature":{"default":false,"description":"Create thin feature","type":"boolean"},"thin_thickness":{"default":1.0,"description":"Thin feature thickness in mm","type":"number"},"thin_thickness1":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Alias thickness 1"},"thin_thickness2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Alias thickness 2"},"thin_type":{"default":"OneDirection","description":"Thin feature type","type":"string"}},"required":["depth"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_extrusion","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA: Extrusion"},{"_meta":{"fastmcp":{"tags":["level:stable","vba_generation"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA: Revolve"},"description":"Write a VBA macro that revolves the selected sketch, with both-direction and thin-wall options.\n\nUse it when `create_revolve` doesn't cover an option you need. The macro comes\nback as text for the SolidWorks VBA editor (Alt+F11); `execute_macro` runs only\nbinary .swp files, so it can't run this directly. Read-only. Nothing runs in\nSolidWorks. Returns: `vba_code`, the `parameters` used and `usage_instructions`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The revolve. Give `angle` in degrees (it defaults to 0, a\nrevolve of nothing); `sketch_name`, `axis_reference`, both-direction\nand thin-wall options have defaults.","properties":{"angle":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Revolve angle in degrees"},"angle2":{"default":0.0,"description":"Second direction angle","type":"number"},"angle_degrees":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Angle alias"},"axis_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Axis reference"},"both_directions":{"default":false,"description":"Revolve in both directions","type":"boolean"},"merge_result":{"default":true,"description":"Merge with existing geometry","type":"boolean"},"sketch_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Sketch name"},"thin_feature":{"default":false,"description":"Create thin feature","type":"boolean"},"thin_thickness":{"default":1.0,"description":"Thin feature thickness in mm","type":"number"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_revolve","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA: Revolve"},{"_meta":{"fastmcp":{"tags":["level:stable","vba_generation"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA: Insert Component"},"description":"Write a VBA macro that inserts a component into the active assembly at a point.\n\nTo insert a component directly, use `insert_component`. The macro comes back as\ntext for the SolidWorks VBA editor (Alt+F11); `execute_macro` runs only binary\n.swp files, so it can't run this directly. Read-only. Nothing runs in\nSolidWorks. Returns: `vba_code`, the `parameters` used and `usage_instructions`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The component. Give `component_path` (the .sldprt or\n.sldasm); `insertion_point` and `rotation` default to the origin.","properties":{"assembly_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Assembly file"},"component_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Component file alias"},"component_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to component file"},"insertion_point":{"default":[0,0,0],"description":"Insertion coordinates [x,y,z]","items":{"type":"number"},"type":"array"},"operation_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Assembly operation (insert, mate, pattern, etc.)"},"rotation":{"default":[0,0,0],"description":"Rotation angles [rx,ry,rz]","items":{"type":"number"},"type":"array"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_assembly_insert","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA: Insert Component"},{"_meta":{"fastmcp":{"tags":["level:stable","vba_generation"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA: Drawing Views"},"description":"Write a VBA macro that places a model's standard views (front, top, right) on the active drawing.\n\nTo make a drawing directly, use `generate_drawing_package` or\n`create_drawing_view`. The macro comes back as text for the SolidWorks VBA\neditor (Alt+F11); `execute_macro` runs only binary .swp files, so it can't run\nthis directly. Read-only. Nothing runs in SolidWorks. Returns: `vba_code`, the\n`parameters` used and `usage_instructions`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The views. Give `model_path` (the model to draw);\n`scale`, `sheet_format` and the view layout have defaults. The\ndrawing must be open and active when the macro runs.","properties":{"advanced_options":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Advanced options"},"drawing_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Drawing file path"},"model_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to 3D model"},"operation_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Drawing operation (view, dimension, annotation, etc.)"},"scale":{"default":1.0,"description":"Drawing scale","type":"number"},"sheet_format":{"default":"A3","description":"Sheet format (A4, A3, B, C, etc.)","type":"string"},"view_layout":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"View layout"},"view_scale":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"View scale"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_drawing_views","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA: Drawing Views"},{"_meta":{"fastmcp":{"tags":["level:stable","vba_generation"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA: Batch Export"},"description":"Write a VBA macro that opens every matching file in a folder and saves a STEP copy of each to another folder.\n\nTo export one file directly, use `export_step`. The macro comes back as text for\nthe SolidWorks VBA editor (Alt+F11); `execute_macro` runs only binary .swp\nfiles, so it can't run this directly. Read-only. Nothing runs in SolidWorks.\nReturns: `vba_code`, the `parameters` used and `usage_instructions`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The batch. Give `operation_type` (e.g. \"export\"),\n`file_pattern` (e.g. \"*.sldprt\"), `source_folder` and\n`target_folder`; `recursive` defaults to on.","properties":{"exclude_list":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"Exclude list"},"export_format":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Export format alias"},"file_pattern":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"File pattern to process (e.g., '*.sldprt')"},"operation_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Batch operation type (export, properties, etc.)"},"recursive":{"default":true,"description":"Process subfolders","type":"boolean"},"source_directory":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Source directory alias"},"source_folder":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Source folder path"},"target_folder":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Target folder path"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_batch_export","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA: Batch Export"},{"_meta":{"fastmcp":{"tags":["level:stable","vba_generation"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA: Part Modeling"},"description":"Write a VBA macro for a shell or a fillet on the active part.\n\nUse it for a shell, which no direct tool makes yet; for a fillet, `add_fillet`\nworks directly. The macro comes back as text for the SolidWorks VBA editor\n(Alt+F11); `execute_macro` runs only binary .swp files, so it can't run this\ndirectly. Read-only. Nothing runs in SolidWorks. Returns: `vba_code`, the\n`parameters` used and `usage_instructions`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with `operation`, \"shell\" (the default, with\n`thickness` in mm, default 2) or \"fillet\" (with `radius` in mm,\ndefault 5). Any other operation is refused.","type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_part_modeling","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA: Part Modeling"},{"_meta":{"fastmcp":{"tags":["level:stable","vba_generation"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA: Assembly Mates"},"description":"Write a VBA macro that adds a concentric, distance, parallel, perpendicular or coincident mate between two selected faces or edges.\n\nTo add a mate directly, use `add_mate`. The macro comes back as text for the\nSolidWorks VBA editor (Alt+F11); `execute_macro` runs only binary .swp files, so\nit can't run this directly. The faces must be selected in SolidWorks before the\nmacro runs. Read-only. Nothing runs in SolidWorks. Returns: `vba_code`, the\n`parameters` used and `usage_instructions`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with `mate_type` (default \"concentric\"),\n`component1` and `component2` (names, for the comments), and\n`distance` in mm for a distance mate.","type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_assembly_mates","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA: Assembly Mates"},{"_meta":{"fastmcp":{"tags":["level:stable","vba_generation"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA: Drawing Dimensions"},"description":"Write a VBA macro that adds a dimension to the selected drawing entities and sets its precision.\n\nTo bring the model's dimensions into a drawing directly, use\n`insert_model_dimensions`. The macro comes back as text for the SolidWorks VBA\neditor (Alt+F11); `execute_macro` runs only binary .swp files, so it can't run\nthis directly. The entities must be selected before the macro runs. Read-only.\nNothing runs in SolidWorks. Returns: `vba_code`, the `parameters` used and\n`usage_instructions`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with `dimension_type` (\"linear\", the default,\n\"radial\", \"angular\" or \"diameter\") and `precision` (decimal places,\ndefault 2).","type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_drawing_dimensions","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA: Drawing Dimensions"},{"_meta":{"fastmcp":{"tags":["level:stable","vba_generation"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA: File Operations"},"description":"Write a VBA macro that sets a custom property in every configuration, or runs Pack and Go on the active document.\n\nTo set a property directly, use `set_custom_property`; for Pack and Go, use\n`pack_and_go_assembly`. The macro comes back as text for the SolidWorks VBA\neditor (Alt+F11); `execute_macro` runs only binary .swp files, so it can't run\nthis directly. Read-only. Nothing runs in SolidWorks. Returns: `vba_code`, the\n`parameters` used and `usage_instructions`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with `operation`: \"custom_properties\" (the\ndefault, with `property_name` and `property_value`) or\n\"pack_and_go\" (with `target_folder`). Any other operation is\nrefused.","type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_file_operations","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA: File Operations"},{"_meta":{"fastmcp":{"tags":["level:stable","vba_generation"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Generate VBA: Macro Recorder"},"description":"Write a VBA starting point: a macro skeleton to fill in, or a note on starting and stopping SolidWorks' macro recorder.\n\nUse \"create_template\" for an empty macro with the usual SolidWorks setup.\nRecording itself is done in SolidWorks (Tools > Macro > Record). The macro comes\nback as text for the SolidWorks VBA editor (Alt+F11); `execute_macro` runs only\nbinary .swp files, so it can't run this directly. Read-only. Nothing runs in\nSolidWorks. Returns: `vba_code`, the `parameters` used and `usage_instructions`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with `operation`: \"start_recording\" (the\ndefault), \"stop_recording\" or \"create_template\" (with\n`macro_name`). Any other operation is refused.","type":"object"}},"required":["input_data"],"type":"object"},"name":"generate_vba_macro_recorder","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate VBA: Macro Recorder"},{"_meta":{"fastmcp":{"tags":["level:planned","template_management"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Extract Template"},"description":"Capture a model's settings (custom properties, dimensions, units) as a reusable template file.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Changes: once\navailable, writes the template to `save_path`, replacing any file there.\nReturns: once available, the captured settings under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The extraction. `source_model`, `template_name`,\n`template_type` and `save_path` are required;\n`include_custom_properties` and `include_dimensions` default to on.","properties":{"include_custom_properties":{"default":true,"description":"Include custom properties","type":"boolean"},"include_dimensions":{"default":true,"description":"Include dimensions","type":"boolean"},"save_path":{"description":"Path to save the template file","type":"string"},"source_model":{"description":"Path to source model file","type":"string"},"template_name":{"description":"Name for the extracted template","type":"string"},"template_type":{"description":"Template type (part, assembly, drawing)","type":"string"}},"required":["source_model","template_name","template_type","save_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"extract_template","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Extract Template"},{"_meta":{"fastmcp":{"tags":["level:planned","template_management"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Apply Template"},"description":"Apply a saved template's properties, dimensions and materials to a model.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To set a\nmaterial or a property today, use `set_material` or `set_custom_property`.\nChanges: once available, overwrites the target model's matching settings.\nReturns: once available, what changed under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The application. `template_path` and `target_model` are\nrequired; `overwrite_existing`, `apply_dimensions` and\n`apply_materials` have defaults.","properties":{"apply_dimensions":{"default":true,"description":"Apply dimension formatting","type":"boolean"},"apply_materials":{"default":true,"description":"Apply material settings","type":"boolean"},"overwrite_existing":{"default":false,"description":"Overwrite existing properties","type":"boolean"},"target_model":{"description":"Path to target model","type":"string"},"template_path":{"description":"Path to template file","type":"string"}},"required":["template_path","target_model"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"apply_template","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Apply Template"},{"_meta":{"fastmcp":{"tags":["level:planned","template_management"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Apply Template in Batch"},"description":"Apply one template to every matching model in a folder.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Changes: once\navailable, overwrites settings in each matching file, optionally keeping\nbackups. Returns: once available, a per-file result under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"description":"The batch. `template_path` and `source_folder` are\nrequired; `file_pattern`, `recursive` and `backup_originals` have\ndefaults.","properties":{"backup_originals":{"default":true,"description":"Create backup copies","type":"boolean"},"file_pattern":{"default":"*.sldprt","description":"File pattern to match","type":"string"},"recursive":{"default":true,"description":"Process subfolders","type":"boolean"},"source_folder":{"description":"Folder containing target models","type":"string"},"template_path":{"description":"Path to template file","type":"string"}},"required":["template_path","source_folder"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"batch_apply_template","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Apply Template in Batch"},{"_meta":{"fastmcp":{"tags":["level:stable","template_management"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Compare Templates"},"description":"Compare two template files on disk: whether they are byte-identical, and how their sizes differ.\n\nUse it to tell whether two templates are the same file. It does not read the\ntemplates' settings, so it can't say which properties or dimensions differ.\nNeeds: both files on disk. Read-only. Returns: `comparison` with `file_1` and\n`file_2` (size, modified time, SHA-256), `identical` and `size_delta_bytes`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The two templates: `template1_path` and `template2_path`,\nboth required.","properties":{"template1_path":{"description":"Path to first template","type":"string"},"template2_path":{"description":"Path to second template","type":"string"}},"required":["template1_path","template2_path"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"compare_templates","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Compare Templates"},{"_meta":{"fastmcp":{"tags":["level:planned","template_management"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Save to Template Library"},"description":"Add a template to a shared, categorised template library.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Changes: once\navailable, copies the template into the library, replacing an entry with the\nsame name. Returns: once available, the library entry under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with the `template_name` and the template's path.","type":"object"}},"required":["input_data"],"type":"object"},"name":"save_to_template_library","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Save to Template Library"},{"_meta":{"fastmcp":{"tags":["level:planned","template_management"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"List Template Library"},"description":"List the templates in the shared template library.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Read-only.\nReturns: once available, the library's templates under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping of optional filters; none is required.","type":"object"}},"required":["input_data"],"type":"object"},"name":"list_template_library","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Template Library"},{"_meta":{"fastmcp":{"tags":["level:planned","macro_recording"]}},"annotations":{"destructiveHint":false,"idempotentHint":false,"readOnlyHint":false,"title":"Start Macro Recording"},"description":"Start SolidWorks' macro recorder, to capture what the user does as a macro.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Recording is\ndone in SolidWorks today (Tools > Macro > Record). Changes: once available,\nstarts a recording session. Returns: once available, the session details under\n`data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The recording. `output_file` (where the macro is saved) is\nrequired; `macro_name`, `recording_mode`, the capture switches and\n`timeout_seconds` have defaults.","properties":{"auto_cleanup":{"default":false,"description":"Cleanup temporary files","type":"boolean"},"auto_stop":{"default":false,"description":"Auto-stop recording after timeout","type":"boolean"},"capture_keyboard":{"default":true,"description":"Capture keyboard actions","type":"boolean"},"capture_mouse":{"default":true,"description":"Capture mouse actions","type":"boolean"},"description":{"default":"","description":"Description of macro functionality","type":"string"},"macro_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Name for the recorded macro"},"output_file":{"description":"Output file for the recorded macro","type":"string"},"recording_mode":{"default":"User actions","description":"Recording mode","type":"string"},"recording_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Alternative recording name"},"recording_quality":{"default":"High","description":"Recording quality level","type":"string"},"timeout_seconds":{"default":300,"description":"Timeout for auto-stop in seconds","type":"integer"}},"required":["output_file"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"start_macro_recording","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Start Macro Recording"},{"_meta":{"fastmcp":{"tags":["level:planned","macro_recording"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Stop Macro Recording"},"description":"Stop the macro recorder and save the recorded macro.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Recording is\ndone in SolidWorks today (Tools > Macro > Stop). Changes: once available, ends\nthe session and writes the macro file. Returns: once available, the saved\nmacro's details under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping; nothing in it is used yet.","type":"object"}},"required":["input_data"],"type":"object"},"name":"stop_macro_recording","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Stop Macro Recording"},{"_meta":{"fastmcp":{"tags":["level:stable","macro_recording"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Run Macro"},"description":"Run a binary SolidWorks macro (.swp, or legacy .swb) in the running SolidWorks, calling its `main` procedure once.\n\nUse it to run an existing macro file. VBA source (.bas, .vb, plain text, or what\nthe `generate_vba_*` tools return) is refused as invalid input before SolidWorks\nsees it. The macro must not wait for the user (no MsgBox or forms), or the call\nhangs. It runs `repeat_count` times, `pause_between_runs` seconds apart, and\nstops at the first run that fails. Needs: SolidWorks running and the macro file\non disk. Changes: whatever the macro does; it can't be undone from here.\nReturns: `runs_completed` and `data` from the last run, with `macro_path`,\n`module_name`, `proc_name` and `errors`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The macro to run. Give `macro_path` (or `macro_file`);\n`proc_name` (main), `repeat_count` (1) and `pause_between_runs` (0 s)\nhave defaults.","properties":{"macro_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Alternative to macro_path (.swp or .swb)"},"macro_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a binary SolidWorks macro (.swp, or legacy .swb). VBA source (.vb, .bas, text) cannot be run directly."},"pause_between_runs":{"default":0.0,"description":"Seconds to wait between runs","minimum":0.0,"type":"number"},"proc_name":{"default":"main","description":"The macro procedure to call; main by default","type":"string"},"repeat_count":{"default":1,"description":"How many times to run the macro (1-100); it stops at the first failure","maximum":100,"minimum":1,"type":"integer"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"execute_macro","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Run Macro"},{"_meta":{"fastmcp":{"tags":["level:planned","macro_recording"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Analyze Macro"},"description":"Analyse a macro's structure, dependencies and complexity, and suggest optimisations.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Read-only.\nReturns: once available, the findings under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The macro. Give `macro_path` (or `macro_file`);\n`analysis_type`, `analysis_depth` and `suggest_optimizations` have\ndefaults.","properties":{"analysis_depth":{"default":"Basic","description":"Analysis depth alias","type":"string"},"analysis_type":{"default":"full","description":"Analysis type (full, dependencies, performance)","type":"string"},"macro_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Alternative macro file path"},"macro_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to macro file to analyze"},"suggest_optimizations":{"default":false,"description":"Suggest optimizations","type":"boolean"}},"type":"object"}},"required":["input_data"],"type":"object"},"name":"analyze_macro","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Analyze Macro"},{"_meta":{"fastmcp":{"tags":["level:planned","macro_recording"]}},"annotations":{"destructiveHint":true,"idempotentHint":false,"readOnlyHint":false,"title":"Run Macros in Batch"},"description":"Run several macros in sequence against the files in a folder.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. To run one\nmacro, use `execute_macro`. Changes: once available, whatever the macros do.\nReturns: once available, each run's result under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"The batch. `macro_list` (macro file paths) is required;\n`target_directory`, `file_pattern`, `execution_order` and\n`stop_on_error` have defaults.","properties":{"execution_order":{"default":"sequential","description":"Execution order (sequential, parallel)","type":"string"},"file_pattern":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"File pattern alias"},"macro_list":{"description":"List of macro file paths","items":{"type":"string"},"type":"array"},"source_directory":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Source directory alias"},"stop_on_error":{"default":true,"description":"Stop batch if error occurs","type":"boolean"},"target_directory":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Target directory alias"}},"required":["macro_list"],"type":"object"}},"required":["input_data"],"type":"object"},"name":"batch_execute_macros","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Run Macros in Batch"},{"_meta":{"fastmcp":{"tags":["level:planned","macro_recording"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Optimize Macro"},"description":"Suggest improvements to a macro's code for speed and reliability.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Read-only. It\nwould suggest changes, not make them. Returns: once available, the suggestions\nunder `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with the macro's `macro_path` (or `macro_file`).","type":"object"}},"required":["input_data"],"type":"object"},"name":"optimize_macro","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Optimize Macro"},{"_meta":{"fastmcp":{"tags":["level:planned","macro_recording"]}},"annotations":{"destructiveHint":true,"idempotentHint":true,"readOnlyHint":false,"title":"Create Macro Library"},"description":"Set up a shared folder of categorised, documented macros.\n\nNot available yet: no adapter implements it, so every call returns an error with\n`error_type: \"not_supported\"`. It is planned for a future release. Changes: once\navailable, creates the library folder and its index. Returns: once available,\nthe library's contents under `data`.","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"additionalProperties":true,"description":"A mapping with the `library_path` to create.","type":"object"}},"required":["input_data"],"type":"object"},"name":"create_macro_library","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Create Macro Library"},{"_meta":{"fastmcp":{"tags":["docs_discovery","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Rebuild SolidWorks API Index"},"description":"Rebuild the SolidWorks API index on purpose. The lookups don't need it.\n\nThe lookup tools (lookup_api_method, lookup_api_interface,\nfind_related_api_members, search_solidworks_api_help) build the index\nthemselves on first use, so call this only to rebuild it, to read a\nspecific SolidWorks year, or to save a copy elsewhere. It reads every\ninterface in the installed SolidWorks type library (each member's\nparameters, return type and description), plus the VBA library\nreferences. SolidWorks must be installed, not running; it is never\nstarted or called. Changes: writes the index file, replacing the\nsaved one.\n\nReturns ``summary`` (interface, method and property counts),\n``type_library`` (version, year and .tlb path), ``year`` and\n``output_file``, the saved index (megabytes, so it is not returned).\nFails with a message naming the installed years when ``year`` isn't\ninstalled, or saying SolidWorks isn't installed here.\n\nExample input: ``{\"year\": 2026}``","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for ``discover_solidworks_docs``.\n\nAttributes:\n    output_dir (str | None): Folder to save the index in.\n    include_vba (bool): Whether to scan for VBA library references.\n    year (int | None): The SolidWorks year whose type library to read.","properties":{"include_vba":{"default":true,"description":"Also list the VBA type libraries registered on this machine","type":"boolean"},"output_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Folder to save the index in; default .generated/docs-index. The lookups only read the default folder, so another folder is for keeping a copy (pass it back as index_file)."},"year":{"anyOf":[{"maximum":2100,"minimum":1995,"type":"integer"},{"type":"null"}],"default":null,"description":"SolidWorks year whose type library to read, e.g. 2026; an error if that year isn't installed. Unset: the year the server was started with (--year), else the newest installed."}},"type":"object"},{"type":"null"}],"default":null,"description":"The rebuild. Nothing is\nrequired: `year` defaults to the installed release,\n`output_dir` to the index folder, and `include_vba` to on."}},"type":"object"},"name":"discover_solidworks_docs","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Rebuild SolidWorks API Index"},{"_meta":{"fastmcp":{"tags":["docs_discovery","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Search SolidWorks API"},"description":"Search SolidWorks API interface and member names by keyword.\n\nUse this when you don't know the exact name: \"chamfer\" finds\nIFeatureManager.InsertFeatureChamfer. Then call lookup_api_method on\na match for its parameters and return type. Matches come from the\nSolidWorks type library installed on this machine.\n\nSetup: none. SolidWorks must be installed, not running; it is never\ncontacted. Read-only. The first call builds the index (about a\nsecond) and later calls reuse it. ``index_status`` is ``ready``\n(saved index), ``rebuilt`` (built for this call) or ``unavailable``\n(no index could be built; ``guidance`` says why).\n\nReturns ``matches`` (interface, member, member_type, score),\n``guidance``, and ``fallback_help`` suggesting MCP tools for the\ntask, with ``year`` and ``type_library_version`` of the library that\nanswered.\n\nExample input: ``{\"query\": \"chamfer\", \"max_results\": 5}``","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for ``search_solidworks_api_help``.\n\nAttributes:\n    query (str): Words to search member and interface names for.\n    max_results (int): How many matches to return at most.\n    auto_discover_if_missing (bool): Accepted for old callers; unused.","properties":{"auto_discover_if_missing":{"default":false,"description":"No longer needed: the index is built automatically when missing. Still accepted so existing callers keep working.","type":"boolean"},"index_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a saved index JSON to answer from instead of the installed type library, e.g. one copied from another machine. Rarely needed."},"max_results":{"default":10,"description":"Maximum number of matches to return","maximum":50,"minimum":1,"type":"integer"},"query":{"description":"Words to find in interface and member names, e.g. 'chamfer' or 'SelectByID2'","minLength":2,"type":"string"},"year":{"anyOf":[{"maximum":2100,"minimum":1995,"type":"integer"},{"type":"null"}],"default":null,"description":"SolidWorks year whose API to answer for, e.g. 2026. Usually leave unset: the server's --year, else the newest installed. A year that isn't installed is explained in the result's note."}},"required":["query"],"type":"object"},{"type":"null"}],"default":null,"description":"The search. `query`\n(one or more words) is required; `max_results` and `year`\nhave defaults."}},"type":"object"},"name":"search_solidworks_api_help","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Search SolidWorks API"},{"_meta":{"fastmcp":{"tags":["docs_discovery","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Look Up API Method"},"description":"Look up one SolidWorks API method or property: parameters, return type, description.\n\nUse this before writing or debugging a SolidWorks API call (VBA, a\nmacro or COM) to check that the member exists on that interface and\nhow to call it. Answers come from the SolidWorks type library\ninstalled on this machine, so they match the installed version.\n\nSetup: none. SolidWorks must be installed, not running; it is never\ncontacted. Read-only. The first lookup builds the index (about a\nsecond). ``index_status`` is ``ready``, ``rebuilt`` or\n``unavailable``.\n\nNames match regardless of case, as COM does. ``result.member`` is\nSolidWorks' own spelling, with a ``note`` when yours differs. Each\nparameter has a ``type`` and a ``direction``: ``in``, ``out``\n(SolidWorks fills it) or ``in_out`` (pass a variable by reference).\n``return_type`` is null when the method returns nothing; a property\nhas its value type there and an ``access``. ``result.found`` false\nmeans there is no such member, and ``result.note`` says why,\nincluding when no index could be built (SolidWorks isn't installed\nhere, or the requested year isn't).\n\nExample input: ``{\"interface\": \"ISldWorks\", \"method\": \"OpenDoc6\"}``","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for ``lookup_api_method``.\n\nAttributes:\n    interface (str): The COM interface the member is on.\n    method (str): The method or property name.","properties":{"index_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a saved index JSON to answer from instead of the installed type library, e.g. one copied from another machine. Rarely needed."},"interface":{"description":"COM interface name, e.g. 'IFeatureManager' or 'IModelDoc2'","minLength":2,"type":"string"},"method":{"description":"Method or property name, e.g. 'InsertFeatureChamfer'; case does not matter","minLength":1,"type":"string"},"year":{"anyOf":[{"maximum":2100,"minimum":1995,"type":"integer"},{"type":"null"}],"default":null,"description":"SolidWorks year whose API to answer for, e.g. 2026. Usually leave unset: the server's --year, else the newest installed. A year that isn't installed is explained in the result's note."}},"required":["interface","method"],"type":"object"},{"type":"null"}],"default":null,"description":"The member to look up.\n`interface` (e.g. \"ISldWorks\") and `method` (a method or\nproperty name) are required; `year` has a default."}},"type":"object"},"name":"lookup_api_method","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Look Up API Method"},{"_meta":{"fastmcp":{"tags":["docs_discovery","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Look Up API Interface"},"description":"List every method and property of a SolidWorks COM interface.\n\nUse this to see what an interface offers, such as IFeatureManager,\nor to check which interface a member is really on before calling it.\nFor one member's parameters, use lookup_api_method. Names match\nregardless of case.\n\nSetup: none. SolidWorks must be installed, not running; it is never\ncontacted. Read-only. The first call builds the index (about a\nsecond) and later calls reuse it. ``index_status`` is ``ready``\n(saved index), ``rebuilt`` (built for this call) or ``unavailable``\n(no index could be built).\n\nReturns ``result`` with ``methods``, ``properties`` and their counts.\n``result.found`` false means the interface isn't in the type library,\nor no index could be built, in which case ``result.note`` says why.\n\nExample input: ``{\"interface\": \"IFeatureManager\"}``","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for ``lookup_api_interface``.\n\nAttributes:\n    interface (str): The COM interface whose members to list.","properties":{"index_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a saved index JSON to answer from instead of the installed type library, e.g. one copied from another machine. Rarely needed."},"interface":{"description":"COM interface name, e.g. 'ISldWorks'; case does not matter","minLength":2,"type":"string"},"year":{"anyOf":[{"maximum":2100,"minimum":1995,"type":"integer"},{"type":"null"}],"default":null,"description":"SolidWorks year whose API to answer for, e.g. 2026. Usually leave unset: the server's --year, else the newest installed. A year that isn't installed is explained in the result's note."}},"required":["interface"],"type":"object"},{"type":"null"}],"default":null,"description":"The interface.\n`interface` (e.g. \"IFeatureManager\") is required; `year` has\na default."}},"type":"object"},"name":"lookup_api_interface","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Look Up API Interface"},{"_meta":{"fastmcp":{"tags":["docs_discovery","level:stable"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":true,"title":"Find Related API Members"},"description":"Find SolidWorks API members related to an interface or member name.\n\nFor an interface: its own members. For a member: the other members\nof every interface that also has it (often used together), plus\nmembers whose names contain it. Use it to explore around a call you\nknow, such as what sits beside InsertSketch.\n\nSetup: none. SolidWorks must be installed, not running; it is never\ncontacted. Read-only. The first call builds the index (about a\nsecond) and later calls reuse it. ``index_status`` is ``ready``\n(saved index), ``rebuilt`` (built for this call) or ``unavailable``\n(no index could be built).\n\nReturns ``result.related``: each member's interface, name, type and\nwhy it is related. ``result.found`` false means nothing matched, or\nno index could be built, in which case ``result.note`` says why.\n\nExample input: ``{\"name\": \"InsertSketch\", \"max_results\": 10}``","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for ``find_related_api_members``.\n\nAttributes:\n    name (str): An interface or member name to find relatives of.\n    max_results (int): How many related members to return at most.","properties":{"index_file":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to a saved index JSON to answer from instead of the installed type library, e.g. one copied from another machine. Rarely needed."},"max_results":{"default":25,"description":"Maximum related members to return","maximum":200,"minimum":1,"type":"integer"},"name":{"description":"An interface name (lists its members) or a member name (lists the members beside it), e.g. 'InsertSketch'","minLength":2,"type":"string"},"year":{"anyOf":[{"maximum":2100,"minimum":1995,"type":"integer"},{"type":"null"}],"default":null,"description":"SolidWorks year whose API to answer for, e.g. 2026. Usually leave unset: the server's --year, else the newest installed. A year that isn't installed is explained in the result's note."}},"required":["name"],"type":"object"},{"type":"null"}],"default":null,"description":"What to explore.\n`name` (an interface or member) is required; `max_results`\nand `year` have defaults."}},"type":"object"},"name":"find_related_api_members","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Find Related API Members"},{"_meta":{"fastmcp":{"tags":["level:stable","server_admin"]}},"annotations":{"destructiveHint":false,"idempotentHint":true,"readOnlyHint":false,"title":"Reset Circuit Breaker"},"description":"Let calls through again to operations the server paused after repeated failures.\n\nUse it when a tool returns `error_type: circuit_open` and you have fixed what\nmade the calls fail (a missing sketch, a wrong reference): without a reset, the\noperation stays paused until its timeout. Resetting does not fix the cause; a\ncall that fails again counts towards a new pause. Changes: only the server's\nown state; no SolidWorks document is touched. Returns: `data` with `reset`, the\noperations that were paused (empty when none were).","inputSchema":{"additionalProperties":false,"properties":{"input_data":{"anyOf":[{"additionalProperties":true,"description":"Input schema for resetting circuit breakers.\n\nAttributes:\n    operation (str | None): The operation to reset, e.g. ``create_extrusion``.","properties":{"operation":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"The operation to reset, as named in the circuit_open error (e.g. create_extrusion); leave it out to reset every operation"}},"type":"object"},{"type":"null"}],"default":null,"description":"Optional: `operation` resets only that operation; leave it out\nto reset every one."}},"type":"object"},"name":"reset_circuit_breaker","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Reset Circuit Breaker"}]}}}
