{"at":"2026-11-23T05:13:32.287Z","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-23T05:13:33.577Z","dir":"received","era":"server_discover","message":{"error":{"code":-32602,"data":"","message":"Invalid request parameters"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T05:13:33.728Z","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-23T05:13:34.981Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"experimental":{},"prompts":{"listChanged":false},"resources":{"listChanged":false,"subscribe":false},"tools":{"listChanged":false}},"protocolVersion":"2025-11-25","serverInfo":{"name":"ankusdrive","version":"1.30.0"}}}}
{"at":"2026-11-23T05:13:34.981Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T05:13:34.981Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T05:13:34.993Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Ping"},"description":"Check that the FreeCAD worker is alive. Returns 'pong' on success.","inputSchema":{"properties":{"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"pingArguments","type":"object"},"name":"ping","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"pingOutput","type":"object"},"title":"Ping"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Restart Worker"},"description":"Kill the current workspace's FreeCAD worker process and spawn a fresh one.\nUse when the worker is wedged (e.g. App.ActiveDocument desynced from internal\nstate). All open documents, unsaved changes, and handles in THIS workspace are\nlost — save first if needed. Other workspaces are untouched.\nReturns {restarted: True, workspace: <name>, freecad: [...]}.","inputSchema":{"properties":{"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"restart_workerArguments","type":"object"},"name":"restart_worker","title":"Restart Worker"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Use Workspace"},"description":"Claim (creating if needed) an isolated workspace and make it the target of\nsubsequent tool calls. Each workspace is its own freecadcmd process with its\nown ActiveDocument and handle registry — handles do NOT cross workspaces.\n\nThe selection is SERVER-WIDE: it retargets every client sharing this server,\nincluding other subagents of the same session. Concurrent agents must instead\npass `workspace=<unique name>` on every tool call, which pins just that call\nand leaves this selection alone.\n\nThe pool is capped (ANKUSDRIVE_MAX_WORKSPACES, default 4) and idle workspaces are\nreaped (ANKUSDRIVE_WORKSPACE_IDLE_S, default 900s); claiming a workspace beyond a\nfull pool raises — close an idle one first. Pass \"default\" to return to the\nbaseline single-agent workspace.\nReturns {workspace: <name>, freecad: [...], workspaces: [names]}.","inputSchema":{"properties":{"name":{"title":"Name","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["name"],"title":"use_workspaceArguments","type":"object"},"name":"use_workspace","title":"Use Workspace"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"List Workspaces"},"description":"List the live workspaces (freecadcmd processes) and the pool limits. Each\nentry is {name, alive, idle_s, current}. Use to see who is holding a slot\nbefore claiming or closing one.\n\n`current` is the workspace THIS call runs in: the `workspace` you passed, else\nthe use_workspace selection. `selected` is that server-wide selection, which a\npinned call neither follows nor moves.\nReturns {current, selected, max, idle_reap_s, workspaces: [...]}.","inputSchema":{"properties":{"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"list_workspacesArguments","type":"object"},"name":"list_workspaces","title":"List Workspaces"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Close Workspace"},"description":"Shut down a workspace's worker and free its pool slot. All of that\nworkspace's documents, unsaved changes, and handles are lost. The default\nworkspace can be closed too (its worker respawns clean on next use).\n\nIf `name` is the use_workspace selection, the selection returns to \"default\",\nwhoever closes it. A call pinned with `workspace` never moves the selection\notherwise: closing your own pinned workspace leaves the pin as it is, so your\nnext call pinned to that name gets a fresh, empty worker (old handles fail).\n`current` is the workspace this call ran in (as in list_workspaces), `selected`\nthe server-wide selection after the close.\nReturns {closed: <bool>, workspace: <name>, current: <name>, selected: <name>}.","inputSchema":{"properties":{"name":{"title":"Name","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["name"],"title":"close_workspaceArguments","type":"object"},"name":"close_workspace","title":"Close Workspace"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Session Transcript"},"description":"Export this session as a Python script that regenerates it (model, drawings,\nsimulations) by calling these same tools in a fresh worker — and, with it, the\nrecord of what computed each number. Read-only: returns the script as text and\nwrites nothing.\n\nCovers one workspace (default: the current one). In the script, handles are\nvariables, job polls are one s.wait(job), and inspection calls are dropped unless\na later call used their result. Absolute paths become WORKDIR-relative. The header\nlists failed calls, run_script use and input files.\n\nTHE AUDIT SURFACE. Analysis calls are never dropped — every hand-calc, FEM read\nand *_submit is in the script, because they are the derivation, not inspection.\nEach analysis and solve result is checked whole: every number it reported becomes\nan s.check() and its verdict fields (fidelity, correlation, solver, gate pass)\nbecome s.expect(), so a replay that reached a different solver or fell back to a\ndifferent correlation stops there instead of returning a plausible number.\nrun_script code is carried verbatim with its SHA-256. With provenance (default),\nthe script opens with a PROVENANCE record — AnkusDrive/FreeCAD/platform/substrate\nplus every solver the session reached, with its resolved path, substrate and\nprobed version — and calls s.provenance(), which re-resolves that on the replaying\nmachine and prints every difference. Hand this to anyone who has to answer \"what\nexactly produced this figure?\".\n\ninclude_read_only: keep every inspection call. checkpoints: emit s.check()/s.expect().\nprune_aborted: drop calls a transaction_abort undid. provenance=False skips the\nenvironment record (and the solver version probes it runs, ~0.1-3 s per solver).\n\nReturns {workspace, script, calls, exported, skipped: {reason: count}, warnings,\nprerequisites, truncated, provenance}. Run it as `python transcript.py [WORKDIR]`.","inputSchema":{"properties":{"checkpoints":{"default":true,"title":"Checkpoints","type":"boolean"},"include_read_only":{"default":false,"title":"Include Read Only","type":"boolean"},"provenance":{"default":true,"title":"Provenance","type":"boolean"},"prune_aborted":{"default":false,"title":"Prune Aborted","type":"boolean"},"workspace":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Workspace"}},"title":"session_transcriptArguments","type":"object"},"name":"session_transcript","title":"Session Transcript"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Journal Export"},"description":"Export a past session from the on-disk journal (off by default; on with\nANKUSDRIVE_JOURNAL_DIR) as session_transcript would have: the replay script, the\nrecorded environment, and the ordered call ledger with each result's SHA-256.\nRead-only. session: an id or \"latest\"; omit to list sessions. workspace: default\nis the one current when the session ended. provenance=False skips solver version\nprobes. A redacted journal (ANKUSDRIVE_JOURNAL_REDACT) exports an audit record,\nnot a runnable script. More options: `ankusdrive journal export`.\n\nReturns {enabled, dir, live_session, sessions} when listing, else {session,\nworkspace, env, script, ledger, warnings, prerequisites, truncated, redacted,\nintegrity, provenance, ...}.","inputSchema":{"properties":{"provenance":{"default":true,"title":"Provenance","type":"boolean"},"session":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Session"},"workspace":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Workspace"}},"title":"journal_exportArguments","type":"object"},"name":"journal_export","title":"Journal Export"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Version"},"description":"Return FreeCAD and bundled Python versions from the worker.","inputSchema":{"properties":{"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"versionArguments","type":"object"},"name":"version","title":"Version"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"New Document"},"description":"Create a new FreeCAD document and make it active. Returns {doc: <name>}.","inputSchema":{"properties":{"name":{"default":"part","title":"Name","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"new_documentArguments","type":"object"},"name":"new_document","title":"New Document"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Open Document"},"description":"Open an existing .FCStd file, make it active. Returns doc name and object list.","inputSchema":{"properties":{"path":{"title":"Path","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["path"],"title":"open_documentArguments","type":"object"},"name":"open_document","title":"Open Document"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Save Document"},"description":"Save the active document to the given .FCStd path.\n\nvisibility_hygiene (default True): before saving, hide any object that has\nbeen consumed as a producer-input (the Base/Tool of a Cut, the BaseFeature\nof a Body, every feature inside a Body's Group, etc.). Without this the\nre-opened doc double-renders intermediates on top of the final shape — a\nfailure mode that looks identical to broken geometry. Pass False to keep\nexplicit set_visibility overrides intact.\nattach_provenance: embed this document's journal_export record (PRIVACY.md).","inputSchema":{"properties":{"attach_provenance":{"default":false,"title":"Attach Provenance","type":"boolean"},"path":{"title":"Path","type":"string"},"visibility_hygiene":{"default":true,"title":"Visibility Hygiene","type":"boolean"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["path"],"title":"save_documentArguments","type":"object"},"name":"save_document","title":"Save Document"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"List Objects"},"description":"List objects in the active document. Returns [{name, type, label}, ...].","inputSchema":{"properties":{"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"list_objectsArguments","type":"object"},"name":"list_objects","title":"List Objects"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add Primitive"},"description":"Add a primitive to the active document.\n\nkind: 'box' (uses w, d, h), 'cylinder' (uses r, h), or 'sphere' (uses r).\nplacement: optional [x, y, z] mm translation.\nname: optional human-facing name. It sets the object's LABEL — what\n  list_objects, bom_extract and the drawing/manifest layers display — and\n  leaves the internal FreeCAD Name alone, since handles and register_handle\n  key off Name and it must stay unique and stable. Omit it and the label\n  stays the type default ('Box' / 'Cylinder' / 'Sphere'), which BOM and\n  designation checks read as an unnamed generic solid.\nReturns {handle, name, label, volume}: `name` is FreeCAD's internal id and\n`label` is the display name (equal to `name` when you passed none). The\nhandle (e.g. 'box_1') is how you reference this object in subsequent\nboolean_op calls.\n","inputSchema":{"properties":{"d":{"default":10.0,"title":"D","type":"number"},"h":{"default":10.0,"title":"H","type":"number"},"kind":{"title":"Kind","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Name"},"placement":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Placement"},"r":{"default":5.0,"title":"R","type":"number"},"w":{"default":10.0,"title":"W","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["kind"],"title":"add_primitiveArguments","type":"object"},"name":"add_primitive","title":"Add Primitive"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add Gear"},"description":"Add an involute spur gear (FreeCAD's core involute generator), extruded to a solid.\n\nteeth: tooth count (>= 3). module: mm (pitch diameter = module * teeth).\nheight: extrusion thickness mm. pressure_angle: deg (default 20).\nexternal: True for an external gear; False for an internal/ring tooth profile.\nplacement: optional [x, y, z] mm translation.\nReturns {handle, name, volume, pitch_radius, tip_radius, root_radius, teeth,\nmodule, external}. Two external gears MESH when their axes are spaced\n(pitch_radius_a + pitch_radius_b) apart; phase one by half a tooth to avoid\ntooth-on-tooth interference.\n","inputSchema":{"properties":{"external":{"default":true,"title":"External","type":"boolean"},"height":{"default":6.0,"title":"Height","type":"number"},"module":{"title":"Module","type":"number"},"name":{"default":"Gear","title":"Name","type":"string"},"placement":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Placement"},"pressure_angle":{"default":20.0,"title":"Pressure Angle","type":"number"},"teeth":{"title":"Teeth","type":"integer"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["teeth","module"],"title":"add_gearArguments","type":"object"},"name":"add_gear","title":"Add Gear"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add Rack"},"description":"Add a linear gear rack (a spur gear's straight counterpart) as a solid.\n\nA rack is a gear of infinite radius: straight-flanked teeth on a rail.\nStandard full-depth tooth form (addendum = module, dedendum = 1.25*module,\ntooth height = 2.25*module, flanks at pressure_angle from vertical).\n\nteeth: number of teeth (>= 1).\nmodule: mm (sets tooth size; circular pitch = module * pi).\nheight: extrusion thickness mm along +Y (the rack's face width; default 6).\nwidth: mm, rail base-band thickness below the tooth root line (default 10).\npressure_angle: deg, flank angle from vertical (default 20; 0 < pa < 45).\nplacement: optional [x, y, z] mm translation of the rack origin.\nname: object label (default \"Rack\").\n\nThe profile lies in the XZ plane: root line at z=0, base band from z=-width\nto z=0, teeth from z=0 to z=2.25*module, extruded along +Y by height.\n\nReturns {handle, name, volume (mm^3), pitch (mm/tooth = module*pi),\nmodule, teeth, tooth_height (2.25*module mm), length (teeth*module*pi mm)}.\nA spur gear MESHES with this rack when their `pitch` values match\n(gear module*pi == rack pitch); `length` sizes the rail for the travel.\n","inputSchema":{"properties":{"height":{"default":6.0,"title":"Height","type":"number"},"module":{"title":"Module","type":"number"},"name":{"default":"Rack","title":"Name","type":"string"},"placement":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Placement"},"pressure_angle":{"default":20.0,"title":"Pressure Angle","type":"number"},"teeth":{"title":"Teeth","type":"integer"},"width":{"default":10.0,"title":"Width","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["teeth","module"],"title":"add_rackArguments","type":"object"},"name":"add_rack","title":"Add Rack"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add Sprocket"},"description":"Add a roller-chain sprocket (ISO 606 / ANSI), built as a static solid plate.\n\nteeth: tooth count (>= 3). chain_pitch: chain link pitch in mm (e.g. 12.7 for\n#40 / ANSI 40 chain). roller_diameter: chain roller diameter in mm.\nheight: plate thickness in mm (default 6.0).\nplacement: optional [x, y, z] mm translation.\n\nBuild: a disc of tip radius ~= pitch_radius + chain_pitch*0.3 with `teeth`\nroller seats (circular pockets, radius roller_diameter/2 * 1.05) cut on the\npitch circle, one per tooth. This is a fit/visualisation approximation of the\ntrue ISO 606 tooth form, not a load-rated profile.\n\nReturns {handle, name, volume, pitch_diameter, chain_pitch, teeth, tip_radius,\nbore}. pitch_diameter (mm) = chain_pitch / sin(pi/teeth) and chain_pitch are\nthe MATING numbers: a chain of the same chain_pitch wraps the sprocket, and the\ncentre distance between two sprockets derives from their pitch_diameters. bore\nis 0 (no shaft hole cut yet — drill one with the `hole` command).\n","inputSchema":{"properties":{"chain_pitch":{"title":"Chain Pitch","type":"number"},"height":{"default":6.0,"title":"Height","type":"number"},"name":{"default":"Sprocket","title":"Name","type":"string"},"placement":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Placement"},"roller_diameter":{"title":"Roller Diameter","type":"number"},"teeth":{"title":"Teeth","type":"integer"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["teeth","chain_pitch","roller_diameter"],"title":"add_sprocketArguments","type":"object"},"name":"add_sprocket","title":"Add Sprocket"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add Pulley"},"description":"Add a timing-belt (or V) pulley as a static solid. Axis is +Z; toothed\nbelt face spans z in [0, width].\n\nteeth: tooth count (>= 6). belt_pitch: belt tooth pitch mm/tooth (e.g. 2.0\nfor GT2, 3.0 for GT3/HTD-3M); pitch diameter PD = belt_pitch * teeth / pi.\nwidth: belt-face length mm. flanged: True adds two thin guide discs (radius\nPD/2 + 2*belt_pitch) at each end to retain the belt. height: optional mm;\nOVERRIDES width when given (default height = width). placement: optional\n[x, y, z] mm translation of the axis base. name: object label.\n\nReturns {handle, name, volume, pitch_diameter, belt_pitch, teeth, width,\nflanged}. pitch_diameter (mm) is the mating number: the centre distance to a\nmating pulley plus the required belt length derive from the two pitch\ndiameters and the same belt_pitch.\n","inputSchema":{"properties":{"belt_pitch":{"title":"Belt Pitch","type":"number"},"flanged":{"default":true,"title":"Flanged","type":"boolean"},"height":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Height"},"name":{"default":"Pulley","title":"Name","type":"string"},"placement":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Placement"},"teeth":{"title":"Teeth","type":"integer"},"width":{"title":"Width","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["teeth","belt_pitch","width"],"title":"add_pulleyArguments","type":"object"},"name":"add_pulley","title":"Add Pulley"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add Spring"},"description":"Add a helical compression spring: a round wire swept along a cylindrical helix.\n\nAll lengths in mm; angles n/a.\nwire_diameter: wire (stock) diameter d, mm.\nouter_diameter: spring outer diameter OD, mm (must be > wire_diameter).\nfree_length: uncompressed overall length along the axis, mm.\ncoils: number of turns (active coils), may be fractional.\nkind: 'compression' (only supported mode in v1; end coils are not squared yet).\nplacement: optional [x, y, z] mm translation of the spring's base.\n\nGeometry: mean coil diameter D = outer_diameter - wire_diameter; coil pitch =\nfree_length / coils. Spring rate is computed for STEEL (shear modulus\nG = 79.3 GPa) as k = G*d^4 / (8*D^3*coils), reported in N/mm.\n\nReturns {handle, name, volume (mm^3), mean_diameter (mm), free_length (mm),\ncoils, kind, solid_height (mm, = coils*wire_diameter, the fully-compressed\nblock height), spring_rate_n_per_mm (N/mm)}. Use free_length, solid_height\nand spring_rate_n_per_mm to spec the spring into a mechanism (available travel\n= free_length - solid_height; force = spring_rate_n_per_mm * deflection).\n","inputSchema":{"properties":{"coils":{"title":"Coils","type":"number"},"free_length":{"title":"Free Length","type":"number"},"kind":{"default":"compression","title":"Kind","type":"string"},"name":{"default":"Spring","title":"Name","type":"string"},"outer_diameter":{"title":"Outer Diameter","type":"number"},"placement":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Placement"},"wire_diameter":{"title":"Wire Diameter","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["wire_diameter","outer_diameter","free_length","coils"],"title":"add_springArguments","type":"object"},"name":"add_spring","title":"Add Spring"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add Fastener"},"description":"Add a standard ISO metric fastener (screw / bolt / nut / washer) as a solid.\n\nkind: one of \"socket_head_cap_screw\", \"hex_bolt\", \"hex_nut\", \"washer\".\n  - socket_head_cap_screw: cylindrical head with a cosmetic hex socket + plain\n    shank (threads not modeled).\n  - hex_bolt: hex head (across-flats) + plain shank.\n  - hex_nut: hex prism with an axial clearance hole.\n  - washer: flat annular ring.\nsize: ISO designation, one of \"M3\",\"M4\",\"M5\",\"M6\",\"M8\",\"M10\",\"M12\".\nlength: shank length in mm. REQUIRED for socket_head_cap_screw and hex_bolt;\n  ignored for nut/washer.\ngrade: optional material / property class AS ORDERED — ISO 898-1 for steel\n  screws (\"8.8\", \"12.9\"), ISO 898-2 for nuts (\"8\", \"10\"), ISO 3506 for\n  stainless (\"A2\", \"A4-80\"). It changes no geometry. What it changes is the\n  ORDERABLE designation stamped on the part: with it you get\n  \"ISO 4762 M4×12 A2\", which a buyer can quote; without it the designation\n  comes back complete=False saying nobody has chosen between class 8.8 steel\n  and A2 stainless yet. An unrecognised grade is a loud error, never a guess.\nplacement: optional [x, y, z] mm translation of the fastener origin (head top\n  sits at z=0, shank runs in -z for screws/bolts).\nname: optional object name (default derived from kind).\n\nAll dimensions are in mm. Threads are cosmetic (the shank is a plain cylinder\nof the major diameter).\n\nReturns {handle, name, kind, size, major_diameter, pitch, volume,\ndesignation, orderable} plus, by kind:\nscrews/bolts add {length, head_diameter, head_height, model_thread:false};\nnut adds {head_diameter (wrench across-flats), head_height};\nwasher adds {head_diameter (outer diameter), head_height (thickness)}.\nMating numbers: drill a through-hole of major_diameter (+ clearance) for the\nshank; head_diameter sizes a counterbore. `designation` is the canonical\norderable identity (\"ISO 4762 M4×12 A2\") and `orderable` its full card.\n`catalog` is the off-the-shelf verdict computed at creation time — code\n`stocked`, or `not_stocked` naming the lengths either side. A length nobody\nstocks is a FINDING, not a refusal: the solid is still built, so you can decide\nwhether to move the stack-up or accept a special.\n","inputSchema":{"properties":{"grade":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Grade"},"kind":{"title":"Kind","type":"string"},"length":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Length"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Name"},"placement":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Placement"},"size":{"title":"Size","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["kind","size"],"title":"add_fastenerArguments","type":"object"},"name":"add_fastener","title":"Add Fastener"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add Bearing"},"description":"Add a deep-groove ball bearing as an assembly *envelope* solid: an annular\nring (outer-diameter cylinder minus bore cylinder) of the given width, axis\nalong +Z. Balls/races are not modeled — this is the fit envelope a coordinator\nneeds to size the shaft, the housing bore, and the shoulder spacing.\n\nSpecify dimensions ONE of two ways:\n- designation: a standard metric series code, looked up in a built-in table.\n  Known: \"608\", \"623\", \"624\", \"625\", \"626\", \"688\", \"6000\", \"6200\", \"6800\",\n  \"6900\". (e.g. \"608\" -> bore 8, OD 22, width 7 mm.)\n- bore + outer_diameter + width: explicit dims in mm (all three required).\n  Explicit values override a designation's table values when both are given.\n\nbore: inner-bore diameter mm (sizes the shaft). outer_diameter: OD mm (sizes\nthe housing bore). width: axial length mm (shoulder spacing). placement:\noptional [x, y, z] mm translation of the bearing's near face.\n\nseals: open (default) | RS | 2RS | RZ | 2RZ | Z | 2Z. It changes no geometry —\nthe envelope is identical — but it IS part of the orderable identity: 608,\n608-2Z and 608-2RS are three different purchases with different drag, speed\nlimits and prices. It is folded into the canonical designation stamped on the\npart (\"608-2RS\").\n\nA bearing built from raw bore/OD/width with NO designation is a dimensional\nenvelope, not a purchasable part, and is deliberately left undesignated rather\nthan given a made-up catalog number.\n\nRaises ValueError if the designation is unknown and dims are incomplete, or if\nouter_diameter <= bore.\n\nReturns {handle, name, designation, bore, outer_diameter, width, volume,\norderable, catalog}. handle starts \"bearing_\". designation is None when built\nfrom explicit dims; `orderable` is the designation card, whose own `designation`\ncarries the seal suffix; `catalog` is the off-the-shelf verdict (stocked or not,\nNone for an undesignated envelope).\n","inputSchema":{"properties":{"bore":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Bore"},"designation":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Designation"},"name":{"default":"Bearing","title":"Name","type":"string"},"outer_diameter":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Outer Diameter"},"placement":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Placement"},"seals":{"default":"open","title":"Seals","type":"string"},"width":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Width"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"add_bearingArguments","type":"object"},"name":"add_bearing","title":"Add Bearing"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"O-Ring Groove"},"description":"Compute a static O-ring gland (groove) and optionally cut it into a face.\n\nThis is the gland calc designers always fumble, plus an optional cut. Given\nthe O-ring cross-section it returns standard static-seal gland dimensions;\nwith cut=True it also machines the annular groove into a flat face.\n\ncross_section: O-ring wire cross-section diameter in mm (e.g. 1.78, 2.62). Required, > 0.\ninner_diameter: groove inner diameter in mm (the O-ring's nominal seal ID).\n    Required when cut=True; used to size the returned diameters either way.\nhandle: host solid to cut into (required only when cut=True).\nface: the flat face to cut the groove into — a stable f_* tag (preferred),\n    a 'FaceN' index string, or an int. Required when cut=True. Must be planar.\ngland_type: seal-geometry label, default 'static_radial' (informational).\ncompound: optional elastomer + durometer the RING is ordered in (\"NBR70\",\n    \"FKM75\", \"EPDM70\"). Changes no geometry; it completes the AS568 designation\n    of the ring itself — the purchased part this groove exists to hold, which\n    no BOM would otherwise contain because the ring is never a modelled object.\ncut: True (default) cuts the groove and returns a new solid; False makes this\n    a pure calculator (no geometry, no handle).\nname: name for the resulting solid when cut=True.\n\nGland rule (static seal): groove_depth = cross_section*0.75 (~25% squeeze,\nclamped to a 20-30% band), groove_width = cross_section*1.30. The groove's\ninner diameter equals inner_diameter and it spans outward by groove_width.\n\nReturns {groove_depth, groove_width, groove_inner_diameter,\ngroove_outer_diameter, squeeze_pct, cross_section, gland_type, oring} (all mm\nexcept squeeze_pct in percent). When cut=True it ALSO returns {handle, name,\nvolume} for the grooved solid; the host input is hidden. mating numbers: cut a\ngroove of inner_diameter to seat an O-ring of that ID; groove_outer_diameter\nsizes the radial space the groove occupies. `oring` is the RING's designation\ncard (\"AS568-214 NBR70\"), or ok=False naming the nearest tabulated sizes when\nthe gland is not an AS568 standard size — an off-table ring is a custom tooled\npart, and saying so beats naming a dash number that will not seal.\n`oring_catalog` is the ring's off-the-shelf verdict.\n","inputSchema":{"properties":{"compound":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Compound"},"cross_section":{"title":"Cross Section","type":"number"},"cut":{"default":true,"title":"Cut","type":"boolean"},"face":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Face"},"gland_type":{"default":"static_radial","title":"Gland Type","type":"string"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Handle"},"inner_diameter":{"default":0.0,"title":"Inner Diameter","type":"number"},"name":{"default":"ORingGroove","title":"Name","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["cross_section"],"title":"oring_grooveArguments","type":"object"},"name":"oring_groove","title":"O-Ring Groove"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Chamfer Edges"},"description":"Chamfer (bevel) edges of a shaped Part object — fillet_edges' counterpart.\n\nedges: e_* tags (preferred), 'EdgeN' strings, or 1-based ints.\nsize: symmetric leg distance mm (> 0).\nper_edge / allow_partial: as fillet_edges.\nThe base object is hidden. Validated exactly like fillet_edges (#283).\n\nReturns {handle, name, volume (mm^3), edges (indices chamfered), checks {valid,\nsolids, envelope_ok, envelope_growth_mm, envelope_tol_mm}, mode, partial};\nwhen partial, also skipped_edges and a warning. On a failed check the feature\nis removed and BlendCheckFailed names the offending edges.\n","inputSchema":{"properties":{"allow_partial":{"default":false,"title":"Allow Partial","type":"boolean"},"edges":{"items":{},"title":"Edges","type":"array"},"handle":{"title":"Handle","type":"string"},"name":{"default":"Chamfer","title":"Name","type":"string"},"per_edge":{"default":false,"title":"Per Edge","type":"boolean"},"size":{"default":1.0,"title":"Size","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","edges"],"title":"chamfer_edgesArguments","type":"object"},"name":"chamfer_edges","title":"Chamfer Edges"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Shell Solid"},"description":"Hollow a raw Part solid into a thin-walled shell (`thickness` does the same\nfor PartDesign bodies).\n\nfaces: NON-EMPTY list of faces to REMOVE (the openings) — f_* tags\n    (preferred), 'FaceN', or 1-based ints.\nthickness: wall mm (> 0), grown INWARD so outer dimensions are kept.\n\nThe input is hidden. Returns {handle (starts 'shell_'), name, volume (mm^3),\nwall_thickness, removed_faces}. Raises on empty faces, thickness <= 0, a bad\nindex, or an offset too large for a valid shell.\n","inputSchema":{"properties":{"faces":{"items":{},"title":"Faces","type":"array"},"handle":{"title":"Handle","type":"string"},"name":{"default":"Shell","title":"Name","type":"string"},"thickness":{"title":"Thickness","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","faces","thickness"],"title":"shell_solidArguments","type":"object"},"name":"shell_solid","title":"Shell Solid"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add Thread"},"description":"Generate a REAL helical ISO-style 60-degree thread as a static solid.\n\nUnlike `hole`/`list_thread_options` (which only flag a thread as metadata),\nthis cuts actual helical geometry: a truncated triangular rib swept along a\nhelix and fused to a core cylinder.\n\nAll lengths in mm, angles in degrees.\ndiameter: nominal MAJOR (crest) diameter, mm. For internal=True this is the\n  bore the tap fits.\npitch: thread pitch, mm per turn (e.g. M8 coarse = 1.25).\nlength: threaded length along +Z from z=0, mm.\ninternal: False (default) -> a finished externally-threaded stud. True -> a\n  TAP/insert cutting-tool solid sized to the bore; fuse it into (or cut it\n  from) a bored hole in your part to produce a threaded bore.\nstarts: number of thread starts, >=1. Multi-start repeats the helix rotated\n  by 360/starts and uses lead = pitch*starts.\ngrade: optional material / property class as ordered (\"8.8\", \"A2\"). Changes no\n  geometry; it completes the DIN 976-1 threaded-rod designation stamped on an\n  EXTERNAL single-start thread — that solid is studding, a thing you buy by the\n  metre. An internal thread is a tap-shaped cutting tool and a multi-start is\n  not a stock item, so neither is designated at all.\nplacement: optional [x, y, z] mm translation of the solid's base (default at\n  the origin, axis along +Z).\nname: optional object name.\n\nGeometry note: the modeled minor (root) uses the ISO 5H/8 truncation; the\nreported minor_diameter uses the standard ISO formula\ndiameter - 1.0825*pitch. Fallback behaviour: if the helical sweep cannot\nproduce a valid solid the tool returns a plain cylinder tagged with the\nthread spec and modeled=False (this is rare for sane M-series inputs); always\ncheck the modeled flag.\n\nReturns {handle, name, volume (mm^3), major_diameter (mm), minor_diameter\n(mm), pitch (mm), length (mm), starts (int), internal (bool), modeled (bool),\ndesignation, orderable, catalog}. Studding is bought by the bar and cut, so any\nlength up to the longest stock bar reads as `stocked` with a note that it is a\ncut.\nMating numbers: drill/bore minor_diameter to tap an internal thread; clear a\nmajor_diameter (+clearance) hole to pass an external stud.\n","inputSchema":{"properties":{"diameter":{"title":"Diameter","type":"number"},"grade":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Grade"},"internal":{"default":false,"title":"Internal","type":"boolean"},"length":{"title":"Length","type":"number"},"name":{"default":"Thread","title":"Name","type":"string"},"pitch":{"title":"Pitch","type":"number"},"placement":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Placement"},"starts":{"default":1,"title":"Starts","type":"integer"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["diameter","pitch","length"],"title":"add_threadArguments","type":"object"},"name":"add_thread","title":"Add Thread"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Engrave Text"},"description":"Engrave (cut) or emboss (add) extruded text on a planar face of a solid,\ncentred on the face centroid. The host is replaced by the returned handle.\n\nface: planar face — f_* tag (preferred), 'FaceN', or int.\nsize: cap height mm. depth: engrave/emboss depth mm.\nmode: 'engrave' (removes material) | 'emboss' (adds).\nposition: optional [u, v] mm offset from the centroid along the text's X/Y.\nfont: absolute path to a .ttf/.ttc. Omitted: only macOS Arial/Helvetica are\n    probed, so elsewhere it raises — pass a path.\n\nReturns {handle, name, volume (mm^3 of the result), text, mode, depth}.\n","inputSchema":{"properties":{"depth":{"default":0.5,"title":"Depth","type":"number"},"face":{"title":"Face","type":"string"},"font":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Font"},"handle":{"title":"Handle","type":"string"},"mode":{"default":"engrave","title":"Mode","type":"string"},"name":{"default":"Text","title":"Name","type":"string"},"position":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Position"},"size":{"default":5.0,"title":"Size","type":"number"},"text":{"title":"Text","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","face","text"],"title":"engrave_textArguments","type":"object"},"name":"engrave_text","title":"Engrave Text"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add Rib"},"description":"Add a reinforcing rib/web inside a PartDesign Body by thickening an OPEN\nsketch spine (line, arc, or connected polyline; NOT a closed loop) into a wall\nthat fuses with the surrounding material. The sketch plane sets orientation.\n\nthickness: wall thickness mm (> 0).\nmidplane: centre the wall on the spine (default) or grow one side.\nreversed: flip if the rib lands on the wrong side of its sketch plane.\n\nReturns {handle (starts 'rib_'), name, volume (the Body's mm^3 after — always\ngreater), thickness}. Headless FreeCAD lacks PartDesign::Rib, so it is built\nas an equivalent midplane Pad of the offset spine; very intricate spines may\ndiffer. Raises ValueError on a closed/degenerate profile or thickness <= 0,\nRuntimeError if the rib adds nothing (spine does not span between walls).\n","inputSchema":{"properties":{"body":{"title":"Body","type":"string"},"midplane":{"default":true,"title":"Midplane","type":"boolean"},"name":{"default":"Rib","title":"Name","type":"string"},"reversed":{"default":false,"title":"Reversed","type":"boolean"},"sketch":{"title":"Sketch","type":"string"},"thickness":{"title":"Thickness","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["body","sketch","thickness"],"title":"add_ribArguments","type":"object"},"name":"add_rib","title":"Add Rib"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Transform"},"description":"Move and/or rotate an object in place (no new handle) — use instead of\nediting Placement via set_property.\n\ntranslate: [x, y, z] mm.\nrotate_axis: [x, y, z], any length (default Z); angle: DEGREES about it,\n    around the object's local origin.\nrelative: True composes onto the current placement; False sets it absolutely.\n\nReturns {handle, name, placement: {base [x,y,z] mm, axis, angle_deg}}.\n","inputSchema":{"properties":{"angle":{"default":0.0,"title":"Angle","type":"number"},"handle":{"title":"Handle","type":"string"},"relative":{"default":true,"title":"Relative","type":"boolean"},"rotate_axis":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Rotate Axis"},"translate":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Translate"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle"],"title":"transformArguments","type":"object"},"name":"transform","title":"Transform"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Scale Shape"},"description":"Scale a shape uniformly or per-axis, baking a fresh static solid.\n\nScaling breaks parametric history, so this produces a standalone\nPart::Feature (not a linked/parametric feature); the source object is hidden\nsince its geometry is consumed into the scaled copy.\n\nhandle: source shape handle.\nfactor: scalar for uniform scale, or [sx, sy, sz] for per-axis scale. All\n    factors must be > 0.\ncenter: optional [x, y, z] mm pivot to scale about; when omitted the scale is\n    about the world origin (so the shape also moves away from/toward origin).\nname: object label (default 'Scaled').\n\nLengths in mm. Returns {handle, name, volume, factor} where `factor` is the\nnormalized [sx, sy, sz] applied and `volume` (mm^3) equals the source volume\ntimes sx*sy*sz.\n","inputSchema":{"properties":{"center":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Center"},"factor":{"anyOf":[{"type":"number"},{"items":{},"type":"array"}],"title":"Factor"},"handle":{"title":"Handle","type":"string"},"name":{"default":"Scaled","title":"Name","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","factor"],"title":"scale_shapeArguments","type":"object"},"name":"scale_shape","title":"Scale Shape"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Copy Shape"},"description":"Duplicate a shaped object as an INDEPENDENT static solid.\n\nUnlike add_part (which creates an App::Link that tracks the source), this\ndeep-copies the geometry: later edits to the original do NOT propagate to\nthe copy. Use it to seed a mirror/pattern, or to drop a standalone duplicate\ninstance into an assembly.\n\nhandle: handle of the source object (must have a Shape).\nplacement: optional absolute [x, y, z] translation in mm applied to the\n    copy's base. Omit to leave the copy coincident with the source. The\n    source object is unchanged and stays visible.\nname: optional name for the new object (default '<SourceName>_copy').\n\nReturns {handle, name, volume}: handle is a new 'copy_N' handle, name is the\nFreeCAD object name, volume is the copied solid's volume in mm^3.\n","inputSchema":{"properties":{"handle":{"title":"Handle","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Name"},"placement":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Placement"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle"],"title":"copy_shapeArguments","type":"object"},"name":"copy_shape","title":"Copy Shape"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Measure Distance"},"description":"Minimum (closest-approach) distance between two entities, mm — verify gaps,\nclearances, and contact. 0 means touching or interpenetrating; for overlap\nvolume use min_clearance / interference_check.\n\na, b: object handles.\na_ref, b_ref: optional sub-shape to measure from instead of the whole solid —\n    an f_* / e_* tag or \"FaceN\"/\"EdgeN\" (1-based).\n\nReturns {distance_mm, point_on_a ([x,y,z] mm), point_on_b, touching\n(distance_mm < 1e-7)}. A measurement: no handle.\n","inputSchema":{"properties":{"a":{"title":"A","type":"string"},"a_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"A Ref"},"b":{"title":"B","type":"string"},"b_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"B Ref"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["a","b"],"title":"measure_distanceArguments","type":"object"},"name":"measure_distance","title":"Measure Distance"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Measure Angle"},"description":"Angle (degrees) between two planar faces or two straight edges.\n\na, b: object handles. a_ref, b_ref: REQUIRED sub-shape references, one per\nhandle. Both must be the SAME kind:\n  - face tags ('f_*' from list_faces/query_faces, or 'FaceN', or 1-based int)\n    -> angle is between the faces' outward normals. Faces must be planar.\n  - edge tags ('e_*' from list_edges, or 'EdgeN', or 1-based int)\n    -> angle is between the edges' tangent directions. Edges must be straight.\nMixing a face ref with an edge ref, a non-planar face, or a curved edge raises.\n\nUnits: degrees. Returns:\n  - angle_deg:      raw angle between the two direction vectors, 0..180.\n  - supplement_deg: 180 - angle_deg (the complementary angle; use this for\n                    the acute reading when angle_deg is obtuse).\n  - kind:           \"face\" or \"edge\".\nTwo adjacent box faces -> angle_deg 90. Two opposite parallel box faces ->\nangle_deg 180, supplement_deg 0. Read-only: measures, creates no geometry.\n","inputSchema":{"properties":{"a":{"title":"A","type":"string"},"a_ref":{"title":"A Ref","type":"string"},"b":{"title":"B","type":"string"},"b_ref":{"title":"B Ref","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["a","a_ref","b","b_ref"],"title":"measure_angleArguments","type":"object"},"name":"measure_angle","title":"Measure Angle"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Bounding Box"},"description":"Axis-aligned bounding box (AABB) of a shaped object, mm, world coordinates.\nA measurement: returns numbers, creates nothing.\n\nQUIRK (#284): min/max/size are OCC's ANALYTIC box, an UPPER bound. A trimmed\nface is boxed by its untrimmed carrier surface, so cuts through fillets,\nchamfers, lofts or spheres can report mm of material that isn't there (a real\ntrim at X=-32.0 read -36.7). Before calling a part wrong-sized, check\n`verified` and pass tight=True.\n\noriented:   also return the minimum-volume box at any orientation (OBB) under\n            \"oriented\" (null if unsupported). Same analytic over-estimate.\ntight:      also tessellate and return the mesh-derived box under \"tight\" —\n            the trustworthy numbers. Opt-in: ~1.4s on a 200mm plate with 60\n            filleted holes.\ndeflection: mesh chord tolerance mm for tight (default diagonal/2000, floor\n            0.001).\n\nReturns {min, max, size, center ([x,y,z] mm, analytic), diagonal (mm),\noriented (null | {size, center, diagonal}), verified, tight (null |\n{min, max, size, center, diagonal, deflection, triangles}), warnings (which\nface over-estimates, by how many mm)}.\nverified: \"exact\" (vertices touch all six faces) | \"mesh_agrees\" (tight found\nno disagreement) | \"unverified\" (usual on curved parts: upper bound only,\nre-run tight=True) | \"over_estimate\" (use \"tight\"; min/max/size wrong-big).\nThe true box lies between \"tight\" and the analytic box.\n","inputSchema":{"properties":{"deflection":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Deflection"},"handle":{"title":"Handle","type":"string"},"oriented":{"default":false,"title":"Oriented","type":"boolean"},"tight":{"default":false,"title":"Tight","type":"boolean"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle"],"title":"bounding_boxArguments","type":"object"},"name":"bounding_box","title":"Bounding Box"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Min Clearance"},"description":"Closest approach between two solids — the measured gap, richer than the\nbinary interference_check. `a` and `b` are object handles. All lengths mm,\nvolumes mm³.\n\nReturns a dict:\n  status: \"clear\" (a positive gap separates them),\n          \"contact\" (faces/edges touch, gap ~ 0), or\n          \"interference\" (the solids interpenetrate / share material).\n  clearance_mm: minimum distance between the two solids (mm). 0.0 when they\n    are touching or interfering.\n  overlap_volume_mm3: volume of interpenetration (mm³). Present ONLY when\n    status == \"interference\".\n  point_on_a: [x,y,z] of the closest point on `a`. Present when status is\n    \"clear\" or \"contact\" (omitted for \"interference\").\n  point_on_b: [x,y,z] of the closest point on `b`. Present when status is\n    \"clear\" or \"contact\" (omitted for \"interference\").\n","inputSchema":{"properties":{"a":{"title":"A","type":"string"},"b":{"title":"B","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["a","b"],"title":"min_clearanceArguments","type":"object"},"name":"min_clearance","title":"Min Clearance"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Check Shape"},"description":"Check a shaped object's validity and topology before building on it — a\nguard after booleans/sweeps/imports. Inspection only; does NOT auto-repair.\nWatertight does not mean an internal channel is unobstructed: for ducts and\nmanifolds use check_airtight_path.\n\nReturns {valid (OCC topology/geometry sound), watertight_solid (one solid AND\nvalid AND closed — the 'safe to keep building' verdict), shape_type ('Solid',\n'Shell', 'Compound', ...), closed (no free edges), solids (want 1), shells,\nfaces, edges, volume_mm3 (0 for open/2D), is_null, check (only when invalid;\ndiagnostics in the worker log), check_error (only if diagnostics raised)}.\n","inputSchema":{"properties":{"handle":{"title":"Handle","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle"],"title":"check_shapeArguments","type":"object"},"name":"check_shape","title":"Check Shape"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Check Airtight Path"},"description":"Functional check for an enclosed-flow part (a vacuum adapter, manifold,\nduct): is there a single connected void joining the inlet to the outlet,\nbounded by solid everywhere else? This catches what `check_shape` cannot — a\nwatertight solid can still have a blocked flow path or a hidden leak.\nInspection only: measures, returns no handle, mutates nothing.\n\nhandle: the part to inspect.\ninlet / outlet: a face reference naming each port OPENING (the rim face around\n  the hole) — an f_* tag, 'FaceN', int index, or a role/name declared with\n  annotate_face (e.g. \"inlet\"). Both ports are sealed with cap solids and the\n  negative-space void is analysed.\nmin_aperture_mm2: optional minimum acceptable bottleneck cross-section; a\n  connected-but-pinched path (a near-zero 'almond slit') then fails.\npad_mm: optional bounding-box margin (default max(2.0, 0.05*diagonal)).\n\nReturns a dict (lengths mm, areas mm², volumes mm³):\n  ok                   (bool)  connected AND not leaky AND aperture >= threshold\n  status               (str)   'airtight' | 'bottleneck' | 'blocked' | 'leaky'\n  connected            (bool)  one void joins inlet and outlet\n  leaky                (bool)  with both ports capped the cavity still reaches\n                               ambient, so an unintended opening exists\n  min_aperture_mm2     (float|null) narrowest section of the flow void\n  bottleneck_point     ([x,y,z]|null) a point on the narrowest section plane\n  flow_void_volume_mm3 (float|null) volume of the connecting void\n  void_components      (int)   number of void solids (ambient + enclosed)\n  inlet / outlet       (str)   the resolved 'FaceN' references\n  pad_mm               (float) the margin used\n","inputSchema":{"properties":{"handle":{"title":"Handle","type":"string"},"inlet":{"anyOf":[{"type":"string"},{"type":"integer"}],"title":"Inlet"},"min_aperture_mm2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Min Aperture Mm2"},"outlet":{"anyOf":[{"type":"string"},{"type":"integer"}],"title":"Outlet"},"pad_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Pad Mm"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","inlet","outlet"],"title":"check_airtight_pathArguments","type":"object"},"name":"check_airtight_path","title":"Check Airtight Path"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Classify Face Sides"},"description":"Inside-vs-outside topology: for every face, decide whether its outward side\nopens into an enclosed cavity (wetted) or ambient (exterior). Answers the\n\"which faces are inside the airflow path\" question from issue #19 and suggests\na role per face. Inspection only; returns no handle, mutates nothing.\n\nWith seal_ports=True (default) any declared inlet/outlet roles (annotate_face)\nare capped first, so an OPEN duct's bore reads as the enclosed flow cavity\nrather than as ambient.\n\nhandle: the part. seal_ports: cap declared inlet/outlet before classifying.\n\nReturns a list (one per face) of dicts:\n  tag / index    (str)  stable f_* tag and 'FaceN'\n  kind           (str)  surface kind (planar/cylindrical/…)\n  side           (str)  'interior' | 'ambient' | 'ambiguous'\n  suggested_role (str)  'wetted' for interior, 'ambient' for exterior, else null\n  declared_role  (str)  the role already annotated on this face, if any\n","inputSchema":{"properties":{"handle":{"title":"Handle","type":"string"},"seal_ports":{"default":true,"title":"Seal Ports","type":"boolean"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle"],"title":"classify_face_sidesArguments","type":"object"},"name":"classify_face_sides","title":"Classify Face Sides"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Section View"},"description":"Cut a solid with a plane and measure the exposed cross-section — the way to\n\"see inside\" a part blind. Does not modify the input. mm / mm^2.\n\nplane: \"XY\", \"XZ\", \"YZ\" (normals +Z, -Y, +X, as FreeCAD) or a datum-plane\n    handle (its local +Z).\noffset: plane shift along its normal, mm (plane=\"XY\", offset=10 cuts z=10).\nemit_profile: also add the section wires as a new registered object and return\n    its handle (raises if the plane misses). Default: measure only.\nname: the emitted profile's name.\n\nReturns {plane, offset_mm, normal, section_area_mm2 (closed wires),\nwire_count (0 = plane misses), closed_wire_count, bbox ({min, max, size} or\nNone), handle?, name? (only with emit_profile)}.\n","inputSchema":{"properties":{"emit_profile":{"default":false,"title":"Emit Profile","type":"boolean"},"handle":{"title":"Handle","type":"string"},"name":{"default":"Section","title":"Name","type":"string"},"offset":{"default":0.0,"title":"Offset","type":"number"},"plane":{"default":"XY","title":"Plane","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle"],"title":"section_viewArguments","type":"object"},"name":"section_view","title":"Section View"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"List Faces"},"description":"List all faces of a shaped object with stable tags + geometric descriptors.\n\nReturns [{tag, index, kind, area, centroid, normal?, axis?, radius?}, ...].\nTags survive geometry edits as long as the face's surface kind, area,\ncentroid, and (where meaningful) normal/axis/radius do not change.\nUse the tag in subsequent calls instead of the FaceN index.\n","inputSchema":{"properties":{"handle":{"title":"Handle","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle"],"title":"list_facesArguments","type":"object"},"name":"list_faces","title":"List Faces"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"List Edges"},"description":"List all edges of a shaped object with stable tags + descriptors.\n\nReturns [{tag, index, kind, length, centroid, axis?, radius?}, ...].\nSame stability story as list_faces.\n","inputSchema":{"properties":{"handle":{"title":"Handle","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle"],"title":"list_edgesArguments","type":"object"},"name":"list_edges","title":"List Edges"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Query Faces"},"description":"Filter faces by a structured predicate. Returns matching descriptors.\n\nPredicate fields (all optional, ANDed):\n  - kind / type: 'planar' | 'cylindrical' | 'conical' | 'spherical' | 'toroidal' | 'spline'\n  - normal_dir: [x, y, z] unit vector for planar faces (with normal_tol)\n  - radius_eq: float, matches cylindrical/conical/spherical (with radius_tol)\n  - area_min / area_max: bounds in mm^2\nOptional ordering:\n  - centroid_max / centroid_min: 'x' | 'y' | 'z' (sorts result)\n  - order: 'area_desc' | 'area_asc'\n\nExample: {\"type\": \"planar\", \"normal_dir\": [0, 0, 1], \"centroid_max\": \"z\"}\nfinds the topmost +Z-facing face.\n","inputSchema":{"properties":{"handle":{"title":"Handle","type":"string"},"predicate":{"additionalProperties":true,"title":"Predicate","type":"object"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","predicate"],"title":"query_facesArguments","type":"object"},"name":"query_faces","title":"Query Faces"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Resolve Face"},"description":"Resolve a face tag to the current FaceN index. Errors on miss or ambiguity.\n\nUse this when you need to pass a (object, 'FaceN') reference into a tool\nthat doesn't accept tags directly (e.g. legacy FEM constraints).\n","inputSchema":{"properties":{"handle":{"title":"Handle","type":"string"},"tag":{"title":"Tag","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","tag"],"title":"resolve_faceArguments","type":"object"},"name":"resolve_face","title":"Resolve Face"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Resolve Edge"},"description":"Resolve an edge tag to the current EdgeN index. Errors on miss or ambiguity.","inputSchema":{"properties":{"handle":{"title":"Handle","type":"string"},"tag":{"title":"Tag","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","tag"],"title":"resolve_edgeArguments","type":"object"},"name":"resolve_edge","title":"Resolve Edge"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Make Body"},"description":"Create a PartDesign Body. Subsequent sketches/features go inside it.\n\nReturns {handle, name}.\n","inputSchema":{"properties":{"name":{"default":"Body","title":"Name","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"make_bodyArguments","type":"object"},"name":"make_body","title":"Make Body"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Make Datum Plane"},"description":"Create a Datum Plane in a Body.\n\nbase: 'XY' | 'XZ' | 'YZ' for body origin planes. Pass a face_tag dict\n{handle, tag} for attachment to a face on another shape.\noffset: shift along the plane normal in mm.\n","inputSchema":{"properties":{"base":{"default":"XY","title":"Base","type":"string"},"body":{"title":"Body","type":"string"},"name":{"default":"DatumPlane","title":"Name","type":"string"},"offset":{"default":0.0,"title":"Offset","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["body"],"title":"make_datum_planeArguments","type":"object"},"name":"make_datum_plane","title":"Make Datum Plane"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Make Sketch"},"description":"Create a sketch in a Body, attached to a plane.\n\nplane: 'XY' | 'XZ' | 'YZ' for origin planes, or a datum-plane handle.\nReturns {handle, name}.\n","inputSchema":{"properties":{"body":{"title":"Body","type":"string"},"name":{"default":"Sketch","title":"Name","type":"string"},"plane":{"default":"XY","title":"Plane","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["body"],"title":"make_sketchArguments","type":"object"},"name":"make_sketch","title":"Make Sketch"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add Sketch Geometry"},"description":"Append geometric primitives to a sketch.\n\nitems is a list of dicts:\n  - {type: 'line', start: [x,y], end: [x,y], construction?: bool}\n  - {type: 'circle', center: [x,y], radius: float}\n  - {type: 'arc', center: [x,y], radius, start_angle, end_angle}  (radians)\n  - {type: 'point', pos: [x,y]}\nReturns {indices: [...]} — Sketcher-assigned indices for use in constraints.\n","inputSchema":{"properties":{"items":{"items":{},"title":"Items","type":"array"},"sketch":{"title":"Sketch","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["sketch","items"],"title":"add_sketch_geometryArguments","type":"object"},"name":"add_sketch_geometry","title":"Add Sketch Geometry"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add Sketch Constraint"},"description":"Add a constraint to a sketch.\n\ntype: Coincident, Horizontal, Vertical, Distance, DistanceX, DistanceY,\n      Radius, Diameter, Equal, Parallel, Perpendicular, Tangent, Block,\n      Symmetric, Angle.\nrefs: list of [geom_idx, vertex_role] pairs. vertex_role: 0=edge, 1=start,\n      2=end, 3=center.\nvalue: numeric value (mm or radians) for dimensional constraints.\n","inputSchema":{"properties":{"refs":{"items":{},"title":"Refs","type":"array"},"sketch":{"title":"Sketch","type":"string"},"type":{"title":"Type","type":"string"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Value"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["sketch","type","refs"],"title":"add_sketch_constraintArguments","type":"object"},"name":"add_sketch_constraint","title":"Add Sketch Constraint"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Close Sketch"},"description":"Recompute and report DOF status. Returns {geometry_count, constraint_count,\nopen_vertices, fully_constrained}.","inputSchema":{"properties":{"sketch":{"title":"Sketch","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["sketch"],"title":"close_sketchArguments","type":"object"},"name":"close_sketch","title":"Close Sketch"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Pad"},"description":"Pad a sketch by `length` mm. symmetric=True extrudes both directions.","inputSchema":{"properties":{"length":{"default":10.0,"title":"Length","type":"number"},"name":{"default":"Pad","title":"Name","type":"string"},"reversed":{"default":false,"title":"Reversed","type":"boolean"},"sketch":{"title":"Sketch","type":"string"},"symmetric":{"default":false,"title":"Symmetric","type":"boolean"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["sketch"],"title":"padArguments","type":"object"},"name":"pad","title":"Pad"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Pocket"},"description":"Subtract a pad of `length` mm from the body. through_all ignores length.\n\nthrough ('wall'|'body'): preferred over through_all. 'wall' ray-casts to the\n  first exit and cuts exactly one wall — right for solids AND shelled bodies;\n  'body' (legacy ThroughAll) punches every wall of a shell. Implies\n  direction='into_body'; result carries wall_depth_mm.\ndirection ('into_body'|'away_from_body', preferred over the legacy raw\n  `reversed`, honoured only when neither is set): the tool probes both\n  Reversed values and picks the one that does / does not remove material.\nstrict: raise instead of warn on a degenerate pocket.\n\nReturns {handle, name, volume, removed_volume, volume_ratio}, plus `warnings`\nONLY when the pocket removed the whole body or nothing (strict=True makes\nthose errors). direction='away_from_body' never warns.\n","inputSchema":{"properties":{"direction":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Direction"},"length":{"default":10.0,"title":"Length","type":"number"},"name":{"default":"Pocket","title":"Name","type":"string"},"reversed":{"default":false,"title":"Reversed","type":"boolean"},"sketch":{"title":"Sketch","type":"string"},"strict":{"default":false,"title":"Strict","type":"boolean"},"through":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Through"},"through_all":{"default":false,"title":"Through All","type":"boolean"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["sketch"],"title":"pocketArguments","type":"object"},"name":"pocket","title":"Pocket"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Revolve"},"description":"Revolve a sketch around a body origin axis ('X'|'Y'|'Z') by `angle` deg.","inputSchema":{"properties":{"angle":{"default":360.0,"title":"Angle","type":"number"},"axis":{"default":"Y","title":"Axis","type":"string"},"name":{"default":"Revolution","title":"Name","type":"string"},"reversed":{"default":false,"title":"Reversed","type":"boolean"},"sketch":{"title":"Sketch","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["sketch"],"title":"revolveArguments","type":"object"},"name":"revolve","title":"Revolve"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"PartDesign Fillet"},"description":"PartDesign Fillet on edges of a feature in a Body. `edges` accepts e_*\ntags or 'EdgeN' index strings; `radius` in mm (> 0).\n\nValidated before a handle is issued, like fillet_edges (issue #283):\nShape.isValid(), unchanged solid count, and no growth of the tight bounding\nbox. PartDesign needs it as badly as the Part workbench — r=0.6 on a\n40x40x1 pad returns an 'Up-to-date' single solid 15% LARGER than the pad.\n\nper_edge: add the edges one at a time, validating after each.\nallow_partial: accept a partial result instead of aborting. Off by default.\n\nReturns {handle, name, volume (mm^3), edges (the 'EdgeN' names actually\nfilleted), checks {valid, solids, envelope_ok, envelope_growth_mm,\nenvelope_tol_mm}, mode ('batch' | 'per_edge'), partial}; when partial is\nTrue, also skipped_edges and a warnings entry. On a failed check the feature\nis removed, the Body's Tip is restored, and BlendCheckFailed is raised\nnaming the offending edges and the subset that does fillet cleanly.\n","inputSchema":{"properties":{"allow_partial":{"default":false,"title":"Allow Partial","type":"boolean"},"edges":{"items":{},"title":"Edges","type":"array"},"feature":{"title":"Feature","type":"string"},"name":{"default":"PdFillet","title":"Name","type":"string"},"per_edge":{"default":false,"title":"Per Edge","type":"boolean"},"radius":{"default":1.0,"title":"Radius","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["feature","edges"],"title":"partdesign_filletArguments","type":"object"},"name":"partdesign_fillet","title":"PartDesign Fillet"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"PartDesign Chamfer"},"description":"PartDesign Chamfer on edges of a feature in a Body. `edges` accepts e_*\ntags or 'EdgeN' index strings; `size` is the chamfer leg in mm (> 0).\n\nValidated and rolled back on failure exactly like partdesign_fillet (issue\n#283), with the same per_edge / allow_partial opt-ins.\n\nReturns {handle, name, volume (mm^3), edges (the 'EdgeN' names actually\nchamfered), checks {valid, solids, envelope_ok, envelope_growth_mm,\nenvelope_tol_mm}, mode, partial}; when partial is True, also skipped_edges\nand a warnings entry. On a failed check the feature is removed, the Body's\nTip is restored, and BlendCheckFailed is raised naming the offending edges.\n","inputSchema":{"properties":{"allow_partial":{"default":false,"title":"Allow Partial","type":"boolean"},"edges":{"items":{},"title":"Edges","type":"array"},"feature":{"title":"Feature","type":"string"},"name":{"default":"PdChamfer","title":"Name","type":"string"},"per_edge":{"default":false,"title":"Per Edge","type":"boolean"},"size":{"default":1.0,"title":"Size","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["feature","edges"],"title":"partdesign_chamferArguments","type":"object"},"name":"partdesign_chamfer","title":"PartDesign Chamfer"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Hole"},"description":"Drill a parametric Hole from a sketch (one or more circles) placed on a face\nof an existing body feature. Lengths mm.\n\ndepth_type: 'Dimension' (use `depth`) or 'ThroughAll'.\ncut_type: 'None' | 'Counterbore' | 'Countersink' | 'Counterdrill'; when not\n  'None', cut_diameter (head clearance) and cut_depth apply.\nthreaded=True taps it. thread_type / thread_size are COUPLED enums ('M4' fits\n  'ISOMetricProfile', not 'UNC') — discover them with list_thread_options().\nintended_for ('print'|'machine'|'drawing'): sets the ModelThread default when\n  threaded. print → modelled thread (a printed pilot won't self-tap);\n  machine/drawing → cosmetic thread (CAM/drawings read the metadata; modelled\n  threads bloat files and fight patterns/fillets). model_thread overrides it.\nthrough ('wall'|'body'): preferred over depth_type. 'wall' ray-casts to the\n  first exit and drills exactly one wall — use it on shelled bodies, where\n  'body' (ThroughAll) destroys the cavity. Implies direction='into_body';\n  result carries wall_depth_mm.\ndirection ('into_body'|'away_from_body', preferred over the legacy raw\n  `reversed`, honoured only when neither is set; Hole and Pocket read it\n  differently): picks the Reversed value that does / does not remove material.\nstrict: raise instead of warn on a degenerate hole.\n\nReturns {handle, name, volume, removed_volume, volume_ratio}, plus `warnings`\nONLY when the hole consumed the whole body or removed nothing (strict=True\nmakes those errors). direction='away_from_body' never warns.\n","inputSchema":{"properties":{"cut_depth":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Cut Depth"},"cut_diameter":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Cut Diameter"},"cut_type":{"default":"None","title":"Cut Type","type":"string"},"depth":{"default":10.0,"title":"Depth","type":"number"},"depth_type":{"default":"ThroughAll","title":"Depth Type","type":"string"},"diameter":{"default":5.0,"title":"Diameter","type":"number"},"direction":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Direction"},"intended_for":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Intended For"},"model_thread":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Model Thread"},"name":{"default":"Hole","title":"Name","type":"string"},"reversed":{"default":false,"title":"Reversed","type":"boolean"},"sketch":{"title":"Sketch","type":"string"},"strict":{"default":false,"title":"Strict","type":"boolean"},"thread_size":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Thread Size"},"thread_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Thread Type"},"threaded":{"default":false,"title":"Threaded","type":"boolean"},"through":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Through"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["sketch"],"title":"holeArguments","type":"object"},"name":"hole","title":"Hole"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"List Hole Thread Options"},"description":"Discover the COUPLED ThreadType / ThreadSize enums on the hole tool.\n\nCall with no args to list valid thread_type values. Call with\nthread_type=... to list the valid thread_size values for that type\n(the coupling: thread_size='M4' is valid for 'ISOMetricProfile' but not\nfor 'UNC'). Use this BEFORE calling hole(threaded=True, thread_type=...,\nthread_size=...) to avoid a failed enum-value call.\n\nReturns either {thread_types: [...]} or {thread_type, thread_sizes: [...]}.\n","inputSchema":{"properties":{"thread_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Thread Type"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"list_thread_optionsArguments","type":"object"},"name":"list_thread_options","title":"List Hole Thread Options"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Linear Pattern"},"description":"Repeat a PartDesign feature linearly along a direction.\n\ndirection: 'X'|'Y'|'Z' for body origin axes, or {handle, edge: tag|'EdgeN'}\nfor an edge-aligned direction.\nlength: total span (mm) covered by the pattern.\noccurrences: number of copies (>=2). Includes the original.\n","inputSchema":{"properties":{"direction":{"anyOf":[{"type":"string"},{"additionalProperties":true,"type":"object"}],"default":"X","title":"Direction"},"feature":{"title":"Feature","type":"string"},"length":{"default":10.0,"title":"Length","type":"number"},"name":{"default":"LinearPattern","title":"Name","type":"string"},"occurrences":{"default":2,"title":"Occurrences","type":"integer"},"reversed":{"default":false,"title":"Reversed","type":"boolean"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["feature"],"title":"linear_patternArguments","type":"object"},"name":"linear_pattern","title":"Linear Pattern"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Polar Pattern"},"description":"Repeat a PartDesign feature around an axis.\n\naxis: 'X'|'Y'|'Z' for body origin axes, or {handle, edge: tag|'EdgeN'}.\nangle_deg: total swept angle (default 360 = full circle).\noccurrences: number of copies (>=2). Includes the original.\n","inputSchema":{"properties":{"angle_deg":{"default":360.0,"title":"Angle Deg","type":"number"},"axis":{"anyOf":[{"type":"string"},{"additionalProperties":true,"type":"object"}],"default":"Z","title":"Axis"},"feature":{"title":"Feature","type":"string"},"name":{"default":"PolarPattern","title":"Name","type":"string"},"occurrences":{"default":2,"title":"Occurrences","type":"integer"},"reversed":{"default":false,"title":"Reversed","type":"boolean"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["feature"],"title":"polar_patternArguments","type":"object"},"name":"polar_pattern","title":"Polar Pattern"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Mirrored"},"description":"Mirror a PartDesign feature across a plane.\n\nplane: 'XY'|'XZ'|'YZ' for body origin planes, a datum-plane handle string,\nor {handle, face: tag|'FaceN'} for a face-defined mirror plane.\n","inputSchema":{"properties":{"feature":{"title":"Feature","type":"string"},"name":{"default":"Mirrored","title":"Name","type":"string"},"plane":{"anyOf":[{"type":"string"},{"additionalProperties":true,"type":"object"}],"default":"YZ","title":"Plane"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["feature"],"title":"mirroredArguments","type":"object"},"name":"mirrored","title":"Mirrored"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Loft"},"description":"Loft (additively) between two or more sketches.\n\nsketches: ordered list of sketch handles. The first becomes the Profile,\nthe rest become Sections.\nclosed: True connects the last section back to the first (toroidal).\nruled: True uses straight ruled surfaces between adjacent sections.\n","inputSchema":{"properties":{"closed":{"default":false,"title":"Closed","type":"boolean"},"name":{"default":"Loft","title":"Name","type":"string"},"reversed":{"default":false,"title":"Reversed","type":"boolean"},"ruled":{"default":false,"title":"Ruled","type":"boolean"},"sketches":{"items":{},"title":"Sketches","type":"array"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["sketches"],"title":"loftArguments","type":"object"},"name":"loft","title":"Loft"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Sweep"},"description":"Sweep a profile sketch along a spine sketch (additive pipe).\n\nprofile: handle of the cross-section sketch.\nspine: handle of the path sketch (in the same body).\nmode: 'Standard' | 'Frenet' | 'Auxiliary' | 'Binormal'.\ntransition: 'Transformed' | 'Right corner' | 'Round corner'.\n","inputSchema":{"properties":{"mode":{"default":"Standard","title":"Mode","type":"string"},"name":{"default":"Sweep","title":"Name","type":"string"},"profile":{"title":"Profile","type":"string"},"spine":{"title":"Spine","type":"string"},"transition":{"default":"Transformed","title":"Transition","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["profile","spine"],"title":"sweepArguments","type":"object"},"name":"sweep","title":"Sweep"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Helix"},"description":"Generate a Part::Helix curve. radius, pitch, height in mm. angle (deg)\nis the cone angle (0 = cylindrical helix, >0 = conical).\n\nReturns a handle to a 1D helical curve. To get a 3D helical solid (e.g.\nfor threads), use the curve as the spine of a sweep.\n","inputSchema":{"properties":{"angle":{"default":0.0,"title":"Angle","type":"number"},"height":{"default":10.0,"title":"Height","type":"number"},"name":{"default":"Helix","title":"Name","type":"string"},"pitch":{"default":2.0,"title":"Pitch","type":"number"},"radius":{"default":5.0,"title":"Radius","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"helixArguments","type":"object"},"name":"helix","title":"Helix"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Thickness"},"description":"Hollow out a solid into a shell.\n\nbase: handle of the body's tip feature (the solid to hollow).\nopen_faces: list of {handle, face: tag|'FaceN'} that become the shell's\nopenings.\nthickness: wall thickness (mm).\nreversed: True (default) grows the wall INWARD into the solid (the natural\n\"hollow this part\" interpretation). False grows outward.\njoin: 'Arc' | 'Intersection'.\nmode: 'Skin' | 'Pipe' | 'RectoVerso'.\n","inputSchema":{"properties":{"base":{"title":"Base","type":"string"},"join":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Join"},"mode":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Mode"},"name":{"default":"Thickness","title":"Name","type":"string"},"open_faces":{"items":{},"title":"Open Faces","type":"array"},"reversed":{"default":true,"title":"Reversed","type":"boolean"},"thickness":{"default":1.0,"title":"Thickness","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["base","open_faces"],"title":"thicknessArguments","type":"object"},"name":"thickness","title":"Thickness"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Draft"},"description":"Apply a draft angle to faces (for moldability).\n\nbase: feature handle.\nfaces: list of {handle, face: tag|'FaceN'}.\nangle_deg: draft angle (positive degrees).\nneutral_plane: {handle, face: tag|'FaceN'} for the plane along which the\nangle is measured (typically the parting plane).\nreversed: flip the direction of the draft.\n","inputSchema":{"properties":{"angle_deg":{"default":1.0,"title":"Angle Deg","type":"number"},"base":{"title":"Base","type":"string"},"faces":{"items":{},"title":"Faces","type":"array"},"name":{"default":"Draft","title":"Name","type":"string"},"neutral_plane":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Neutral Plane"},"reversed":{"default":false,"title":"Reversed","type":"boolean"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["base","faces"],"title":"draftArguments","type":"object"},"name":"draft","title":"Draft"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"List Documents"},"description":"List all open documents: [{name, label, file_path, dirty, active, object_count}, ...].","inputSchema":{"properties":{"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"list_documentsArguments","type":"object"},"name":"list_documents","title":"List Documents"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Set Active Document"},"description":"Switch the active document by name (the value returned from new_document/open_document).","inputSchema":{"properties":{"name":{"title":"Name","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["name"],"title":"set_active_documentArguments","type":"object"},"name":"set_active_document","title":"Set Active Document"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Close Document"},"description":"Close a document by name (or 'active' for the currently active one).\nFrees its objects and invalidates any handles into the closed doc.\nReturns {closed, invalidated_handles}.","inputSchema":{"properties":{"name":{"default":"active","title":"Name","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"close_documentArguments","type":"object"},"name":"close_document","title":"Close Document"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Transaction Open"},"description":"Begin an undoable transaction on the active document. Pair with\ntransaction_commit (keep the changes) or transaction_abort (roll back).\nTransactions nest — the most-recent open is committed/aborted first.\n","inputSchema":{"properties":{"label":{"default":"Transaction","title":"Label","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"transaction_openArguments","type":"object"},"name":"transaction_open","title":"Transaction Open"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Transaction Commit"},"description":"Commit the most recent open transaction; changes are kept.","inputSchema":{"properties":{"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"transaction_commitArguments","type":"object"},"name":"transaction_commit","title":"Transaction Commit"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Transaction Abort"},"description":"Roll back the most recent open transaction. Implementation note:\nFreeCAD 1.1 headless `abortTransaction` is unreliable, so the worker\ncommits then undoes — net effect is a clean rollback.\n","inputSchema":{"properties":{"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"transaction_abortArguments","type":"object"},"name":"transaction_abort","title":"Transaction Abort"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add Sketch External"},"description":"Project an external edge/face/vertex into a sketch as construction geometry.\n\nref: {handle, edge: tag|'EdgeN'} (or face/vertex variant; or {handle, tag}\nwhere tag is e_/f_ prefixed). The projected element gets a negative geom\nindex so subsequent constraints can reference it. Use this to make a sketch\nthat stays anchored to upstream geometry (e.g. a hole 5mm from a tagged\nedge that survives pad-length edits).\n","inputSchema":{"properties":{"ref":{"additionalProperties":true,"title":"Ref","type":"object"},"sketch":{"title":"Sketch","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["sketch","ref"],"title":"add_sketch_externalArguments","type":"object"},"name":"add_sketch_external","title":"Add Sketch External"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Get Object"},"description":"Dump a handle's properties + shape stats. Useful when no dedicated tool\nexposes what you need.","inputSchema":{"properties":{"handle":{"title":"Handle","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle"],"title":"get_objectArguments","type":"object"},"name":"get_object","title":"Get Object"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Set Property"},"description":"Set a single property by name on an object. Coerces lists → Vector for\nVector properties; other values pass through.","inputSchema":{"properties":{"handle":{"title":"Handle","type":"string"},"name":{"title":"Name","type":"string"},"value":{"title":"Value"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","name","value"],"title":"set_propertyArguments","type":"object"},"name":"set_property","title":"Set Property"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Verify Feature"},"description":"Compare a feature's actual volume change against an expected signed\ndelta. Run after each subtractive/additive operation to catch silent\nfailures — Pocket on a curved surface that under-cut, Hole that drilled\noutside the body, Cut whose Tool didn't intersect the Base.\n\nhandle: PartDesign feature (Pad/Pocket/Hole/Revolve/etc.) or Part::Cut.\nexpected_delta_mm3: SIGNED expected change. Subtractive → negative,\n                    additive → positive. Wrong sign is its own useful\n                    error.\ntolerance: relative tolerance (default 0.05 = 5%).\nabs_tolerance: absolute mm³ fallback for tiny expected magnitudes\n               (default 0.01). Pass if EITHER tolerance is satisfied.\n\nReturns {passed, message, actual_delta_mm3, expected_delta_mm3, ratio,\nprevious_volume_mm3, current_volume_mm3, handle, name}. Does NOT raise\non mismatch — inspect `passed` to decide whether to abort.","inputSchema":{"properties":{"abs_tolerance":{"default":0.01,"title":"Abs Tolerance","type":"number"},"expected_delta_mm3":{"title":"Expected Delta Mm3","type":"number"},"handle":{"title":"Handle","type":"string"},"tolerance":{"default":0.05,"title":"Tolerance","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","expected_delta_mm3"],"title":"verify_featureArguments","type":"object"},"name":"verify_feature","title":"Verify Feature"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Set Visibility"},"description":"Override an object's persistent Visibility flag. By default save_document\nauto-hides producer-inputs (the Base/Tool of a Cut, features inside a Body)\nso the re-opened doc shows just the final composition. Use this to override —\ne.g. to keep a reference primitive visible next to a derived part. Note\nthat the next save_document with visibility_hygiene=True (the default) may\nre-hide it; pass visibility_hygiene=False to save_document to lock the\noverride in.","inputSchema":{"properties":{"handle":{"title":"Handle","type":"string"},"visible":{"title":"Visible","type":"boolean"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","visible"],"title":"set_visibilityArguments","type":"object"},"name":"set_visibility","title":"Set Visibility"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Fillet Edges"},"description":"Fillet edges of a shaped Part object. `edges`: e_* tags (preferred), 'EdgeN'\nstrings, or 1-based ints; `radius` mm (> 0).\n\nValidated before a handle is issued (#283) — this OCC fillet can silently\nreturn corrupt geometry (a 20 mm cube, all 12 edges at r=11, comes back one\nLARGER solid). Checks: Shape.isValid(), unchanged solid count, no growth of\nthe tight bounding box.\n\nper_edge: add edges one at a time, validating each (slower; for blend-hostile\n    geometry).\nallow_partial: accept a partial result instead of aborting (off by default).\n\nReturns {handle, name, volume (mm^3), edges (indices filleted), checks {valid,\nsolids, envelope_ok, envelope_growth_mm, envelope_tol_mm}, mode ('batch' |\n'per_edge'), partial}; when partial, also skipped_edges and a warning that the\nsolid is NOT the part asked for. On failure it retries per edge, removes the\nfeature and raises BlendCheckFailed naming the offending edges and the subset\nthat fillets cleanly — never a handle to corrupt geometry.\n","inputSchema":{"properties":{"allow_partial":{"default":false,"title":"Allow Partial","type":"boolean"},"edges":{"items":{},"title":"Edges","type":"array"},"handle":{"title":"Handle","type":"string"},"per_edge":{"default":false,"title":"Per Edge","type":"boolean"},"radius":{"default":1.0,"title":"Radius","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","edges"],"title":"fillet_edgesArguments","type":"object"},"name":"fillet_edges","title":"Fillet Edges"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Boolean Op"},"description":"Boolean operation on two objects by handle.\n\nop: 'cut' (base minus tool), 'fuse' (union), or 'common' (intersection).\nstrict: raise instead of warning on a degenerate cut.\n\nReturns {handle, volume, removed_volume (base - result mm3; negative on a\nfuse), volume_ratio (result/base, None if base empty)}, plus `warnings` ONLY\non a degenerate cut (\"warnings\" in result is the test): annihilation (result\n~0 — later features operate on nothing) or miss (result == base — nothing\nremoved). Warn-don't-fail by default; strict=True makes both errors.\n","inputSchema":{"properties":{"base":{"title":"Base","type":"string"},"op":{"title":"Op","type":"string"},"strict":{"default":false,"title":"Strict","type":"boolean"},"tool":{"title":"Tool","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["op","base","tool"],"title":"boolean_opArguments","type":"object"},"name":"boolean_op","title":"Boolean Op"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Export Shape"},"description":"Export a shape to STEP/IGES/BREP/STL. Format inferred from path extension.\n\nobject: FreeCAD object name (NOT a AnkusDrive handle). If omitted, exports\nthe document's single final shape: inputs consumed by another feature (a\ncut's base/tool, Body features) are skipped, and solids win over sketches.\nIf more than one final shape remains, it raises and lists them. It never\npicks one for you.\n","inputSchema":{"properties":{"object":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Object"},"path":{"title":"Path","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["path"],"title":"export_shapeArguments","type":"object"},"name":"export_shape","title":"Export Shape"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Run Python Script"},"description":"Escape hatch: execute Python in the worker with App/Part/ObjectsFem in scope.\n\nSet `__result__` in the script to return a JSON-serializable value.\n\nauto_register (default True): any new shape-bearing object the script\ncreates is automatically registered into the handle table. The result\nincludes a `registered` list of {handle, name, type} entries so the next\ntool call (render_view, list_faces, fillet_edges, mass_properties, etc.)\ncan address script-created objects via handle without a separate\nregister_handle round-trip.\n\nDisabled unless ANKUSDRIVE_ALLOW_RUN_SCRIPT permits it (the Claude Desktop\nextension defaults it off); when disabled this tool is not registered at all.\n\nReturns {result, registered}.\n","inputSchema":{"properties":{"auto_register":{"default":true,"title":"Auto Register","type":"boolean"},"code":{"title":"Code","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["code"],"title":"run_scriptArguments","type":"object"},"name":"run_script","title":"Run Python Script"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Register Handle"},"description":"Register an existing FreeCAD object into the AnkusDrive handle table.\nUse after run_script (when auto_register=False) or after open_document to\nbring objects into the handle ecosystem so subsequent tool calls accept\nthem via handle.\n\nobject: the FreeCAD object's .Name (e.g. 'Helix001', 'Cut').\nprefix: handle prefix (default 'manual'). Each call returns a fresh handle;\n        registering the same object twice produces two aliases.\nReturns {handle, name, type, label}.","inputSchema":{"properties":{"object":{"title":"Object","type":"string"},"prefix":{"default":"manual","title":"Prefix","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["object"],"title":"register_handleArguments","type":"object"},"name":"register_handle","title":"Register Handle"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Mass Properties"},"description":"Mass properties of a shaped object: volume (mm³), surface area (mm²),\ncentroid, bounding box, inertia tensor. If density (kg/mm³) is given,\nalso returns mass (kg). Steel = 7.9e-6, aluminum = 2.7e-6, ABS = 1.05e-6.\n","inputSchema":{"properties":{"density":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Density"},"handle":{"title":"Handle","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle"],"title":"mass_propertiesArguments","type":"object"},"name":"mass_properties","title":"Mass Properties"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Make Assembly"},"description":"Create an App::Part container to hold linked parts. Returns {handle, name}.","inputSchema":{"properties":{"name":{"default":"Assembly","title":"Name","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"make_assemblyArguments","type":"object"},"name":"make_assembly","title":"Make Assembly"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add Part"},"description":"Add a part to an assembly via App::Link.\n\nsource is one of:\n  {\"handle\": \"<handle>\"}                          — link an in-doc body\n  {\"path\": \"/path/to/part.FCStd\"}                 — link first body / subassembly\n  {\"path\": \"/path/to/part.FCStd\", \"object\": \"X\"}  — link named object\nplacement: [x, y, z] or {position: [...], axis: [...], angle_deg: ...}.\nmate: place by aligning this part's published interface frame to an\n  already-placed parent's, instead of (or after) a raw placement:\n  {\"child_iface\": \"<name>\", \"parent\": \"<link-name|handle>\",\n   \"parent_iface\": \"<name>\"}. Frames come from publish_interface.\n","inputSchema":{"properties":{"assembly":{"title":"Assembly","type":"string"},"mate":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Mate"},"name":{"default":"Part","title":"Name","type":"string"},"placement":{"anyOf":[{"items":{},"type":"array"},{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Placement"},"source":{"additionalProperties":true,"title":"Source","type":"object"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["assembly","source"],"title":"add_partArguments","type":"object"},"name":"add_part","title":"Add Part"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"List Assembly Parts"},"description":"List parts of an assembly: name, type, linked-target name, position, volume.","inputSchema":{"properties":{"assembly":{"title":"Assembly","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["assembly"],"title":"list_assembly_partsArguments","type":"object"},"name":"list_assembly_parts","title":"List Assembly Parts"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Interference Check"},"description":"Pairwise interference: compute volume of intersection between every pair\nof parts. Returns [{a, b, interference_mm3}, ...] descending by volume.\nEmpty list = no interference.\n","inputSchema":{"properties":{"assembly":{"title":"Assembly","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["assembly"],"title":"interference_checkArguments","type":"object"},"name":"interference_check","title":"Interference Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"BOM Extract"},"description":"Walk an assembly and return [{part, count, total_volume_mm3, total_mass_kg?}, ...]\ngrouped by source (component file + object), NOT the bare object name, so two\ndistinct components both named \"Box\" don't collapse into one row. density\n(kg/mm³) is optional.\n\nrecursive (default True): descend into linked subassemblies (App::Part) so the\nBOM flattens to leaf parts. False counts each subassembly as one line.\n\norderable (default False): opt in to the BUYABILITY view — is every purchased\nline on this BOM a part that actually exists off the shelf? The default return is\nunchanged — a bare list — because everything downstream consumes it. With\norderable=True you instead get a dict:\n\n  rows          the same BOM rows, each also carrying designation / standard /\n                part_class plus the catalog verdict (stocked, catalog_code,\n                catalog)\n  consumables   purchased parts that are NOT modelled objects and would\n                otherwise never reach a BOM — today the O-ring an oring_groove\n                was cut for, counted across every part that calls for it\n  undesignated  purchased rows a buyer cannot order from (no designation)\n  not_stocked   rows naming a part nobody stocks, each with a reason and the\n                nearest stocked alternatives\n  designation   the full designation_check verdict\n  stocked_count how many purchased lines resolved to a stocked item\n  ok            False when anything purchased is undesignated OR not stocked\n\ncheck_stock=False designates without checking availability. A design built out of\nfasteners that do not exist is the failure this catches, and the offending rows\nstay IN the list rather than being quietly dropped. Availability is a curated\nsnapshot of a market (`captured`, `market`), not physics.","inputSchema":{"properties":{"assembly":{"title":"Assembly","type":"string"},"check_stock":{"default":true,"title":"Check Stock","type":"boolean"},"density":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Density"},"orderable":{"default":false,"title":"Orderable","type":"boolean"},"recursive":{"default":true,"title":"Recursive","type":"boolean"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["assembly"],"title":"bom_extractArguments","type":"object"},"name":"bom_extract","outputSchema":{"properties":{"result":{"anyOf":[{"items":{},"type":"array"},{"additionalProperties":true,"type":"object"}],"title":"Result"}},"required":["result"],"title":"bom_extractOutput","type":"object"},"title":"BOM Extract"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Standard Part Designate"},"description":"The canonical, orderable designation of a purchased standard part — the string\na buyer can actually quote against: \"ISO 4762 M4×12 A2\", \"608-2RS\",\n\"AS568-214 NBR70\". A BOM row that reads \"SocketHeadCapScrew\" is not a buyable\nline; this is what turns it into one.\n\nThree ways in:\n  handle       read the designation add_fastener / add_bearing / add_thread\n               stamped on the part when it was built. An object with no stamp\n               reports designation=None plus whether its NAME reads like a\n               purchased part. Nothing is ever inferred from geometry, so a\n               hand-modelled bracket cannot acquire a false designation.\n  designation  normalise/parse a string — 'iso4762 m4x12 a2' becomes\n               'ISO 4762 M4×12 A2', so two spellings of one part can never\n               become two BOM lines.\n  family+spec  build one from facts. family is fastener | bearing | oring |\n               threaded_rod, and spec is respectively\n               {kind, size, length, grade} / {designation, seals} /\n               {inner_diameter, cross_section, compound} /\n               {diameter, pitch, length, grade}.\n\nOffline and deterministic — no network, no supplier, no credentials.\n\nReturns the designation card: {ok, family, standard, designation, complete,\nreason, purchased, ...family-specific fields}. complete=False means the string is\nnot yet enough to order against (typically nobody said which material grade),\nwith `reason` naming the gap — a missing fact is reported, never defaulted to a\nplausible-looking lie.","inputSchema":{"properties":{"designation":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Designation"},"family":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Family"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Handle"},"spec":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Spec"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"standard_part_designateArguments","type":"object"},"name":"standard_part_designate","title":"Standard Part Designate"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Designation Check"},"description":"Gate: every purchased part on this assembly must be orderable.\n\nFlags BOM rows a buyer cannot act on — a purchased standard part with no\ncanonical designation, or one whose designation is missing a fact needed to order\nit (no material grade). Run it before quoting or releasing a package: a BOM whose\npurchased lines are geometry names silently pushes the sourcing work onto a human,\nonce per revision.\n\nPurchased-ness is EXACT for AnkusDrive-generated parts (the object carries a stamp)\nand a documented name heuristic for everything else — so a hand-modelled\n\"Bracket\" is never flagged, while a hand-modelled \"M6Screw\" is. Pass `rows`\ninstead of `assembly` to check BOM rows you already hold.\n\nReturns {ok, findings, purchased, designated, undesignated, incomplete, basis};\neach finding carries part / count / code (no_designation |\nincomplete_designation) / certainty (stamped | name_heuristic) / reason. ok=False\nmeans the BOM cannot be ordered as it stands.","inputSchema":{"properties":{"assembly":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Assembly"},"recursive":{"default":true,"title":"Recursive","type":"boolean"},"rows":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Rows"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"designation_checkArguments","type":"object"},"name":"designation_check","title":"Designation Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Catalog Search"},"description":"Browse the off-the-shelf catalog: which standard components actually EXIST, in\nwhich sizes, in which stocked lengths. Call it while designing, before you commit\ngeometry to a number — it is the difference between a design somebody can build\nand one that needs a special.\n\nThe dimensional corpora (threads/bearings/stock) tell you what a part measures.\nThis one tells you whether it is a thing you can buy. Nothing else in AnkusDrive\nknows that an ISO 4762 M4×12 is a stocked item and an M4×13 is not.\n\nEvery argument is an optional filter:\n  family      screw | set_screw | nut | washer | retaining_ring | pin |\n              bearing | oring | threaded_rod\n  standard    a product standard or alias — \"ISO 4762\" or \"DIN 912\"\n  kind        the product's kind tag (socket_head_cap_screw, nyloc_nut, ...)\n  size        thread designation, nominal mm, shaft/bore mm, or AS568 dash\n  length      an exact stocked length, or a min_length/max_length window (mm)\n  grade       property class / material (\"8.8\", \"A2-70\", \"NBR70\")\n  drive       hex_socket | hex\n  limit       max rows (default 50)\n\nOffline, deterministic, zero network.\n\nReturns {ok, count, truncated, items, standards, fidelity, captured, market,\nnot_covered}. Each item is {standard, name, family, kind, drive, size, size_kind,\nlengths (the stocked ladder, narrowed to any length filter), length_count,\ngrades, length_measured, designation?}. Availability is a curated snapshot of a\nMARKET (see `market` and `captured`), not physics — and read `not_covered` before\nconcluding from an empty result that a part does not exist.","inputSchema":{"properties":{"drive":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Drive"},"family":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Family"},"grade":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Grade"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Kind"},"length":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Length"},"limit":{"default":50,"title":"Limit","type":"integer"},"max_length":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Max Length"},"min_length":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Min Length"},"size":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Size"},"standard":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Standard"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"catalog_searchArguments","type":"object"},"name":"catalog_search","title":"Catalog Search"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Catalog Nearest"},"description":"Snap a desired standard part to the nearest one that actually exists.\n\nThis is the call that changes how you design. Ask for an ISO 4762 M4×13 and it\ntells you that 12 and 16 are stocked and 13 is not — which turns \"I need a 13 mm\nscrew\" into \"I need to adjust my stack-up to 12 or 16\". Use it the moment a\nfastener length falls out of a dimension chain, before the geometry hardens\naround a size nobody sells.\n\nstandard: a product standard or alias (\"ISO 4762\", \"DIN 912\", \"ISO 7380-1\").\nsize: thread designation, nominal mm, or shaft/bore mm.\nlength: the wanted length in mm. Omit it for a product with no length dimension\n    (a nut, a washer, a circlip), or to list the whole stocked ladder.\ngrade: optional property class / material, used to complete the designation the\n    call hands back.\n\nExact arithmetic on a DISCRETE ladder: nothing is interpolated, and nothing is\nsilently rounded on your behalf. A length between two rungs is not a part, so you\nget both rungs and the signed deltas and you decide which way to move.\n\nReturns {ok, standard, name, size, requested_length, exact, stocked, below, above,\nnearest [{length, delta}], lengths, grades, designation, reason, fidelity,\ncaptured, market}. `designation` is the canonical designation of the RECOMMENDED\npart, so the answer is directly usable in a BOM. ok=True means what you asked for\nis already stocked.","inputSchema":{"properties":{"grade":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Grade"},"length":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Length"},"size":{"title":"Size","type":"string"},"standard":{"title":"Standard","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["standard","size"],"title":"catalog_nearestArguments","type":"object"},"name":"catalog_nearest","title":"Catalog Nearest"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Catalog Check"},"description":"Is this exact part something you can buy off the shelf?\n\nPass a canonical `designation` (\"ISO 4762 M4×12 A2\", \"608-2RS\") or the `handle` of\na part whose designation was stamped when it was generated. Offline and\ndeterministic.\n\nReturns {ok, code, standard, size, length, stocked, grade_ok, reason, nearest,\nlengths, grades, fidelity, captured, market}, where code is:\n  stocked           the size/length exists and the material is listed (for a\n                    cut-to-length product like threaded rod, any length up to the\n                    longest stock bar counts, with a note that it is a cut)\n  not_stocked       the size exists but the LENGTH is not a stocked rung —\n                    `nearest` names the rungs either side\n  size_not_stocked  the standard does not cover this size at all\n  grade_not_listed  the size exists, that material does not\n  not_catalogued    the product standard is outside this corpus's coverage. That\n                    is an absence of evidence, explicitly NOT a claim that the\n                    part is unavailable — check `not_covered` from catalog_search\n  undesignated      there was no designation to check\nok is True only for `stocked`.","inputSchema":{"properties":{"designation":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Designation"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Handle"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"catalog_checkArguments","type":"object"},"name":"catalog_check","title":"Catalog Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Envelope Check"},"description":"Keep-out gate: assert each named part's world bounding box stays inside its\ndeclared envelope. envelopes maps a part's link name (or label) to\n{\"min\": [x,y,z], \"max\": [x,y,z]} in the assembly frame. Returns violations\n[{part, axis, got, allowed}, ...]; empty means everything is within its box.","inputSchema":{"properties":{"assembly":{"title":"Assembly","type":"string"},"envelopes":{"additionalProperties":true,"title":"Envelopes","type":"object"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["assembly","envelopes"],"title":"envelope_checkArguments","type":"object"},"name":"envelope_check","title":"Envelope Check"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Publish Interface"},"description":"Record a named interface frame on a component so other parts can mate to it\n— the published \"here is where you bolt to me, and how it's oriented\".\n\nhandle: the component's shaped object.\nname: interface name (e.g. \"lid_seat\", \"bolt_circle\", \"bore_axis\").\nframe: {origin:[x,y,z], z_axis:[...]?, x_axis:[...]?}. z_axis defaults +Z,\n  x_axis +X. Extra keys (e.g. bolt-circle metadata) are stored verbatim.\n\nPersists in the component's .FCStd as a JSON property bag, so merge_assembly\ncan mate against it later. Returns {handle, name, frame, interfaces}.","inputSchema":{"properties":{"frame":{"additionalProperties":true,"title":"Frame","type":"object"},"handle":{"title":"Handle","type":"string"},"name":{"title":"Name","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","name","frame"],"title":"publish_interfaceArguments","type":"object"},"name":"publish_interface","title":"Publish Interface"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Annotate Face"},"description":"Declare the semantic ROLE of a face — what it is FOR — so later edits can be\nchecked against intent instead of re-derived from raw geometry. The role binds\nto the face's stable f_* tag and persists in the .FCStd as a JSON property bag\n(same mechanism as publish_interface); it survives save/reopen. Once declared,\ncheck_airtight_path accepts the role/name directly (e.g. inlet=\"inlet\").\n\nhandle: the part.\nface: an f_* tag, 'FaceN', or int index of the face to annotate.\nrole: one of 'inlet' | 'outlet' | 'sealing' | 'wetted' | 'ambient' | 'mating'.\nname: optional unique label for this annotation (default: the role, then\n  role_2, role_3, …); re-using a name updates that annotation.\nmeta: optional dict stored verbatim (e.g. {\"spec\": \"32mm hose\"}).\n\nReturns a dict: {handle, name (the annotation key used), role, tag (the f_*\nthe role is bound to), index ('FaceN' at annotation time), roles (sorted list\nof all annotation names now on the part)}.","inputSchema":{"properties":{"face":{"anyOf":[{"type":"string"},{"type":"integer"}],"title":"Face"},"handle":{"title":"Handle","type":"string"},"meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Meta"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Name"},"role":{"title":"Role","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","face","role"],"title":"annotate_faceArguments","type":"object"},"name":"annotate_face","title":"Annotate Face"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"List Face Roles"},"description":"Read back the semantic face roles declared on a part (see annotate_face).\n\nEach entry re-resolves its stored tag against the CURRENT geometry, so a\ndrifted or deleted face is reported rather than silently resolving wrong.\n\nReturns a list (sorted by name) of dicts:\n  name    (str)   the annotation key\n  role    (str)   inlet | outlet | sealing | wetted | ambient | mating\n  tag     (str)   the f_* face tag the role is bound to\n  present (bool)  whether that tag still resolves on the current shape\n  index   (str)   'FaceN' on the current shape (only when present)\n  meta    (dict)  the verbatim metadata (only when set)\n","inputSchema":{"properties":{"handle":{"title":"Handle","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle"],"title":"list_face_rolesArguments","type":"object"},"name":"list_face_roles","title":"List Face Roles"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Declare Intent"},"description":"Record the functional invariants a part must keep satisfying, so they can\nbe re-checked after every edit (see verify_intent). Persists in the .FCStd as\na JSON property bag (AD_Intent); one contract per part — re-declaring replaces.\n\nhandle: the part.\ncontract: a dict with any of these (declare at least one):\n  watertight     (bool)  require check_shape's watertight_solid verdict.\n  airtight_path  (dict)  {inlet, outlet, min_aperture_mm2?}; each port is a\n                         face tag / 'FaceN' / int / declared role-or-name.\n  required_faces (list)  face tags / 'FaceN' / declared role-or-names that\n                         must still resolve (catches a deleted/drifted face).\n\nReturns {handle, contract} — the stored contract.","inputSchema":{"properties":{"contract":{"additionalProperties":true,"title":"Contract","type":"object"},"handle":{"title":"Handle","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","contract"],"title":"declare_intentArguments","type":"object"},"name":"declare_intent","title":"Declare Intent"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Verify Intent"},"description":"Re-run every invariant declared with declare_intent — the regression gate\nto run after each edit. Composes check_shape / check_airtight_path / face-role\nresolution; never raises on a failing invariant (a failure is a passed=False\nrow), so it is safe to call in a loop. Inspection only; mutates nothing.\n\nhandle: the part (must have a declared intent contract).\n\nReturns a dict:\n  handle   (str)\n  ok       (bool)  True iff every declared invariant passed\n  results  (list)  one {invariant, passed, detail} per declared invariant —\n                   invariant in {watertight, airtight_path, required_faces},\n                   detail a human-readable summary of what was measured\n","inputSchema":{"properties":{"handle":{"title":"Handle","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle"],"title":"verify_intentArguments","type":"object"},"name":"verify_intent","title":"Verify Intent"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Verify Contract"},"description":"Build-time self-check of a component against its manifest slice (RFC §11.3):\na builder calls this on its OWN part before save, so a contract violation is\ncaught locally and cheaply instead of after a fan-in merge (build → merge →\ngate-fail → rebuild becomes build → self-check → fix). Never raises on a\nfailing check (a failure is a passed=False row), so it is safe to call in a\nloop. Inspection only; mutates nothing.\n\nhandle: the component's shaped object.\ncontract: the component's slice — all keys optional, give at least one:\n  envelope   {min:[x,y,z], max:[x,y,z]}   the part's LOCAL bbox must fit in it.\n  interfaces {name: {origin:[x,y,z], z_axis?:[x,y,z], tol_mm?, angle_tol_deg?}}\n             each named frame must be PUBLISHED (publish_interface) and within\n             tolerance of the contracted origin (and axis, if z_axis given) —\n             catches \"forgot to publish\" / \"published in the wrong place\".\n  features   [ {kind, ...} ]  per-feature self-checks:\n               {kind:\"gear\",   module_mm, teeth, internal?, tol_mm?}\n               {kind:\"bore\",   diameter_mm, tol_mm?}\n               {kind:\"extent\", axis:\"x\"|\"y\"|\"z\", length_mm, tol_mm?}\n  intent     bool                          also run verify_intent.\n\nReturns {handle, ok, results:[{check, passed, detail}]} — ok True iff every\ncheck passed; check names are envelope / interface:<name> / feature:<name> /\nintent.","inputSchema":{"properties":{"contract":{"additionalProperties":true,"title":"Contract","type":"object"},"handle":{"title":"Handle","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","contract"],"title":"verify_contractArguments","type":"object"},"name":"verify_contract","title":"Verify Contract"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Component Contract Check"},"description":"Builder-side contract gate for one component (issue #169) — the local half of\nthe gate merge_assembly re-runs at fan-in. Any MCP host builds a component with\nthe full AnkusDrive tool surface, then calls this on its part BEFORE saving,\nagainst its `builder brief` (a ankusdrive.builder_brief/1 slice), and repairs any\nfailing check. Catching a violation here turns the expensive loop (build → merge\n→ gate-fail → rebuild) into a cheap local one. Never raises on a failing check.\n\nhandle: the component's shaped object.\nbrief:  a builder brief. Only three of its keys drive checks (the rest guide the\n        build, not the gate):\n  envelope   {min:[x,y,z], max:[x,y,z]}   the part's LOCAL bbox must fit inside.\n  interfaces {name: {origin?:[x,y,z], z_axis?:[x,y,z], tol_mm?, angle_tol_deg?}}\n             each named frame must be PUBLISHED (publish_interface) with a sane\n             frame, and within tolerance of a pinned origin/axis if the brief\n             gives one.\n  performance {requirements?: [{name, limit}], required?: bool}   the quantitative\n             spec (#226) the builder must DECLARE (declare_performance, no looser\n             than briefed) and PROVE (verify_performance) before fan-in.\n\nChecks run: watertight (check_shape's one-clean-solid verdict), envelope (local\nbbox inside the keep-out box), interface:<name> (published + sane + in tol),\nperformance_spec:<name> (declared as briefed) and performance:<name> (the last\nRECORDED verify_performance verdict says it is met).\n\nA performance requirement the record says is NOT met fails the gate. One with no\nverdict yet — never verified, a solve still in flight, or a verdict invalidated by a\nlater edit — is neither passed nor failed: it comes back in `skipped` with a reason,\nbecause \"unverified\" is not \"fine\" and must not be actioned as either.\n\nReturns {handle, ok, checks:[{check, passed, detail}], reasons:[...],\nskipped:[{check, reason}], performance?} — ok True iff every check passed (skips\nnever move it); reasons is the failing checks' details. A part that declares no\nperformance contract gets no performance rows, empty `skipped` and no `performance`\nkey, so the geometric gate is unchanged.","inputSchema":{"properties":{"brief":{"additionalProperties":true,"title":"Brief","type":"object"},"handle":{"title":"Handle","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","brief"],"title":"component_contract_checkArguments","type":"object"},"name":"component_contract_check","title":"Component Contract Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Interface Align Check"},"description":"Gate: verify declared interface pairs coincide in world space — the\n\"do the OTHER interfaces line up?\" check for multi-interface mates. After the\nprimary mate seats a part, this confirms its secondary interfaces (a second\nbolt pattern, a bore axis) actually meet the parent's.\n\npairs: [{child, child_iface, parent, parent_iface}, ...] (child/parent are\nlink names in the assembly). Returns misaligned pairs [{..., gap_mm}], empty\nif every pair coincides within tol_mm.","inputSchema":{"properties":{"assembly":{"title":"Assembly","type":"string"},"pairs":{"items":{},"title":"Pairs","type":"array"},"tol_mm":{"default":0.001,"title":"Tol Mm","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["assembly","pairs"],"title":"interface_align_checkArguments","type":"object"},"name":"interface_align_check","title":"Interface Align Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Validate Manifest"},"description":"Validate a manifest WITHOUT building it (the cheap front door, RFC §11.7).\nStructural + cross-reference checks a JSON shape can't enforce: every component\nhas exactly one of file/manifest/library; a library carries a tool; every\ninstance references a known component; every mate/check references a known\ninstance; a present `schema` is the known version (\"ankusdrive.manifest/1\").\n\nmanifest: path to the manifest JSON.\n\nReturns {ok, problems, schema, manifest_hash} — ok is True iff problems is\nempty; manifest_hash fingerprints the contract content (what the lockfile\nrecords so a stale contract is detectable). Run this before merge_assembly to\nreject a malformed contract before any geometry is built.","inputSchema":{"properties":{"manifest":{"title":"Manifest","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["manifest"],"title":"validate_manifestArguments","type":"object"},"name":"validate_manifest","title":"Validate Manifest"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Merge Assembly"},"description":"Construct-up an assembly from a manifest JSON (the coordinator's one call):\ncreate the doc, link each component by file path, place it, recompute, and run\nthe gates. Component files resolve relative to the manifest's directory; links\nauto-reload, so re-running picks up updated components (deterministic,\nidempotent).\n\nmanifest shape:\n  { \"name\": \"gearbox\", \"root\": \"gearbox.FCStd\",\n    \"components\": {\"<id>\": {\"file\": \"rel/part.FCStd\", \"object\": \"<name>\"?,\n                            \"envelope\": {\"min\":[...],\"max\":[...]}?}},\n    \"instances\": [{\"component\":\"<id>\", \"name\":\"<instance>\"?,\n                   \"placement\": [x,y,z] | {position,axis,angle_deg},\n                   \"mate\": {\"child_iface\",\"parent\",\"parent_iface\",\n                            \"verify_align\":{\"child_iface\",\"parent_iface\"}?}?}],\n    \"mates\": [{\"child\",\"parent\",\"child_iface\",\"parent_iface\",\n               \"verify_align\":{...}?}]? }\n\nPlacement positions anchors; mate-by-frame positions everything else by\naligning published interface frames (see publish_interface).\n\nAny component carrying a PERFORMANCE contract (declare_performance, #226) is gated\non it too, with no manifest opt-in: the merge consults the verdict\nverify_performance last RECORDED on that part and never measures, so it stays\nsynchronous and deterministic. A requirement measured as NOT met fails the merge; a\nrequirement with no verdict yet is neither passed nor failed and rides in\nreport[\"performance\"][\"skipped\"] — \"unverified\" is never read as \"fine\".\n\nReturns {assembly, doc, root, placed, gates:{interference, bom, envelope,\ninterface_align?, typed?, requirements?, mobility?, performance?}, ok,\nrequirements?, mobility?, performance?, children?, library?}. The `performance`\ngate and report block are absent entirely when no component declares a contract.","inputSchema":{"properties":{"manifest":{"title":"Manifest","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["manifest"],"title":"merge_assemblyArguments","type":"object"},"name":"merge_assembly","title":"Merge Assembly"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Assembly Lock"},"description":"Write a lockfile recording each component's content hash, published-\ninterface hash, and mate dependencies — the provenance baseline a coordinator\nuses to detect drift across a team. Call after a clean merge. lockfile\ndefaults to <manifest>.lock.json. Returns {lockfile, components}.","inputSchema":{"properties":{"lockfile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Lockfile"},"manifest":{"title":"Manifest","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["manifest"],"title":"assembly_lockArguments","type":"object"},"name":"assembly_lock","title":"Assembly Lock"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Assembly Lock Check"},"description":"Compare current component files to a lockfile and classify drift (change\npropagation, RFC §9):\n  modified          — file changed since lock\n  interface_changed — published interface frames moved (subset of modified)\n  stale             — mates to an interface_changed component and was NOT\n                      itself rebuilt: a neighbor that needs re-dispatch\n  new / removed     — components added to / dropped from the manifest\nok = nothing stale and no new/removed (safe to re-merge without re-dispatch).\nReturns {modified, interface_changed, stale, new, removed, ok}.","inputSchema":{"properties":{"lockfile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Lockfile"},"manifest":{"title":"Manifest","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["manifest"],"title":"assembly_lock_checkArguments","type":"object"},"name":"assembly_lock_check","title":"Assembly Lock Check"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Make Drawing Page"},"description":"Create a TechDraw page using a built-in A4 landscape template by default.\ntemplate: optional absolute path to a .svg template.","inputSchema":{"properties":{"name":{"default":"Page","title":"Name","type":"string"},"template":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Template"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"make_drawing_pageArguments","type":"object"},"name":"make_drawing_page","title":"Make Drawing Page"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add Projection Group"},"description":"Add a multi-view projection group of `body` to a drawing page.\nviews: list of FreeCAD view codes ('Front', 'Top', 'Right', 'Left',\n'Bottom', 'Rear', 'FrontTopLeft', etc.). Default: ['Front', 'Top', 'Right'].\n","inputSchema":{"properties":{"body":{"title":"Body","type":"string"},"name":{"default":"ProjGroup","title":"Name","type":"string"},"page":{"title":"Page","type":"string"},"views":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Views"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["page","body"],"title":"add_projection_groupArguments","type":"object"},"name":"add_projection_group","title":"Add Projection Group"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Export Drawing"},"description":"Export a drawing page to PDF, SVG, or DXF (format inferred from the path\nextension), headless. PDF/SVG are composed from the template, the per-view\ngeometry, and any dimensions/annotations on the page; DXF uses FreeCAD's\nnative page writer. Returns {path, size, format, views, dimensions}.","inputSchema":{"properties":{"page":{"title":"Page","type":"string"},"path":{"title":"Path","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["page","path"],"title":"export_drawingArguments","type":"object"},"name":"export_drawing","title":"Export Drawing"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add Dimension"},"description":"Add dimension(s) to a drawing page. Modes (pick one):\n  * auto=True: overall horizontal + vertical extents for every part-view (or\n    only `views`, by name or projection code).\n  * view + edge=<edge tag>: true length of a model edge (the real length, not\n    the foreshortened projection).\n  * view + kind='diameter'|'radius' + edge=<circular edge tag>: ⌀/R of a hole\n    or arc.\n  * view + kind='angle' + face=<conical face tag>: included angle (2×) of a\n    cone/countersink/taper; half_angle=True for the half-angle.\n  * view + from_point/to_point ([x,y,z] model points): point to point.\nview: a view handle, object name, or projection code ('Front', 'Top', ...).\nkind: 'aligned' (default) | 'horizontal' | 'vertical' | 'diameter' | 'radius'\n  | 'angle'.\ntolerance: rendered next to the value: {\"sym\": 0.1} for ±0.1, {\"plus\": ..,\n  \"minus\": ..}, or {\"fit\": \"H7\"} / {\"fit\": \"H7/g6\"} (ISO 286 hole-side limits\n  at the basic size).\nReturns {dimensions: [{handle, name, type, value}, ...]}; value is the true\nmeasured size.\n","inputSchema":{"properties":{"auto":{"default":false,"title":"Auto","type":"boolean"},"edge":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Edge"},"face":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Face"},"from_point":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"From Point"},"half_angle":{"default":false,"title":"Half Angle","type":"boolean"},"kind":{"default":"aligned","title":"Kind","type":"string"},"page":{"title":"Page","type":"string"},"to_point":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"To Point"},"tolerance":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Tolerance"},"view":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"View"},"views":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Views"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["page"],"title":"add_dimensionArguments","type":"object"},"name":"add_dimension","title":"Add Dimension"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add Annotation"},"description":"Add a free text annotation to a drawing page at page position (x, y) in\nmm (origin bottom-left, +Y up, matching TechDraw view placement).\nReturns {handle, name, text}.","inputSchema":{"properties":{"name":{"default":"Note","title":"Name","type":"string"},"page":{"title":"Page","type":"string"},"text":{"title":"Text","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"x":{"default":20.0,"title":"X","type":"number"},"y":{"default":20.0,"title":"Y","type":"number"}},"required":["page","text"],"title":"add_annotationArguments","type":"object"},"name":"add_annotation","title":"Add Annotation"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add Feature Note"},"description":"Attach an explicit manufacturing NOTE that satisfies a curved/periodic\nfeature the drawing_gate enumerates (issue #108) — the 'per CAD model / profile\ntable' coverage for geometry a single number can't capture (a freeform/BSpline\nwall's profile, a tooth pattern's full parameter set) or a documented cone angle.\n`feature` is the enumerated feature id (e.g. 'FREEFORM1', 'PAT1', 'CONE1', from\ndrawing_gate's `enumerated_features`); `text` defaults to a sensible callout.\nThe gate reads the note back as coverage. Returns {handle, name, feature, text}.","inputSchema":{"properties":{"feature":{"title":"Feature","type":"string"},"kind":{"default":"feature","title":"Kind","type":"string"},"name":{"default":"FeatureNote","title":"Name","type":"string"},"page":{"title":"Page","type":"string"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Text"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"x":{"default":20.0,"title":"X","type":"number"},"y":{"default":20.0,"title":"Y","type":"number"}},"required":["page","feature"],"title":"add_feature_noteArguments","type":"object"},"name":"add_feature_note","title":"Add Feature Note"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Set Title Block"},"description":"Populate the drawing's title block (composed bottom-right on SVG/PDF export;\ncalling this opts the page into rendering it). Scale, sheet size, units and\npart name are auto-derived; these fields override or add to them. Returns\n{handle, name, fields}.\n","inputSchema":{"properties":{"date":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Date"},"drawn_by":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Drawn By"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"page":{"title":"Page","type":"string"},"part":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Part"},"project":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Project"},"rev":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Rev"},"units":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Units"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["page"],"title":"set_title_blockArguments","type":"object"},"name":"set_title_block","title":"Set Title Block"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Drawing Gate"},"description":"Manufacturing-completeness gate for a drawing page: do the placed dimensions\nfully and non-redundantly reconstruct the part? Reads the real solid + placed\ndimensions and accounts degrees of freedom, process-aware: 'prismatic' needs\neach hole located X/Y from a datum and the block sized W×H×T; 'turned' needs\nonly Ø + axial length per step. process='auto' infers it.\n\nDatum discipline (a location not measured from a datum face → no_datum) turns\non when faces carry role='datum' (annotate_face), or with datums_declared=True.\nrequire_ballooned=True also fails unballooned characteristics (not_ballooned;\nsee balloon_drawing), as a release flow does.\n\nReturns {ok, violations, slots_total, slots_covered, process, features,\ndimensions, enumerated_features, datum_faces, section_recommended ({recommended,\nreasons, feature_ids}; see add_section_view), ballooned ({ok, total, ballooned,\nmissing})}. Each violation has a `code` (under = size/location missing;\nredundant = DOF dimensioned twice; conflict = twice with disagreeing values;\nextra = pins nothing; no_datum; not_ballooned) and a `reason`. ok=True means\nmanufacturing-complete.\n","inputSchema":{"properties":{"datums_declared":{"default":false,"title":"Datums Declared","type":"boolean"},"page":{"title":"Page","type":"string"},"process":{"default":"auto","title":"Process","type":"string"},"require_ballooned":{"default":false,"title":"Require Ballooned","type":"boolean"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["page"],"title":"drawing_gateArguments","type":"object"},"name":"drawing_gate","title":"Drawing Gate"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Fit Drawing to Page"},"description":"Auto-fit a drawing to its sheet: recentre the views so the part AND its\nplaced dimensions sit inside the printable border (clear of the title block).\nThe projection group's Automatic scale already sizes the part; its dimensions\nextend a fixed margin beyond it which can run off an edge — call this after\nplacing dimensions to slide everything inside. `margin` mm is the border inset.\nReturns {scale, fits, envelope, border}; fits=False means the part + dims are too\nlarge even when centred (use a larger sheet).","inputSchema":{"properties":{"margin":{"default":8.0,"title":"Margin","type":"number"},"page":{"title":"Page","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["page"],"title":"fit_pageArguments","type":"object"},"name":"fit_page","title":"Fit Drawing to Page"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Drawing Legibility"},"description":"Legibility gate for a drawing page: on the ACTUAL placed graphics, flag the\nways the layout becomes unreadable — overlapping dimension labels, a dimension\nline crossing a view it does not reference, or anything past the sheet border.\n\nmin_gap (mm) is the breathing room required between two labels. Returns {ok,\nviolations, labels, segments, views}; each violation has a `code`\n(overlap/crosses_view/out_of_border) and a human `reason`. ok=True means the\nplaced dimensions read cleanly on the sheet. Inspection balloons count as placed\ngraphics too — a numbered circle sitting on a neighbour or off the sheet is\nflagged like any other label.","inputSchema":{"properties":{"min_gap":{"default":0.5,"title":"Min Gap","type":"number"},"page":{"title":"Page","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["page"],"title":"drawing_legibilityArguments","type":"object"},"name":"drawing_legibility","title":"Drawing Legibility"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add GD&T Callout"},"description":"Place a GD&T feature control frame on a drawing page, so the tolerance is\ndeclared on the print: it renders as a compartmented symbol and\ninspection_plan / fai_report read it back as a ballooned characteristic.\n\ncontrol: ASME Y14.5 characteristic, as gdt_check accepts: flatness,\n    straightness, circularity, cylindricity, profile_line, profile_surface,\n    perpendicularity, parallelism, angularity, position, concentricity, runout,\n    total_runout.\nzone: tolerance zone mm (Ø-prefixed for position, concentricity, circularity,\n    cylindricity).\ndatums: ordered datum reference frame, e.g. [\"A\", \"B\", \"C\"]. With datums the\n    plan routes it to CMM; datum-free form controls go to the surface plate.\nfeature: optional enumerated feature id (drawing_gate `enumerated_features`).\nmmc_bonus: material-condition bonus tolerance, mm.\nmodifier: free text in the tolerance compartment (e.g. \"Ⓜ\").\nx / y: page position mm (origin bottom-left, +Y up).\n\nReturns {handle, name, control, zone, datums, text}.\n","inputSchema":{"properties":{"control":{"title":"Control","type":"string"},"datums":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Datums"},"feature":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Feature"},"mmc_bonus":{"default":0.0,"title":"Mmc Bonus","type":"number"},"modifier":{"default":"","title":"Modifier","type":"string"},"name":{"default":"Fcf","title":"Name","type":"string"},"page":{"title":"Page","type":"string"},"view":{"default":"","title":"View","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"x":{"default":20.0,"title":"X","type":"number"},"y":{"default":40.0,"title":"Y","type":"number"},"zone":{"title":"Zone","type":"number"}},"required":["page","control","zone"],"title":"add_gdt_calloutArguments","type":"object"},"name":"add_gdt_callout","title":"Add GD&T Callout"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Balloon Drawing"},"description":"Number every characteristic on a drawing page (dimensions, feature control\nframes, feature notes) with an inspection balloon, rendered on SVG/PDF export;\ninspection_plan and fai_report key their rows on it.\n\nNumbers are a persistent IDENTITY: re-running reassigns nothing, a new\ndimension gets the next number, a deleted one RETIRES its number (never reused).\nrenumber=True restarts from 1 and invalidates existing inspection records.\nCall after dimensions are placed and fit_page has run.\n\nReturns {count, balloons (source object name -> number), assigned, kept,\nretired, next_balloon}.\n","inputSchema":{"properties":{"page":{"title":"Page","type":"string"},"renumber":{"default":false,"title":"Renumber","type":"boolean"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["page"],"title":"balloon_drawingArguments","type":"object"},"name":"balloon_drawing","title":"Balloon Drawing"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Inspection Plan"},"description":"The ballooned characteristic list for a drawing page as data (every dimension,\nfeature control frame, feature note), with nominal, limits, and a suggested\nmeasurement method per row. The method follows the tolerance: the `ratio`:1\ngauge rule (default 10:1) walked down a per-family instrument ladder (bores\nuse pin/bore gauges; datum-referenced GD&T → CMM; datum-free form → surface\nplate). Resolution is exact; instrument mapping is shop convention, hence\nfidelity='correlation'.\n\nReturns {ok, characteristics, count, by_method, unmeasurable, retired,\nnext_balloon, fidelity, band_pct, basis}. ok=False means something cannot be\ninspected as drawn: no_tolerance (untoleranced size) or no_instrument (band\nfiner than any instrument), named in `unmeasurable`.\n","inputSchema":{"properties":{"page":{"title":"Page","type":"string"},"ratio":{"default":10.0,"title":"Ratio","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["page"],"title":"inspection_planArguments","type":"object"},"name":"inspection_plan","title":"Inspection Plan"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"FAI Report"},"description":"First-article inspection report for a drawing page, shaped like AS9102 Rev B\nForm 3: one row per ballooned characteristic with the Form 3 fields, limits,\nsuggested method, and computed status.\n\nresults: balloon number -> measured value; rows are accepted/rejected against\n    limits. For `position` pass {\"x\":.., \"y\":..} (deviation 2·√(x²+y²), as\n    gdt_check). Omit for a BLANK form: every row 'not_evaluated', never a pass.\npath: optionally write .csv (data), .svg or .pdf (printable table).\npart / rev: identity stamped in; default page part name / title-block rev.\nreference: AS9102 field 6 (Reference Location); defaults to each\n    characteristic's view.\n\nNOT a certified AS9102 submission (every artifact says so).\n\nReturns {ok, columns, rows, summary, disclaimer, part, rev, plan_ok,\nunmeasurable, path?, size?, format?}; ok=False means a characteristic measured\nout of limits.\n","inputSchema":{"properties":{"page":{"title":"Page","type":"string"},"part":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Part"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Path"},"ratio":{"default":10.0,"title":"Ratio","type":"number"},"reference":{"default":"","title":"Reference","type":"string"},"results":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Results"},"rev":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Rev"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["page"],"title":"fai_reportArguments","type":"object"},"name":"fai_report","title":"FAI Report"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add Thumbnail"},"description":"Place a small isometric pictorial (vector TechDraw view) in the sheet's\ntop-right corner IF it fits without crowding existing views/dimensions. It is\npinned there, never dimensioned, and ignored by drawing_gate. Call it AFTER\nviews, dimensions and fit_page.\n\nReturns {placed, box, scale?, view?, reason?}; placed=False with a reason when\nthe corner is occupied.\n","inputSchema":{"properties":{"name":{"default":"IsoThumb","title":"Name","type":"string"},"page":{"title":"Page","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["page"],"title":"add_thumbnailArguments","type":"object"},"name":"add_thumbnail","title":"Add Thumbnail"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Add Section View"},"description":"Add a cross-section view when the part has internal features the outline /\nhidden-line views convey ambiguously (counterbore, blind hole/bore, pocket).\nThe need is judged from the real solid; the cut runs lengthwise through such a\nfeature and the view is placed in clear space.\n\nauto (default True): add it ONLY if hidden internal geometry exists, else\n    return {added: False, recommended: False}; auto=False forces a section.\nprocess: 'auto' | 'prismatic' | 'turned' — how features are enumerated.\n\nReturns {added, recommended, reasons, feature_ids, view?, normal?, origin?}.\ndrawing_gate's `section_recommended` tells you in advance.\n","inputSchema":{"properties":{"auto":{"default":true,"title":"Auto","type":"boolean"},"name":{"default":"Section","title":"Name","type":"string"},"page":{"title":"Page","type":"string"},"process":{"default":"auto","title":"Process","type":"string"},"symbol":{"default":"A","title":"Symbol","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["page"],"title":"add_section_viewArguments","type":"object"},"name":"add_section_view","title":"Add Section View"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Render View"},"description":"Render an isometric/orthographic view of a shaped object as a PNG.\n\nview: 'iso' | 'top' | 'bottom' | 'front' | 'back' | 'left' | 'right' | 'side'.\ndeflection: tessellation accuracy in mm (smaller = finer mesh, slower).\nedges: draw triangle edges over filled faces.\n\nReturns {png_base64, width, height, view, vertices, triangles}.\n","inputSchema":{"properties":{"deflection":{"default":0.5,"title":"Deflection","type":"number"},"edges":{"default":true,"title":"Edges","type":"boolean"},"handle":{"title":"Handle","type":"string"},"height":{"default":512,"title":"Height","type":"integer"},"view":{"default":"iso","title":"View","type":"string"},"width":{"default":512,"title":"Width","type":"integer"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle"],"title":"render_viewArguments","type":"object"},"name":"render_view","title":"Render View"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Render Views"},"description":"Render multiple views of a single object. Returns {views: {view_name: {png_base64,...}}}.\nDefault views: ['iso', 'top', 'front'].","inputSchema":{"properties":{"deflection":{"default":0.5,"title":"Deflection","type":"number"},"handle":{"title":"Handle","type":"string"},"height":{"default":384,"title":"Height","type":"integer"},"views":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"title":"Views"},"width":{"default":384,"title":"Width","type":"integer"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle"],"title":"render_viewsArguments","type":"object"},"name":"render_views","title":"Render Views"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Render FEM Results"},"description":"Render a completed FEM result's surface, colored by a per-vertex field.\n\nPulls the result surface (boundary triangulation + per-node field values +\ndisplacement vectors) from the worker, then colors it with a viridis\ncolormap (barycentrically interpolated), overlays the deformed shape, and\ndraws a colorbar with the field min/max — the \"agent eyes\" for a stress /\ndisplacement / thermal solve.\n\nfield: 'vonmises' (default) | 'displacement' | 'temperature'.\nview: a preset ('iso'|'top'|'front'|…) or a custom '(azimuth,elevation)'\n    camera passed as e.g. \"45,35\".\ndeformation_scale: 'auto' scales the peak displacement to ~8% of the model\n    diagonal; a number is used verbatim; '0' disables the deformed overlay.\n\nReturns {png_base64, width, height, field, units, min, max, view,\nnode_count, triangle_count}.\n","inputSchema":{"properties":{"analysis":{"title":"Analysis","type":"string"},"deformation_scale":{"anyOf":[{"type":"string"},{"type":"number"}],"default":"auto","title":"Deformation Scale"},"edges":{"default":true,"title":"Edges","type":"boolean"},"field":{"default":"vonmises","title":"Field","type":"string"},"height":{"default":512,"title":"Height","type":"integer"},"view":{"default":"iso","title":"View","type":"string"},"width":{"default":640,"title":"Width","type":"integer"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["analysis"],"title":"render_fem_resultsArguments","type":"object"},"name":"render_fem_results","title":"Render FEM Results"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Render Photoreal"},"description":"Photorealistic \"hero image\" of a part or a whole assembly — presentation\nquality, unlike render_view's fast software-rasterized preview.\n\nCall render_capabilities first when unsure what is installed. renderer='auto'\n(default) uses Blender (Cycles, full install, run headless) when it resolves,\notherwise POV-Ray (or another FreeCAD Render add-on renderer). Name one to force\nit: 'Blender' | 'Povray' | 'Luxcore' | 'Appleseed' | 'Cycles' (the stripped\nstandalone build, not Blender) | 'Ospray' | 'Pbrt'. Renders never modify the\nlive model.\n\nWhat to render: `handle` (a part, or an assembly handle — every leaf part is\nrendered in place) or `parts`, a list of {handle, appearance?, name?} entries.\nAppearance per part: `appearances` maps an assembly's part names (as\nlist_assembly_parts reports them) to an appearance; `parts[].appearance` sets it\ninline; `material` is the fallback for every unassigned part. An appearance is a\ncard name ('Aluminium', 'Brass', 'Carpaint', 'Emission', 'Glass', 'GlossyPlastic',\n'Gold', 'Iron', 'Matte', 'RoughPlastic', ...) or a neutral PBR dict {base?, color\n('#rrggbb' or linear [r,g,b]), metallic, roughness, emission, emission_strength,\ntransmission, ior, coat, finish ('none'|'fdm_layers'|'brushed'),\nlayer_height_mm}. Unknown cards/fields raise listing the valid ones.\n\nBlender-only (reported under `ignored` on an add-on renderer): per-part\nappearance, scene ('studio': seamless cyclorama, soft key/fill/rim area lights,\ncontact shadows), quality ('draft' 16 | 'preview' 64 (default) | 'final' 384\nsamples, OIDN-denoised), device ('auto' GPU-if-present | 'cpu' | 'gpu'), and\noutput_dir (where render.png + render.blend are written; default a temp dir).\nview: 'iso' | 'top' | 'bottom' | 'front' | 'back' | 'left' | 'right' | 'side'.\n\nReturns {png_base64, png_path, renderer, auto_selected, view, material, width,\nheight}. The Blender backend adds {blend_path, scene, quality, samples, denoised,\ndevice, blender_version, elapsed_s, parts: [{name, material, triangles}]}: open\nblend_path in Blender 5.1+ (optionally with Blender's own MCP server connected) to\nart-direct the scene further — AnkusDrive does not drive that server. When 'auto'\nfalls back off Blender the result carries `suggestion` {renderer, why, install}:\nrelay its `install` command to the user verbatim rather than installing anything.\nNot installed: Blender/'auto' return {ok: False, renderer, status, reason,\ninstall}; a named add-on renderer raises with install guidance.\n\nPresentation-only: output is not bit-reproducible, so it is kept out of the\nreliability/golden tests. Renders can take seconds to minutes (extended worker\ntimeout); prefer render_photoreal_submit for quality='final'.\n","inputSchema":{"properties":{"appearances":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Appearances"},"device":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Device"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Handle"},"height":{"default":600,"title":"Height","type":"integer"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"output_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Output Dir"},"parts":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null,"title":"Parts"},"quality":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Quality"},"renderer":{"default":"auto","title":"Renderer","type":"string"},"scene":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Scene"},"view":{"default":"iso","title":"View","type":"string"},"width":{"default":800,"title":"Width","type":"integer"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"render_photorealArguments","type":"object"},"name":"render_photoreal","title":"Render Photoreal"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Render Photoreal Submit"},"description":"Start a photorealistic render asynchronously; returns immediately with\n{job_id, status, renderer} instead of blocking for the whole render.\n\nUse this (rather than render_photoreal) for renders that may take a long time —\nquality='final', large images, big assemblies — so the worker stays responsive.\nPoll render_job(job_id) until status is 'done' (then it returns the PNG and, for\nBlender, blend_path) or 'failed'. Same arguments, renderer selection and\nnot-installed miss dict as render_photoreal; see render_capabilities for what\nresolves on this machine.\n","inputSchema":{"properties":{"appearances":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Appearances"},"device":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Device"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Handle"},"height":{"default":600,"title":"Height","type":"integer"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"output_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Output Dir"},"parts":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"default":null,"title":"Parts"},"quality":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Quality"},"renderer":{"default":"auto","title":"Renderer","type":"string"},"scene":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Scene"},"view":{"default":"iso","title":"View","type":"string"},"width":{"default":800,"title":"Width","type":"integer"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"render_photoreal_submitArguments","type":"object"},"name":"render_photoreal_submit","title":"Render Photoreal Submit"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Render Job"},"description":"Poll an async render started by render_photoreal_submit.\n\nReturns {job_id, status} where status is 'running', 'done', or 'failed'. When\n'done', also returns {png_base64, png_path, renderer, view, material, width,\nheight}; when 'failed', {error}. The result remains available for repeat polls.\n\nPass discard=True once you have a terminal result to free the job immediately\n(drops the cached image and closes its temp document); ignored while running.\nJobs are also auto-evicted oldest-first once finished jobs exceed an internal cap.\n","inputSchema":{"properties":{"discard":{"default":false,"title":"Discard","type":"boolean"},"job_id":{"title":"Job Id","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["job_id"],"title":"render_jobArguments","type":"object"},"name":"render_job","title":"Render Job"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Render Capabilities"},"description":"Report which photoreal renderers are usable right now — Blender (the studio\nbackend) and the FreeCAD Render add-on renderers — so you can pick one for\nrender_photoreal, or tell the user exactly what to install, instead of\ndiscovering availability by trial and error.\n\nTakes no arguments and renders nothing. Resolves Blender like a solver\n(ANKUSDRIVE_BLENDER_PATH -> PATH -> per-OS install dirs, incl. the versioned\n`Blender Foundation\\Blender X.Y` and /opt|~/.local/opt/blender-*) and launches it\nonce (cached) to read its version and GPU; resolves each add-on renderer as\nrender_photoreal would, changing no settings.\n\nReturns {default_renderer ('auto'), auto_selects (the renderer 'auto' would use\nnow, or None), recommended ('Blender'), platform, available (ready renderer names\nfor `renderer=`), renderers: {name: {available, backend ('blender' |\n'render_addon'), path or install_hint, ...}} — Blender adds version, device, gpu,\noidn, supported, scenes, qualities, devices, finishes — materials (appearance card\nnames), appearance_fields (the PBR dict keys), addon_importable, addon_error (when\nthe add-on does not import), and `suggestion` {renderer, why, install} while\nBlender is missing}. When the user wants better renders, relay the Blender\n`install_hint` verbatim — never run installers yourself. setup_status reports the\nsame install under the `studio_render` family.\n","inputSchema":{"properties":{"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"render_capabilitiesArguments","type":"object"},"name":"render_capabilities","title":"Render Capabilities"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Solve Capabilities"},"description":"Report which P2 external solvers (CFD/MBD/topology/transient-thermal/optics)\nare usable right now — so you can pick a working solver for a *_submit family\ninstead of discovering availability by trial and error. The solver twin of\nrender_capabilities.\n\nTakes no arguments. Resolves each solver side-effect-free: a binary by\nANKUSDRIVE_<SOLVER>_PATH env -> PATH -> per-OS install dirs; a pip-wheel solver by\nimportability. It executes nothing and installs nothing.\n\n`families[*].any_available` is the gate to trust: it means AnkusDrive can actually\nDRIVE that family here, not just that a binary resolved. A solver that resolves\nbut that no AnkusDrive tool can build a case for is listed under the family's\n`prepared_case_only` (with the reason on the solver entry) and does NOT set\n`any_available` — today that is SU2, which only ever runs a `case_dir` you\nprepared yourself (*.cfg + *.su2); every built-in CFD case mode is OpenFOAM-only.\n\nReturns {platform, available (sorted ready solver names), unwired,\nprepared_case_only, solvers: {name: {available, kind ('binary'|'wheel'), family,\nextra, and either path/module (when available) or install_hint, plus\nprepared_case_only when nothing can build it a case}}, families: {family:\n{solvers, available, unwired, prepared_case_only, any_available}}, extras:\n{extra: [solver names]} for `pip install ankusdrive[<extra>]`, toolsets: {enabled,\ndisabled: {family: {label, tools, enable}}}, cases: {root, count, bytes,\nbytes_exact, keep, max_gb, grace_s, reaping}}. A family listed under\n`toolsets.disabled` has no tools registered in this session — tell the user its\n`enable` instruction rather than concluding the capability does not exist.\n\n`cases` is where every generated solver deck is written (one managed root) and the\nretention it is held to: at most `keep` directories and `max_gb` GB, reaped\noldest-first, never touching one younger than `grace_s` seconds. Point a user at\n`cases.root` when they ask where a solve's files went (issue #437).","inputSchema":{"properties":{"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"solve_capabilitiesArguments","type":"object"},"name":"solve_capabilities","title":"Solve Capabilities"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Setup Status"},"description":"The machine-readable form of `ankusdrive doctor` — resolve FreeCAD and every\nsolver family and report, per item, found/missing with the exact fix. Call this\nwhen the user asks to set up, diagnose, or finish installing AnkusDrive, then walk\nthem through the per-item `fix`/`install_hint` commands for their `platform`.\n\nRead-only and side-effect-free: nothing is executed or installed and no\nenvironment is mutated (`verify_freecad_boot=True` additionally boots FreeCAD\nonce, time-boxed, purely to read back its version — leave it False unless the\nuser doubts the install actually runs).\n\n`verify_image=True` additionally checks, OVER THE NETWORK, that the solver\ncontainer's image was signed by this repository — use it when the user asks\nwhether the solvers they are running are authentic. It adds\n`container_image.verification` = {status, reason, repo, workflow,\nallowed_by_config, self_declared}, where status is:\n  • `verified`   — provenance names this repository's image workflow;\n  • `unsigned`   — no attestation: an image the user built themselves (common and\n    legitimate), one published before signing existed, or no network/`gh`. Relay\n    it as expected-for-a-custom-image, and mention\n    ANKUSDRIVE_ALLOW_UNVERIFIED_IMAGE=1 silences it;\n  • `mismatch`   — an attestation exists but names a DIFFERENT repository. Say so\n    plainly: that is an image claiming to be ours. No setting silences it;\n  • `unavailable` — the check could not run (`reason` says why). Never report\n    this as authentic.\n`self_declared` is what the image says about itself and is never evidence —\nonly the signature is.\n\nReturns {platform: {system, machine}, freecad: {available, path, source,\nversion?, fix?}, install: {kind, source} (venv | pipx | uv_tool | uvx | mcpb —\nthe install every fix string is written for), toolsets: {enabled, disabled:\n{family: {label, tools, enable}}} (tool families switched off in this install and\nexactly how to switch each on), run_script: {allowed, enable?} (whether the\nrun_script tool may execute agent-written code here), solvers: {available, unwired, prepared_case_only, solvers:\n{name: {..., install_hint | wire_hint}}, families: {family: {solvers, available,\nunwired, prepared_case_only, any_available}}, extras}} —\n`families[*].any_available` is what gates each *_submit family, and every\nunavailable item carries its own fix string. A solver under\n`prepared_case_only` resolves but no AnkusDrive tool can build it a case, so it\ndoes not make its family available (SU2/cfd — issue #237).","inputSchema":{"properties":{"verify_freecad_boot":{"default":false,"title":"Verify Freecad Boot","type":"boolean"},"verify_image":{"default":false,"title":"Verify Image","type":"boolean"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"setup_statusArguments","type":"object"},"name":"setup_status","title":"Setup Status"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"FEM New Analysis"},"description":"Create a Fem::FemAnalysis container. Returns {handle, name}.","inputSchema":{"properties":{"name":{"default":"Analysis","title":"Name","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"fem_new_analysisArguments","type":"object"},"name":"fem_new_analysis","title":"FEM New Analysis"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"FEM Set Solver"},"description":"Add a solver to an analysis. kind: 'ccx' (CalculiX) or 'elmer'.\n\ntunables: dict of solver-property values, e.g.\n  {\"GeometricalNonlinearity\": \"linear\", \"ThermoMechSteadyState\": True,\n   \"MatrixSolverType\": \"default\"}.\nSensible CCX defaults are filled in if omitted.\n","inputSchema":{"properties":{"analysis":{"title":"Analysis","type":"string"},"kind":{"default":"ccx","title":"Kind","type":"string"},"name":{"default":"Solver","title":"Name","type":"string"},"tunables":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Tunables"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["analysis"],"title":"fem_set_solverArguments","type":"object"},"name":"fem_set_solver","title":"FEM Set Solver"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"FEM Set Material"},"description":"Bind a material to a body in an analysis.\n\nmaterial is a dict with at minimum:\n  {\"YoungsModulus\": \"210000 MPa\", \"PoissonRatio\": \"0.30\",\n   \"Density\": \"7900 kg/m^3\", \"Name\": \"Steel-Generic\"}\nAny extra keys are passed through to the FEM material card.\n","inputSchema":{"properties":{"analysis":{"title":"Analysis","type":"string"},"body":{"title":"Body","type":"string"},"material":{"additionalProperties":true,"title":"Material","type":"object"},"name":{"default":"Material","title":"Name","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["analysis","body","material"],"title":"fem_set_materialArguments","type":"object"},"name":"fem_set_material","title":"FEM Set Material"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"FEM Add Constraint"},"description":"Add a constraint by face/edge tag (Slice 1).\n\nkind:\n  structural: 'fixed' | 'force' | 'pressure' | 'displacement'\n  thermal:    'temperature' | 'heatflux' | 'initial_temperature'\nrefs: list of {handle, tag} dicts; 'tag' may be a face tag (f_...) or\n      edge tag (e_...). Resolved against the live shape so refs survive\n      unrelated geometry edits.\n\nFor 'force': force (N), optional direction {handle, edge|tag}.\nFor 'pressure': pressure (MPa).\nFor 'displacement': x/y/z (mm) or x_free/y_free/z_free.\nFor 'temperature' / 'initial_temperature': temperature (°C / K).\nFor 'heatflux': flux_type ('DFlux'|'Convection'|'Radiation'), and\n  DFlux: flux (W/m²); Convection: ambient_temp (°C) + film_coef (W/m²K);\n  Radiation: ambient_temp + emissivity.\n","inputSchema":{"properties":{"ambient_temp":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Ambient Temp"},"analysis":{"title":"Analysis","type":"string"},"direction":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Direction"},"emissivity":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Emissivity"},"film_coef":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Film Coef"},"flux":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Flux"},"flux_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Flux Type"},"force":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Force"},"kind":{"title":"Kind","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Name"},"pressure":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Pressure"},"refs":{"items":{},"title":"Refs","type":"array"},"reversed":{"default":false,"title":"Reversed","type":"boolean"},"temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Temperature"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"x":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"X"},"x_free":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"X Free"},"y":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Y"},"y_free":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Y Free"},"z":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Z"},"z_free":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Z Free"}},"required":["analysis","kind","refs"],"title":"fem_add_constraintArguments","type":"object"},"name":"fem_add_constraint","title":"FEM Add Constraint"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"FEM Modal"},"description":"Configure analysis for modal (frequency) extraction.\n\nSets solver AnalysisType='frequency' and EigenmodesCount=n_modes.\nf_low / f_high (Hz) optionally bound the requested mode range.\nCaller still calls fem_run, then fem_modal_results to read frequencies.\n","inputSchema":{"properties":{"analysis":{"title":"Analysis","type":"string"},"f_high":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"F High"},"f_low":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"F Low"},"n_modes":{"default":5,"title":"N Modes","type":"integer"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["analysis"],"title":"fem_modalArguments","type":"object"},"name":"fem_modal","title":"FEM Modal"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"FEM Modal Results"},"description":"Extract natural frequencies from a completed modal run.\nPass `analysis`, or the `job_id` of a finished fem_run_submit solve.\nReturns {frequencies_hz: [...], modes: [{mode, frequency_hz, max_displacement_mm}, ...]}.","inputSchema":{"properties":{"analysis":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Analysis"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Job Id"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"fem_modal_resultsArguments","type":"object"},"name":"fem_modal_results","title":"FEM Modal Results"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Contact Setup"},"description":"Set up surface-to-surface contact between face pairs for a CalculiX solve and\nflip the solver to nonlinear — no new solver (promotes the CCX contact/nonlinear\nflags the FEM path already exposes). `face_pairs` is a list of\n{a:{handle, tag|face}, b:{handle, tag|face}} (master, slave) pairs; `friction` is\nthe Coulomb coefficient (0 = frictionless); `slope` optionally sets the penalty\ncontact stiffness; `nonlinear` (default True) sets the solver's\nGeometricalNonlinearity.\n\nRun fem_run + fem_results after. Gate RELATIVE to a bonded reference on the same\nmesh: a bonded model is stiffer (less peak displacement) than frictional contact.\nReturns {contacts:[handles], n_pairs, friction, nonlinear}.","inputSchema":{"properties":{"analysis":{"title":"Analysis","type":"string"},"face_pairs":{"items":{},"title":"Face Pairs","type":"array"},"friction":{"default":0.0,"title":"Friction","type":"number"},"name":{"default":"Contact","title":"Name","type":"string"},"nonlinear":{"default":true,"title":"Nonlinear","type":"boolean"},"slope":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"null"}],"default":null,"title":"Slope"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["analysis","face_pairs"],"title":"contact_setupArguments","type":"object"},"name":"contact_setup","title":"Contact Setup"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"FEM Set Nonlinear Material"},"description":"Attach an elastoplastic (`*PLASTIC`) hardening curve to a linear FEM material\nand switch the CalculiX solve to nonlinear — the material-nonlinearity half of\nthe nonlinear FEM path (`contact_setup` is the geometric/contact half). No new\nsolver: this promotes the CCX `MaterialNonlinearity` / `GeometricalNonlinearity`\nflags the FEM path already exposes. `base_material` is the handle from\n`fem_set_material` (its YoungsModulus/PoissonRatio stay the elastic branch).\n\nGive the post-yield curve either as `yield_points` ([[stress_MPa,\nplastic_strain], ...], first point at plastic_strain 0 = initial yield) or from\n`yield_mpa` (+ optional `tangent_modulus_mpa` linear-hardening slope and\n`max_plastic_strain`). With no tangent modulus the curve is\nelastic–perfectly-plastic and caps the stress at σ_y exactly. `hardening`:\n'isotropic' (monotonic) or 'kinematic' (cyclic/Bauschinger). Set\n`geometric_nonlinearity=true` to combine plasticity with large deflection\n(*NLGEOM). `ramp_increments` sub-divides the load step so ccx's plastic\nreturn-mapping converges. Run `fem_run` + `fem_results` after; gate against\n`plastic_collapse` (perfectly-plastic stress saturates at σ_y, collapse at M_p).\n\nReturns {handle, name, hardening, yield_points, n_points,\nsolver_material_nonlinear, solver_geometric_nonlinear, ramp_increments}.","inputSchema":{"properties":{"analysis":{"title":"Analysis","type":"string"},"base_material":{"title":"Base Material","type":"string"},"geometric_nonlinearity":{"default":false,"title":"Geometric Nonlinearity","type":"boolean"},"hardening":{"default":"isotropic","title":"Hardening","type":"string"},"max_plastic_strain":{"default":0.2,"title":"Max Plastic Strain","type":"number"},"name":{"default":"NonlinearMaterial","title":"Name","type":"string"},"ramp_increments":{"default":10,"title":"Ramp Increments","type":"integer"},"tangent_modulus_mpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Tangent Modulus Mpa"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"yield_mpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Yield Mpa"},"yield_points":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Yield Points"}},"required":["analysis","base_material"],"title":"fem_set_nonlinear_materialArguments","type":"object"},"name":"fem_set_nonlinear_material","title":"FEM Set Nonlinear Material"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"FEM Buckling"},"description":"Configure analysis for linear buckling. Apply a unit-magnitude force\nconstraint at the load location; the result factors are the multipliers\nat which buckling occurs.\n","inputSchema":{"properties":{"analysis":{"title":"Analysis","type":"string"},"n_factors":{"default":1,"title":"N Factors","type":"integer"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["analysis"],"title":"fem_bucklingArguments","type":"object"},"name":"fem_buckling","title":"FEM Buckling"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"FEM Buckling Results"},"description":"Extract buckling load multipliers from a completed buckling run.\nPass `analysis`, or the `job_id` of a finished fem_run_submit solve.\nReturns {buckling_factors: [...], modes: [{mode, factor}, ...]}.","inputSchema":{"properties":{"analysis":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Analysis"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Job Id"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"fem_buckling_resultsArguments","type":"object"},"name":"fem_buckling_results","title":"FEM Buckling Results"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"FEM Thermal Results"},"description":"Extract temperature field summary from a completed thermal run.\nPass `analysis`, or the `job_id` of a finished fem_run_submit solve.\nReturns {temperatures_c: {min, max, mean}, top_n_hot_nodes: [...]}.","inputSchema":{"properties":{"analysis":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Analysis"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Job Id"},"top_n":{"default":5,"title":"Top N","type":"integer"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"fem_thermal_resultsArguments","type":"object"},"name":"fem_thermal_results","title":"FEM Thermal Results"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"FEM Mesh Refinement"},"description":"Add a local mesh-refinement region to an existing FEM mesh.\n\nmesh: handle of the FEM mesh.\nrefs: list of {handle, face|edge|tag} dicts identifying the elements\n(faces/edges) to refine on.\nchar_length: characteristic element length (mm) on those elements;\nshould be smaller than the global mesh setting to actually refine.\n","inputSchema":{"properties":{"char_length":{"title":"Char Length","type":"number"},"mesh":{"title":"Mesh","type":"string"},"name":{"default":"MeshRegion","title":"Name","type":"string"},"refs":{"items":{},"title":"Refs","type":"array"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["mesh","refs","char_length"],"title":"fem_mesh_refinementArguments","type":"object"},"name":"fem_mesh_refinement","title":"FEM Mesh Refinement"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"FEM Mesh"},"description":"Create a Gmsh mesh of `body`, attached to `analysis`.\n\nchar_length: max characteristic element length in mm. 0 = let Gmsh pick.\nmin_length: min element length in mm. Default char_length/10, which keeps\nsliver edges in imported CAD from exploding the mesh; 0 removes the floor.\nelement_order: '1st' or '2nd' (quadratic). Use '2nd' for bending/modal accuracy —\nlinear tets (C3D4) shear-lock and overstiffen thin sections (a cantilever's first\nnatural frequency lands ~50% high with only 1-2 elements through the thickness;\n2nd-order tets bring it within ~1% of beam theory). Default lets Gmsh choose.\nReturns {handle, name, nodes, tets, min_length}.\n","inputSchema":{"properties":{"analysis":{"title":"Analysis","type":"string"},"body":{"title":"Body","type":"string"},"char_length":{"default":0.0,"title":"Char Length","type":"number"},"element_order":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Element Order"},"min_length":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Min Length"},"name":{"default":"Mesh","title":"Name","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["analysis","body"],"title":"fem_meshArguments","type":"object"},"name":"fem_mesh","title":"FEM Mesh"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"FEM Run"},"description":"Run the CalculiX solver on an analysis. BLOCKS the MCP channel until the solve\nfinishes (up to 600 s).\n\nWhich to reach for: fem_run for small solves — a coarse mesh, linear static, a few\nthousand nodes — that finish in seconds, where a poll round-trip only adds latency.\nfem_run_submit for anything that may take a minute or more (fine or 2nd-order\nmeshes, modal/buckling with many modes, nonlinear material or geometry), so the\nchannel stays free while ccx runs.\n\n`workdir` defaults to `<TMPDIR>/ankusdrive_fem_<worker pid>`, which is removed when\nthe worker exits (close_workspace, restart_worker, server shutdown); name your own\nworkdir to keep the .inp/.frd/.dat. Raises if ccx exits non-zero (with its *ERROR\nlines), or if a fem_run_submit solve is still running on this analysis or workdir.\nReturns {workdir, status: 'ok', returncode, analysis_type,\nresult_objects, analysis}.","inputSchema":{"properties":{"analysis":{"title":"Analysis","type":"string"},"workdir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Workdir"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["analysis"],"title":"fem_runArguments","type":"object"},"name":"fem_run","title":"FEM Run"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"FEM Run Submit"},"description":"Run the CalculiX solver on an analysis OFF the MCP channel — the submit→poll\nform of fem_run, for solves long enough to stall the channel (see fem_run for which\nto use).\n\nThe solver input is written before this returns, so a missing solver, material or\nmesh fails here, synchronously, exactly as fem_run would. ccx then runs in the\nbackground. Poll job_status: once ccx exits, the results are imported into the\nanalysis on your NEXT poll (FreeCAD work runs on the worker's main thread, which a\npoll gives a turn) — so keep polling until status is 'done'; a job nobody polls\nnever finishes. A ccx error fails the job with its *ERROR lines.\n\nWhen done, read results with fem_results / fem_result_probe / fem_modal_results /\nfem_buckling_results / fem_thermal_results passing either `analysis` or this\n`job_id` (don't job_result(discard=True) first if you plan to use the job_id).\nWhile the job runs, fem_run or another submit on the same analysis or workdir is\nrefused. Returns {job_id, status, cache_hit}; job_result's `result` is fem_run's\nreturn dict.","inputSchema":{"properties":{"analysis":{"title":"Analysis","type":"string"},"workdir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Workdir"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["analysis"],"title":"fem_run_submitArguments","type":"object"},"name":"fem_run_submit","title":"FEM Run Submit"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"FEM Results"},"description":"Extract summary results from an analysis.\n\nPass `analysis`, or the `job_id` of a finished fem_run_submit solve (a running or\nfailed job is an error that says so).\n\nReturns {max_vonmises_mpa, max_displacement_mm, max_displacement_vector,\ntop_stress_nodes: [{node, vonmises_mpa, displacement_mm}, ...]}.\n","inputSchema":{"properties":{"analysis":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Analysis"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Job Id"},"top_n":{"default":5,"title":"Top N","type":"integer"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"fem_resultsArguments","type":"object"},"name":"fem_results","title":"FEM Results"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"FEM Result Probe"},"description":"Probe FEM results at a specific location, instead of only the global\nmax + top-N that `fem_results` returns. Answers \"what is the stress at this\npoint / on this face?\" — the agent-friendly form for design iteration.\n\nPick exactly one mode:\n  * POINT: point=[x, y, z] (mm, model coordinates). Interpolates the field\n    barycentrically inside the tet containing the point\n    (method='interpolated'); if the point is outside the mesh it falls back\n    to the nearest node and reports distance_mm (method='nearest_node').\n  * FACE: handle=<body handle> + face=<'f_*' tag or 'FaceN'>. Aggregates the\n    field over the mesh nodes on that CAD face, returning {min, max, mean}.\n\nfield: 'auto' (default — every field present in the result) | 'vonmises' |\n'displacement' | 'temperature'.\n\nPass `analysis`, or the `job_id` of a finished fem_run_submit solve.\n\nReturns (point mode) {mode:'point', query_point, method, element_id?, node?,\ndistance_mm, vonmises_mpa?, displacement_mm?, displacement_vector?,\ntemperature_c?}; (face mode) {mode:'face', face, node_count,\nvonmises_mpa?:{min,max,mean}, displacement_mm?:{...}, temperature_c?:{...}}.\n","inputSchema":{"properties":{"analysis":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Analysis"},"face":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Face"},"field":{"default":"auto","title":"Field","type":"string"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Handle"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Job Id"},"point":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Point"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"fem_result_probeArguments","type":"object"},"name":"fem_result_probe","title":"FEM Result Probe"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"FEM Cantilever Demo"},"description":"Run the built-in cantilever FEM demo end-to-end (geometry → mesh → CalculiX).\n\nDimensions in mm, force in N. Returns {nodes, tets, max_displacement_mm,\nmax_vonmises_mpa, workdir}. A fresh document is created; existing state\nin the session is NOT overwritten but a new document becomes active.\n","inputSchema":{"properties":{"force":{"default":9000000.0,"title":"Force","type":"number"},"height":{"default":1000.0,"title":"Height","type":"number"},"length":{"default":8000.0,"title":"Length","type":"number"},"mesh_size":{"default":500.0,"title":"Mesh Size","type":"number"},"width":{"default":1000.0,"title":"Width","type":"number"},"workdir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Workdir"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"fem_cantilever_demoArguments","type":"object"},"name":"fem_cantilever_demo","title":"FEM Cantilever Demo"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Material Get"},"description":"Look up a material by name (e.g. 'AL6061-T6'). Returns the full property\ncard as SI quantity strings (YoungsModulus, PoissonRatio, Density,\nyield_strength, fracture_toughness, thermal_conductivity, cte, rough_cost,\nrefractive_index where applicable, source, basis). The structural keys are\nFEM-card-compatible, so the result feeds fem_set_material directly. On a miss\nreturns {ok:false, reason} with a did_you_mean suggestion.","inputSchema":{"properties":{"name":{"title":"Name","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["name"],"title":"material_getArguments","type":"object"},"name":"material_get","title":"Material Get"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Material Select"},"description":"Ashby-style selection: filter the corpus, then rank survivors.\n\ncriteria keys are min_<accessor>/max_<accessor> (e.g. min_yield_mpa,\nmax_density_g_cc, min_service_temp_c). rank_by: specific_strength |\nspecific_stiffness | strength | stiffness | cost | density. Returns\n{rank_by, count, criteria, candidates:[{name, score, yield_mpa, density_g_cc,\nyoungs_gpa, cost_usd_kg}, ...]} best-first; an empty filter returns no\ncandidates rather than the closest miss.","inputSchema":{"properties":{"criteria":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Criteria"},"rank_by":{"default":"specific_strength","title":"Rank By","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"material_selectArguments","type":"object"},"name":"material_select","title":"Material Select"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Material List"},"description":"List available materials, optionally filtered to one category\n('aluminum' | 'steel' | 'titanium' | 'magnesium' | 'polymer' | 'glass').\nReturns {count, category, materials:[{name, category}, ...]} sorted by name.","inputSchema":{"properties":{"category":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Category"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"material_listArguments","type":"object"},"name":"material_list","title":"Material List"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Fluid Props"},"description":"Thermophysical properties of a fluid at (T, P) from CoolProp's equation of\nstate (issue #100). ``name`` is a fluid (e.g. 'water', 'air', 'R134a', 'CO2',\n'nitrogen'), ``T_K`` absolute temperature [K], ``P_Pa`` pressure [Pa, default\n1 atm). Returns {ok, density [kg/m³], viscosity [Pa·s], cp [J/kg·K],\nconductivity [W/m·K], prandtl, kinematic_viscosity [m²/s], fidelity,\nvalid_range_ok, source, warnings, coolprop_available}. This is the DEFAULT\nfluid-property source behind the convection/CFD screens; explicit caller props\nstill override. Degrades cleanly when the (opt-in) CoolProp extra is absent:\nair/water return ≈20 °C constants (fidelity='constant_fallback'); other fluids\nreturn {ok:false, reason, install}. CoolProp (BSD-3) is cited as the source.","inputSchema":{"properties":{"P_Pa":{"default":101325.0,"title":"P Pa","type":"number"},"T_K":{"title":"T K","type":"number"},"name":{"title":"Name","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["name","T_K"],"title":"fluid_propsArguments","type":"object"},"name":"fluid_props","title":"Fluid Props"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Bolted Joint Check"},"description":"Rate a bolted joint (VDI 2230-lite). Geometry from bolt_dia_mm (+pitch_mm) OR\na standard thread named via bolt_size (\"M8\"/\"M8x1.0\") that pulls dia/pitch and\nthe standards-table tensile stress area; proof strength from the ISO 898-1\nproperty_class (\"8.8\") when given. Preload from torque via T=K*F*d (pass\ntorque_nm OR preload_n). Returns {preload_n, tensile_stress_area_mm2,\nbolt_stress_mpa, preload_pct_proof, bolt_stress_with_load_mpa,\nseparation_load_n, separation_margin, pass, governing}. `preload_target_pct` is\nthe fraction of proof strength the preload is judged against (0.75 default;\n0.65 for a reused bolt, 0.90 for a critical permanent joint).","inputSchema":{"properties":{"bolt_dia_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Bolt Dia Mm"},"bolt_size":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Bolt Size"},"external_load_n":{"default":0.0,"title":"External Load N","type":"number"},"joint_stiffness_ratio":{"default":0.3,"title":"Joint Stiffness Ratio","type":"number"},"k_factor":{"default":0.2,"title":"K Factor","type":"number"},"material":{"default":"Steel-4140-QT","title":"Material","type":"string"},"pitch_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Pitch Mm"},"preload_n":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Preload N"},"preload_target_pct":{"default":0.75,"title":"Preload Target Pct","type":"number"},"proof_strength_mpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Proof Strength Mpa"},"property_class":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Property Class"},"torque_nm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Torque Nm"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"bolted_joint_checkArguments","type":"object"},"name":"bolted_joint_check","title":"Bolted Joint Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Bearing Life"},"description":"Basic rating life L10 (ISO 281): L10=(C/P)^p rev (p=3 ball, 10/3 roller),\nL10h=L10*1e6/(60n). Supply the dynamic rating C as dynamic_load_c_n, or pull it\nfrom the deep-groove ball catalog by designation (e.g. \"6205\" -> C=14.0 kN, also\nreporting bore/OD/width, C0 and static safety factor). Returns {l10_million_rev,\nl10_hours, load_ratio, dynamic_load_c_n, exponent, pass, ...} (pass vs\ntarget_hours when given).","inputSchema":{"properties":{"designation":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Designation"},"dynamic_load_c_n":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Dynamic Load C N"},"equivalent_load_p_n":{"title":"Equivalent Load P N","type":"number"},"kind":{"default":"ball","title":"Kind","type":"string"},"speed_rpm":{"title":"Speed Rpm","type":"number"},"target_hours":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Target Hours"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["equivalent_load_p_n","speed_rpm"],"title":"bearing_lifeArguments","type":"object"},"name":"bearing_life","title":"Bearing Life"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Spring Check"},"description":"Rate a helical compression spring (Wahl). rate k=G d^4/(8 D^3 Na); corrected\nshear tau=Kw 8FD/(pi d^3). Pass force_n OR deflection_mm. Returns\n{spring_index, wahl_factor, rate_n_mm, force_n, deflection_mm, shear_stress_mpa,\nslenderness, buckling_flag, allowable_shear_mpa, shear_sf, pass}.\n\nG and the allowable come from `material` unless overridden. `shear_modulus_mpa`\nsets G directly; `allowable_shear_mpa` replaces the 0.45·UTS estimate, which\nfalls back to 700 MPa (spring steel) for a material carrying no UTS — pass it\nexplicitly for anything else, since shear_sf and `pass` scale with it.","inputSchema":{"properties":{"active_coils":{"title":"Active Coils","type":"number"},"allowable_shear_mpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Allowable Shear Mpa"},"coil_mean_dia_mm":{"title":"Coil Mean Dia Mm","type":"number"},"deflection_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Deflection Mm"},"force_n":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Force N"},"free_length_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Free Length Mm"},"material":{"default":"Steel-1045","title":"Material","type":"string"},"shear_modulus_mpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Shear Modulus Mpa"},"wire_dia_mm":{"title":"Wire Dia Mm","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["wire_dia_mm","coil_mean_dia_mm","active_coils"],"title":"spring_checkArguments","type":"object"},"name":"spring_check","title":"Spring Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Gear Rating"},"description":"Rate spur-gear tooth bending (Lewis): sigma=Ft/(b*m*Y). Pass\ntangential_force_n, or power_w + pinion_speed_rpm. Returns {tangential_force_n,\npitch_dia_mm, pitch_line_velocity_m_s, lewis_form_factor, bending_stress_mpa,\nallowable_bending_mpa, bending_sf, pass}. First-order screen, not full AGMA.\nThe allowable defaults to the material's fatigue endurance (else 0.3·UTS);\n`allowable_bending_mpa` overrides it with an AGMA/spec number.","inputSchema":{"properties":{"allowable_bending_mpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Allowable Bending Mpa"},"face_width_mm":{"title":"Face Width Mm","type":"number"},"lewis_form_factor":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Lewis Form Factor"},"material":{"default":"Steel-4140-QT","title":"Material","type":"string"},"module_mm":{"title":"Module Mm","type":"number"},"pinion_speed_rpm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Pinion Speed Rpm"},"power_w":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Power W"},"tangential_force_n":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Tangential Force N"},"teeth":{"title":"Teeth","type":"integer"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["module_mm","teeth","face_width_mm"],"title":"gear_ratingArguments","type":"object"},"name":"gear_rating","title":"Gear Rating"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Belt Drive"},"description":"Rate a belt drive (Eytelwein/capstan). Wrap theta=pi-2asin((D-d)/2C),\nFe=P/V, T1/T2=e^(mu*theta) (V-belt divides mu by sin(beta/2)). Returns\n{wrap_angle_deg, belt_speed_m_s, effective_force_n, tension_ratio, tight_side_n,\nslack_side_n, transmissible_power_w, pass}.","inputSchema":{"properties":{"center_distance_mm":{"title":"Center Distance Mm","type":"number"},"friction_coef":{"default":0.3,"title":"Friction Coef","type":"number"},"large_pulley_dia_mm":{"title":"Large Pulley Dia Mm","type":"number"},"power_w":{"title":"Power W","type":"number"},"small_pulley_dia_mm":{"title":"Small Pulley Dia Mm","type":"number"},"small_pulley_rpm":{"title":"Small Pulley Rpm","type":"number"},"tight_side_limit_n":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Tight Side Limit N"},"vbelt_groove_deg":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Vbelt Groove Deg"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["power_w","small_pulley_dia_mm","large_pulley_dia_mm","center_distance_mm","small_pulley_rpm"],"title":"belt_driveArguments","type":"object"},"name":"belt_drive","title":"Belt Drive"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Press Fit Stress"},"description":"Rate an interference (press/shrink) fit via Lamé. p=delta_r E (ro^2-rc^2)/\n(2 rc ro^2); hub bore hoop=p(ro^2+rc^2)/(ro^2-rc^2); torque=2pi mu p rc^2 L.\ninterference_mm is diametral.\n\nE comes from `material`'s Materials-DB card; `youngs_modulus_mpa` overrides it.\nEvery output is LINEAR in E, so a material the corpus has no modulus for is an\nERROR, not an assumption (#269) — the message names both exits.\n\n`pass` is THREE-state: the hub yield check needs the card's yield_mpa, and a\ncard without one (Fused-Silica, Gold, Concrete, ...) leaves the check\nunperformed. That returns pass=null with the reason in `warnings` — an\nunperformed check is not a passed one. Test `pass is True`, not truthiness.\n\nReturns {contact_pressure_mpa, hub_hoop_stress_mpa, torque_capacity_nm,\naxial_force_n, hub_yield_sf, youngs_modulus_mpa, youngs_basis, hub_yield_basis,\npass, warnings}.","inputSchema":{"properties":{"engagement_length_mm":{"title":"Engagement Length Mm","type":"number"},"friction_coef":{"default":0.15,"title":"Friction Coef","type":"number"},"hub_outer_dia_mm":{"title":"Hub Outer Dia Mm","type":"number"},"interference_mm":{"title":"Interference Mm","type":"number"},"material":{"default":"Steel-A36","title":"Material","type":"string"},"shaft_dia_mm":{"title":"Shaft Dia Mm","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"youngs_modulus_mpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Youngs Modulus Mpa"}},"required":["shaft_dia_mm","hub_outer_dia_mm","interference_mm","engagement_length_mm"],"title":"press_fit_stressArguments","type":"object"},"name":"press_fit_stress","title":"Press Fit Stress"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Seal Check"},"description":"Rate an O-ring gland (pairs with oring_groove): squeeze=W-depth, fill=\n(pi/4 W^2)/(width*depth). Squeeze must sit in the application band (static\n15-30%, dynamic 10-20%), fill below max_gland_fill_pct. Returns {squeeze_mm,\nsqueeze_pct, gland_fill_pct, squeeze_range_pct, within_squeeze, within_fill,\npass}.","inputSchema":{"properties":{"application":{"default":"static_radial","title":"Application","type":"string"},"cross_section_dia_mm":{"title":"Cross Section Dia Mm","type":"number"},"groove_depth_mm":{"title":"Groove Depth Mm","type":"number"},"groove_width_mm":{"title":"Groove Width Mm","type":"number"},"max_gland_fill_pct":{"default":90.0,"title":"Max Gland Fill Pct","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["cross_section_dia_mm","groove_depth_mm","groove_width_mm"],"title":"seal_checkArguments","type":"object"},"name":"seal_check","title":"Seal Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Chain Drive"},"description":"Rate an ANSI roller-chain drive (ASME B29.1). Rated at the lower of the\nlink-plate-fatigue (HP1=0.004*N1^1.08*n1^0.9*P^(3-0.07P), low speed) and\nroller-impact (HP2=1000*Kr*N1^1.5*P^0.8/n1^1.5, high speed) envelopes, P in\ninches. Give chain_pitch_mm (matching add_sprocket) OR a chain_number\n(\"40\",\"60\",...) for pitch+Kr; strands scale by the B29.1 factor. Powers in W.\nReturns {rated_power_w, type1_power_w, type2_power_w, governing, strands,\nstrand_factor, ..., power_sf?, pass}. `k_r` overrides the roller-impact\nconstant the chain_number lookup supplies (29 for the 25-240 series, 17 for\nthe lightweight #41) — needed for a chain outside the ANSI table.","inputSchema":{"properties":{"chain_number":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Chain Number"},"chain_pitch_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Chain Pitch Mm"},"k_r":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"K R"},"power_w":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Power W"},"speed_rpm":{"title":"Speed Rpm","type":"number"},"strands":{"default":1,"title":"Strands","type":"integer"},"teeth_small":{"title":"Teeth Small","type":"integer"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["teeth_small","speed_rpm"],"title":"chain_driveArguments","type":"object"},"name":"chain_drive","title":"Chain Drive"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Weld Group"},"description":"Rate a planar fillet-weld group by Blodgett's treat-weld-as-a-line method.\nsegments=[((x1,y1),(x2,y2)),...] (mm); an in-plane force_n=[Fx,Fy] at\nload_point_mm=[px,py] gives direct shear f=F/L plus torsional f=T*r/J from the\neccentric moment about the weld centroid, added vectorially at the worst end.\nrequired_leg = f_r/(0.707*allowable); given leg_mm, throat stress f_r/(0.707*leg)\nis checked vs allowable. Returns {weld_length_mm, centroid_mm, Ix_mm3, Iy_mm3,\nJ_mm3, direct_shear_n_per_mm, max_shear_n_per_mm, worst_point_mm,\nrequired_leg_mm, throat_stress_mpa?, shear_sf?, pass}. `weld_type` ('fillet'\ndefault) labels the group and selects the throat convention.","inputSchema":{"properties":{"allowable_shear_mpa":{"default":96.0,"title":"Allowable Shear Mpa","type":"number"},"force_n":{"items":{},"title":"Force N","type":"array"},"leg_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Leg Mm"},"load_point_mm":{"items":{},"title":"Load Point Mm","type":"array"},"segments":{"items":{},"title":"Segments","type":"array"},"weld_type":{"default":"fillet","title":"Weld Type","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["segments","force_n","load_point_mm"],"title":"weld_groupArguments","type":"object"},"name":"weld_group","title":"Weld Group"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Tolerance Stackup"},"description":"Stack a dimension chain. Each chain entry is {name, nominal, plus, minus}\nwith plus/minus the signed upper/lower deviations (plus>=minus; symmetric\nshorthand {nominal, tol}); add direction:-1 for a subtractive/gap link.\nmethod: worstcase | rss | montecarlo (each adds a deeper block). Half-bands\nare read as 3-sigma; cpk/pct_in_spec use spec_min/spec_max if given, else the\nworst-case bounds. Returns {nominal, worstcase:{min,max,spread},\nrss:{sigma,min_3s,max_3s}, montecarlo:{mean,std,cpk,pct_in_spec,spec}}.\n\nInstead of a hand-built chain, pass a live `handle` (+ `axis`, '+z'/'-x'/… or\n[x,y,z]) and the chain is derived off the solid: planar step faces\nperpendicular to the axis become consecutive station-to-station links (the\nstack a height gauge reads off a stepped part). Per-link tolerance:\n`default_tol` (± mm), else the ISO 2768-1 `general` class ('f'|'m'|'c'|'v',\ndefault 'm' — the drawing-note default for untoleranced dimensions). The\nresult then echoes the derived chain (+ axis, n_step_faces).\n\n`seed` fixes the montecarlo draw (12345 default) so the same chain returns the\nsame cpk/pct_in_spec run to run — that determinism is a contract, so change it\nonly to check a result is not an artefact of one draw.","inputSchema":{"properties":{"axis":{"default":"+z","title":"Axis","type":"string"},"chain":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Chain"},"default_tol":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Default Tol"},"general":{"default":"m","title":"General","type":"string"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Handle"},"method":{"default":"worstcase","title":"Method","type":"string"},"samples":{"default":10000,"title":"Samples","type":"integer"},"seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":12345,"title":"Seed"},"spec_max":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Spec Max"},"spec_min":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Spec Min"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"tolerance_stackupArguments","type":"object"},"name":"tolerance_stackup","title":"Tolerance Stackup"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Fit Check"},"description":"Classify a hole/shaft pair. hole and shaft are {nominal, plus, minus}\n(signed deviations) or {nominal, tol}. Returns {fit_class:'clearance'|\n'transition'|'interference', min_clearance, max_clearance, nominal_clearance,\nprob_interference} (prob from a normal model with half-band = 3-sigma).","inputSchema":{"properties":{"hole":{"additionalProperties":true,"title":"Hole","type":"object"},"shaft":{"additionalProperties":true,"title":"Shaft","type":"object"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["hole","shaft"],"title":"fit_checkArguments","type":"object"},"name":"fit_check","title":"Fit Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Fit Class"},"description":"ISO 286 limits for a fit code (e.g. 'H7/g6'), in mm. v1 covers a hole-basis\nH with shaft clearance letters (h, g, f, e). Returns {basic_size, fit,\nhole:{upper_dev,lower_dev,min,max}, shaft:{...}, fit_class, min_clearance,\nmax_clearance, prob_interference}. Errors on an out-of-table size (>500 mm) or\nan unsupported code (non-H hole or interference shaft letter).","inputSchema":{"properties":{"basic_size":{"title":"Basic Size","type":"number"},"fit":{"default":"H7/g6","title":"Fit","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["basic_size"],"title":"fit_classArguments","type":"object"},"name":"fit_class","title":"Fit Class"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"GD&T Check"},"description":"Check a measured feature against a GD&T tolerance zone. control: position |\nflatness | straightness | circularity | cylindricity | perpendicularity |\nparallelism | angularity | concentricity | runout | total_runout |\nprofile_line | profile_surface. actual is the measured deviation; for position\npass offset={x,y} to use the diametral 2*hypot(x,y). mmc_bonus adds bonus\ntolerance. Returns {control, zone, effective_zone, actual, margin, pass,\ndatum_refs}.","inputSchema":{"properties":{"actual":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Actual"},"control":{"title":"Control","type":"string"},"datum_refs":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Datum Refs"},"mmc_bonus":{"default":0.0,"title":"Mmc Bonus","type":"number"},"offset":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Offset"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"zone":{"title":"Zone","type":"number"}},"required":["control","zone"],"title":"gdt_checkArguments","type":"object"},"name":"gdt_check","title":"GD&T Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Fatigue Check"},"description":"Rate fatigue life (S-N Basquin + Goodman mean-stress correction). σ_a =\nstress_range/2; infinite-life SF = 1/(σ_a/σ_e + σ_m/σ_uts); finite life from\nan equivalent fully-reversed amplitude on a log-log S-N line. σ_e/σ_uts come\nfrom the material (or overrides). pass = survives `cycles` (σ_ar ≤ σ_e ⇒\ninfinite life); a tensile mean ≥ σ_uts fails outright. Returns\n{stress_amplitude_mpa, mean_stress_mpa, endurance_mpa, uts_mpa,\nequiv_reversed_mpa, safety_factor, life_cycles, required_cycles, pass,\ngoverning_mode, endurance_basis}.\n\nThe S-N line runs from (1e3, `s1000_fraction`·UTS) to (`endurance_cycles`, σ_e).\nBoth default to the steel convention (0.9 and 1e6); aluminium and other\nnon-ferrous alloys have no true endurance knee, so set `endurance_cycles` to the\nlife the quoted σ_e was measured at (commonly 5e8).","inputSchema":{"properties":{"cycles":{"default":1000000.0,"title":"Cycles","type":"number"},"endurance_cycles":{"default":1000000.0,"title":"Endurance Cycles","type":"number"},"endurance_mpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Endurance Mpa"},"material":{"default":"Steel-1045","title":"Material","type":"string"},"mean_stress_mpa":{"default":0.0,"title":"Mean Stress Mpa","type":"number"},"s1000_fraction":{"default":0.9,"title":"S1000 Fraction","type":"number"},"stress_range_mpa":{"title":"Stress Range Mpa","type":"number"},"uts_mpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Uts Mpa"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["stress_range_mpa"],"title":"fatigue_checkArguments","type":"object"},"name":"fatigue_check","title":"Fatigue Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Fracture Check"},"description":"Rate brittle fracture (LEFM): K = Y·σ·√(π·a) vs K_IC. a is crack length in\nmm; Y (geometry_factor) defaults 1.12 (edge crack), 1.0 for a centre crack.\nK_IC from the material (or override). Critical crack a_c = (K_IC/(Y·σ))²/π.\nReturns {k_applied_mpa_sqrt_m, k_ic_mpa_sqrt_m, geometry_factor, safety_factor,\nmargin, critical_crack_mm, pass}; a crack past a_c gives SF<1 and margin<0.","inputSchema":{"properties":{"crack_len_mm":{"title":"Crack Len Mm","type":"number"},"fracture_toughness_mpa_sqrt_m":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Fracture Toughness Mpa Sqrt M"},"geometry_factor":{"default":1.12,"title":"Geometry Factor","type":"number"},"material":{"default":"Steel-1045","title":"Material","type":"string"},"stress_mpa":{"title":"Stress Mpa","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["stress_mpa","crack_len_mm"],"title":"fracture_checkArguments","type":"object"},"name":"fracture_check","title":"Fracture Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Wear Estimate"},"description":"Estimate sliding wear (Archard): V = k·F·s/H. k (wear_coef) is empirical —\npass it, or it's looked up by the material_pair's category pair (order-of-\nmagnitude). H (hardness_mpa) defaults to Tabor 3·σ_y of the softer member.\nWith apparent_area_mm2 a mean depth is reported and gated by max_depth_mm.\nReturns {wear_coef, hardness_mpa, volume_loss_mm3, depth_loss_mm, coef_basis,\nhardness_basis, pass}.","inputSchema":{"properties":{"apparent_area_mm2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Apparent Area Mm2"},"hardness_mpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Hardness Mpa"},"load_n":{"title":"Load N","type":"number"},"material_pair":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Material Pair"},"max_depth_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Max Depth Mm"},"sliding_dist_m":{"title":"Sliding Dist M","type":"number"},"wear_coef":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Wear Coef"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["load_n","sliding_dist_m"],"title":"wear_estimateArguments","type":"object"},"name":"wear_estimate","title":"Wear Estimate"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Creep Risk Flag"},"description":"Screen for creep risk: compare operating temperature to the material's max\nservice temperature (Materials DB, or an override). A screen, not a\nLarson-Miller life model. pass = below the service limit. Returns\n{operating_temp_c, service_temp_c, margin_c, stress_mpa, creep_risk, pass,\nreason}.","inputSchema":{"properties":{"material":{"default":"Steel-1045","title":"Material","type":"string"},"max_service_temp_c":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Max Service Temp C"},"stress_mpa":{"title":"Stress Mpa","type":"number"},"temp_c":{"title":"Temp C","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["stress_mpa","temp_c"],"title":"creep_flagArguments","type":"object"},"name":"creep_flag","title":"Creep Risk Flag"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Heat Transfer Coefficient Estimate"},"description":"Screening convection coefficient h (NO solver) — the honest h_conv to feed\nthermal_lumped / thermal_transient_1d / a convection BC, instead of a guess.\n`geometry` picks the correlation: natural (velocity_m_s = 0)\n'vertical_plate' | 'horizontal_cylinder' (Churchill–Chu); forced (velocity_m_s > 0)\n'flat_plate' (averaged laminar/mixed Nu) | 'cylinder_crossflow' (Hilpert).\n`characteristic_mm` is the plate height/length or cylinder diameter. Film-temp\nair properties built in; another `fluid` needs explicit k_w_mk + nu_m2_s + pr\n(+ beta_per_k for natural). emissivity > 0 adds the linearized radiation screen\ninto h_total_w_m2k.\n\nThis is a focusing estimate, not a gate: fidelity='correlation' with band_pct\nthe literature scatter (±15–20 %). Escalate to the conjugate solve\n`cht_channel_submit` (or a meshed convection BC via thermal_transient_submit)\nwhen the thermal margin is within ~2× band_pct. Returns {geometry, mode,\ncorrelation, h_conv_w_m2k, h_rad_w_m2k, h_total_w_m2k, nusselt, reynolds,\nrayleigh, prandtl, film_temp_c, fidelity, band_pct, valid_range_ok, warnings,\nescalate_to}.","inputSchema":{"properties":{"beta_per_k":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Beta Per K"},"characteristic_mm":{"title":"Characteristic Mm","type":"number"},"emissivity":{"default":0.0,"title":"Emissivity","type":"number"},"fluid":{"default":"air","title":"Fluid","type":"string"},"geometry":{"title":"Geometry","type":"string"},"k_w_mk":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"K W Mk"},"nu_m2_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Nu M2 S"},"pr":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Pr"},"t_ambient_c":{"default":25.0,"title":"T Ambient C","type":"number"},"t_surface_c":{"title":"T Surface C","type":"number"},"velocity_m_s":{"default":0.0,"title":"Velocity M S","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["geometry","characteristic_mm","t_surface_c"],"title":"h_estimateArguments","type":"object"},"name":"h_estimate","title":"Heat Transfer Coefficient Estimate"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Acoustic Screen"},"description":"Closed-form acoustics screen (NO solver). `kind`: 'cavity_modes' (lx/ly/lz_mm\n-> the lowest n_modes rigid-cavity eigenfrequencies f=(c/2)·√(Σ(n/L)²) with\n[nx,ny,nz] indices — exact, and the future oracle for the planned Elmer\nHelmholtzSolve FEM) | 'helmholtz' (neck_area_mm2 + neck_length_mm +\ncavity_volume_mm3 -> resonance with flanged end correction — ±10 %) |\n'mass_law' (frequency_hz + surface_density_kg_m2 -> limp-wall TL =\n20·log₁₀(f·m″)−47 dB — ±3 dB) | 'duct_cutoff' (duct_width_mm or\nduct_diameter_mm -> first cross-mode; plane waves only below — exact). Sound\nspeed from air at t_ambient_c unless c_m_s given. Fidelity is labeled per kind;\nescalate to the Elmer `acoustic_fem_submit` solve (Tier B1) when the margin is\nwithin ~2× the band.\n\nReturns {kind, c_m_s, fidelity, band_pct, band_db, valid_range_ok, warnings,\nescalate_to} plus per kind: {modes:[{f_hz,n}], f_fundamental_hz} |\n{f_resonance_hz, neck_radius_mm, l_eff_mm} | {tl_db, fm_product} |\n{f_cutoff_hz, geometry}.","inputSchema":{"properties":{"c_m_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"C M S"},"cavity_volume_mm3":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Cavity Volume Mm3"},"duct_diameter_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Duct Diameter Mm"},"duct_width_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Duct Width Mm"},"frequency_hz":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Frequency Hz"},"kind":{"title":"Kind","type":"string"},"lx_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Lx Mm"},"ly_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Ly Mm"},"lz_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Lz Mm"},"n_modes":{"default":10,"title":"N Modes","type":"integer"},"neck_area_mm2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Neck Area Mm2"},"neck_length_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Neck Length Mm"},"surface_density_kg_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Surface Density Kg M2"},"t_ambient_c":{"default":20.0,"title":"T Ambient C","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["kind"],"title":"acoustic_screenArguments","type":"object"},"name":"acoustic_screen","title":"Acoustic Screen"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Plate Check"},"description":"Handbook bending of a uniformly loaded flat plate (NO solver) — the\n\"do I need FEM at all?\" screen. `shape`: 'rectangular' (a_mm × b_mm, short side\ndrives; Roark/Timoshenko ν=0.3 coefficients σ=β·q·b²/t², δ=α·q·b⁴/(E·t³),\ninterpolated in a/b) | 'circular' (diameter_mm; exact closed forms).\n`support`: 'simply_supported' | 'clamped' (all edges). E from youngs_gpa or a\nMaterials-DB `material` (which also supplies yield for yield_safety_factor).\nExact within thin-plate theory, and the limits are returned as flags\n(thin_plate_ok: span/t ≥ 10; small_deflection_ok: δ ≤ t/2) — a tripped flag\nmeans escalate to the CCX fem_* pipeline (escalate_to='fem_run').\n\nReturns {shape, support, aspect_ratio, beta, alpha, sigma_max_mpa,\ndeflection_max_mm, yield_safety_factor, thin_plate_ok, small_deflection_ok,\nfidelity, band_pct, valid_range_ok, warnings, escalate_to}.","inputSchema":{"properties":{"a_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"A Mm"},"b_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"B Mm"},"diameter_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Diameter Mm"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"poisson":{"default":0.3,"title":"Poisson","type":"number"},"pressure_kpa":{"title":"Pressure Kpa","type":"number"},"shape":{"title":"Shape","type":"string"},"support":{"default":"simply_supported","title":"Support","type":"string"},"thickness_mm":{"title":"Thickness Mm","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"youngs_gpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Youngs Gpa"}},"required":["shape","thickness_mm","pressure_kpa"],"title":"plate_checkArguments","type":"object"},"name":"plate_check","title":"Plate Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Beam Buckling"},"description":"Exact column-buckling screen (Euler + Johnson, NO solver) — the closed-form\ntwin the CalculiX `fem_buckling` eigen-solve is gated against (as `beam_modal`\nis to `fem_modal`). Section: width_mm+height_mm (solid rectangle, weak axis\nautomatic), diameter_mm (round), or explicit area_mm2+i_min_mm4. E/σ_y from\nyoungs_gpa/yield_mpa or a Materials-DB `material`. `end_condition`:\n'pinned_pinned' | 'fixed_free' | 'fixed_pinned' | 'fixed_fixed' (theoretical K).\nEuler σ_cr=π²E/λ² above the transition slenderness √(2π²E/σ_y), Johnson\nparabola below (both exactly σ_y/2 at it). With load_n the safety factor\nP_cr/P is returned. Escalate to `fem_buckling` for non-prismatic /\neccentric / built-up cases.\n\nReturns {end_condition, k_factor, slenderness, transition_slenderness,\ngoverning, sigma_cr_mpa, p_cr_n, area_mm2, i_min_mm4, radius_gyration_mm,\nsafety_factor, fidelity, band_pct, valid_range_ok, warnings, escalate_to}.","inputSchema":{"properties":{"area_mm2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Area Mm2"},"diameter_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Diameter Mm"},"end_condition":{"default":"pinned_pinned","title":"End Condition","type":"string"},"height_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Height Mm"},"i_min_mm4":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"I Min Mm4"},"length_mm":{"title":"Length Mm","type":"number"},"load_n":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Load N"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"width_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Width Mm"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"yield_mpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Yield Mpa"},"youngs_gpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Youngs Gpa"}},"required":["length_mm"],"title":"beam_bucklingArguments","type":"object"},"name":"beam_buckling","title":"Beam Buckling"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Plastic Collapse"},"description":"Exact plastic-hinge collapse of a solid rectangular beam (NO solver) — the\nclosed-form twin the perfectly-plastic CalculiX solve\n(`fem_set_nonlinear_material`) is gated against. The beam bends about the\n`width_mm` axis (depth = `height_mm`). σ_y from `yield_mpa` or a Materials-DB\n`material`. Elastic modulus S = b·h²/6, plastic modulus Z = b·h²/4, shape\nfactor Z/S = 1.5; yield moment M_y = σ_y·S, fully-plastic moment M_p = σ_y·Z.\n`support` maps the collapse moment to a point load: 'cantilever' (M = P·L) or\n'simply_supported' (central, M = P·L/4). With `load_n` the applied moment and\nits margins to M_y / M_p (and the regime: elastic / partially_plastic /\ncollapsed) are returned. A perfectly-plastic FEM solve caps the surface stress\nat σ_y and loses equilibrium at M_p; linear theory climbs past both — that\ncontrast is the gate. Escalate to `fem_set_nonlinear_material` for\nnon-rectangular sections or partial-plasticity fields.\n\nReturns {support, S_elastic_mm3, Z_plastic_mm3, shape_factor, yield_mpa,\nyield_moment_nmm, plastic_moment_nmm, yield_load_n, collapse_load_n,\napplied_moment_nmm, margin_to_yield, margin_to_collapse, regime, fidelity,\nband_pct, valid_range_ok, warnings, escalate_to}.","inputSchema":{"properties":{"height_mm":{"title":"Height Mm","type":"number"},"length_mm":{"title":"Length Mm","type":"number"},"load_n":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Load N"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"support":{"default":"cantilever","title":"Support","type":"string"},"width_mm":{"title":"Width Mm","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"yield_mpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Yield Mpa"}},"required":["length_mm","width_mm","height_mm"],"title":"plastic_collapseArguments","type":"object"},"name":"plastic_collapse","title":"Plastic Collapse"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Elastica Deflection"},"description":"Exact large-deflection cantilever tip — Bisshopp–Drucker elastica (NO\nsolver) — the closed-form twin the *NLGEOM CalculiX solve is gated against.\nSection: width_mm+height_mm (solid rectangle, I = b·h³/12, load transverse to\nheight_mm) or explicit i_mm4. E from youngs_gpa or a Materials-DB `material`.\nLoad parameter α = P·L²/(E·I); the tip slope solves the elliptic-integral\nelastica. Linear theory δ/L = α/3 over-predicts the transverse tip and ignores\nthe axial draw-in — the elastica captures both, and `nonlinear_over_linear` is\nthe divergence the solve must reproduce. Valid for tip slope < ~80° (α ≲ 3.5);\nbeyond that escalate to a follower-load `fem_set_nonlinear_material` solve.\n\nReturns {alpha, tip_slope_deg, tip_disp_mm (transverse), tip_x_mm (axial\nprojection), axial_drawin_mm, linear_tip_mm, nonlinear_over_linear, youngs_mpa,\nI_mm4, fidelity, band_pct, valid_range_ok, warnings, escalate_to}.","inputSchema":{"properties":{"height_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Height Mm"},"i_mm4":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"I Mm4"},"length_mm":{"title":"Length Mm","type":"number"},"load_n":{"title":"Load N","type":"number"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"width_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Width Mm"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"youngs_gpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Youngs Gpa"}},"required":["load_n","length_mm"],"title":"elastica_deflectionArguments","type":"object"},"name":"elastica_deflection","title":"Elastica Deflection"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Hertz Contact"},"description":"Exact Hertzian point-contact peak pressure (NO solver) — the screening twin\nof a frictional *CONTACT PAIR solve. Sphere of `radius_mm` on a flat (default)\nor on a second sphere `radius2_mm` (negative for a conforming socket). Each\nbody's elastics from youngs#_gpa+poisson# or a Materials-DB `material#`; body 2\ndefaults to body 1. Reduced modulus 1/E* = (1−ν₁²)/E₁ + (1−ν₂²)/E₂, effective\nradius 1/R = 1/R₁ + 1/R₂; contact radius a = (3FR/4E*)^(1/3), peak pressure\np₀ = 3F/(2πa²) = 1.5× mean, approach δ = a²/R. Half-space theory: valid while\na ≪ R and p₀ below first sub-surface yield (~1.6·σ_y) — past that escalate to\nthe nonlinear `fem_set_nonlinear_material` contact path.\n\nReturns {e_star_mpa, effective_radius_mm, contact_radius_mm, peak_pressure_mpa,\nmean_pressure_mpa, approach_mm, a_over_R, fidelity, band_pct, valid_range_ok,\nwarnings, escalate_to}.","inputSchema":{"properties":{"load_n":{"title":"Load N","type":"number"},"material1":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material1"},"material2":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material2"},"poisson1":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Poisson1"},"poisson2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Poisson2"},"radius2_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Radius2 Mm"},"radius_mm":{"title":"Radius Mm","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"youngs1_gpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Youngs1 Gpa"},"youngs2_gpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Youngs2 Gpa"}},"required":["load_n","radius_mm"],"title":"hertz_contactArguments","type":"object"},"name":"hertz_contact","title":"Hertz Contact"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Laminate Properties"},"description":"Effective stiffness, thermal warp, and first-ply failure of a bonded\nmulti-layer composite stack (NO solver) — the closed-form screening twin a\nlayered multi-material CalculiX `fem_run` static solve is gated against (e.g.\n1 metal layer + 1 plastic layer, or any `[(material, thickness), …]`).\n\n`layers` is the stack bottom→top; each entry is a mapping with a `thickness`\n(mm) and either a corpus `material` name or explicit `E`/`youngs_mpa`/\n`youngs_gpa` (+ optional `nu`/`poisson`, `yield_mpa`, `cte`/`cte_per_k`,\n`density_kg_m3`, `thermal_conductivity_w_mk`); explicit values override the\ncard. `width_mm` scales EI / first-ply. Optional `delta_T` (K) gives the\nbimetal thermal curvature; `force_n` (in-plane, total across width) and/or\n`moment_nmm` (about the neutral axis) give the first-ply margin.\n\nComputes the in-plane modulus (Voigt rule-of-mixtures parallel, Reuss series\nthrough-thickness); the transformed-section neutral axis, EI_eff, and flexural\nmodulus E_flex = 12·EI/(b·h³); the CLT A/B/D matrices per unit width (B ≠ 0 ⇒\nbending–extension coupling / warp warning); mass-averaged ρ, stiffness-weighted\nin-plane CTE, series/parallel thermal conductivity; the transformed-section\nbimetal curvature (= Timoshenko's two-layer formula exactly, also reported);\nand per-layer extreme-fibre stress → margin to yield → governing layer + load\nto first yield. A single-material stack reduces to that material's E / EI; a\nsymmetric stack gives B = 0; ΔT = 0 or zero CTE-mismatch gives zero curl.\nEscalate to a layered `fem_run` solve for thick stacks, anticlastic curvature,\nfree-edge interlaminar stress, or non-isotropic plies.\n\nReturns {n_layers, width_mm, total_thickness_mm, layers, E_inplane_mpa,\nE_through_mpa, neutral_axis_mm, EI_eff_nmm2, E_flex_mpa, A_matrix, B_matrix,\nD_matrix, coupling_ratio, asymmetric, rho_eff_kg_m3, cte_eff_per_k,\nk_through_w_mk, k_inplane_w_mk, delta_T, thermal_curvature_per_mm,\nradius_of_curvature_mm, timoshenko_curvature_per_mm, applied_force_n,\napplied_moment_nmm, kappa_applied_per_mm, axial_strain, layer_stresses,\nfirst_ply, fidelity, band_pct, valid_range_ok, warnings, escalate_to}.","inputSchema":{"properties":{"delta_T":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Delta T"},"force_n":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Force N"},"layers":{"items":{},"title":"Layers","type":"array"},"moment_nmm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Moment Nmm"},"width_mm":{"default":1.0,"title":"Width Mm","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["layers"],"title":"laminate_propertiesArguments","type":"object"},"name":"laminate_properties","title":"Laminate Properties"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Monopole Sphere"},"description":"Exact pulsating (monopole) sphere radiated power + far-field pressure (NO\nsolver) — the closed-form twin the Bempp exterior-acoustics BEM radiation solve\n(`acoustic_radiation_submit`) is gated against. A sphere of radius `a_m`\nvibrating with uniform surface normal velocity `u_amp` at `freq_hz` radiates\nW = (ρc/2)|U|²(4πa²)(ka)²/(1+(ka)²) and, at range `r_m`, |p(r)| =\nρc|U|·ka/√(1+(ka)²)·(a/r) — both EXACT. The radiation efficiency\nσ=(ka)²/(1+(ka)²) → 0 (poor sub-wavelength radiator) as ka→0 and → 1 as ka→∞.\n`rho`/`c` default to air at 20 °C. A BEM Neumann (velocity) solve must reproduce\nW and |p(r)|.\n\nReturns {a_m, freq_hz, k_per_m, ka, u_amp, rho, c, radiation_efficiency,\nradiated_power_w, surface_pressure_abs, r_m, farfield_pressure_abs,\nfarfield_pressure_x_r, fidelity, band_pct, valid_range_ok, warnings,\nescalate_to}.","inputSchema":{"properties":{"a_m":{"title":"A M","type":"number"},"c":{"default":343.0,"title":"C","type":"number"},"freq_hz":{"title":"Freq Hz","type":"number"},"r_m":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"R M"},"rho":{"default":1.204,"title":"Rho","type":"number"},"u_amp":{"default":1.0,"title":"U Amp","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["a_m","freq_hz"],"title":"monopole_sphereArguments","type":"object"},"name":"monopole_sphere","title":"Monopole Sphere"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Rigid Sphere Scattering"},"description":"Exact rigid-sphere plane-wave scattering far-field form function via the Mie\nseries (NO solver) — the closed-form twin the Bempp exterior-acoustics BEM\nscattering solve (`acoustic_radiation_submit`, problem='scattering') is gated\nagainst. For compactness `ka` and scattering angle `theta_deg` (from the forward\ndirection; 180° is backscatter), f∞(θ) = (2/ika)·Σₙ(2n+1)[−j'ₙ(ka)/h'ₙ(ka)]·\nPₙ(cosθ) — a rigorous spherical-harmonic sum (Neumann ∂p/∂r=0 on the sphere)\ntruncated past convergence (fidelity='exact'). The backscatter |f∞(π)| → 1 in\nthe geometric (ka≫1) limit and rises through the resonance region. A BEM\nscattered far field must land on |f∞(θ)|.\n\nReturns {ka, theta_deg, a_m, form_function_abs, form_function_re,\nform_function_im, backscatter_abs, n_terms, fidelity, band_pct, valid_range_ok,\nwarnings, escalate_to}.","inputSchema":{"properties":{"a_m":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"A M"},"ka":{"title":"Ka","type":"number"},"theta_deg":{"default":180.0,"title":"Theta Deg","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["ka"],"title":"rigid_sphere_scatteringArguments","type":"object"},"name":"rigid_sphere_scattering","title":"Rigid Sphere Scattering"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Acoustic Radiation Submit"},"description":"Exterior-acoustics boundary-element solve on Bempp, asynchronous (OFF the MCP\nchannel) — the real-field twin of the analytic `monopole_sphere` /\n`rigid_sphere_scattering` oracles. Bempp is MIT but needs meshio>=4 (clashing\nwith solidspy's meshio==3 in the shared venv), so it is run ONLY out-of-process\nvia ankusdrive/bempp_runner.py under a dedicated .venv-bempp; degrades to\n{ok:false, reason, install} when no bempp venv resolves.\n\n`problem`='radiation' (default): a pulsating (monopole) sphere of radius `a_m`,\nuniform surface velocity `u_amp` at `freq_hz`, into air (`rho`,`c`), mesh size\n`h` (fraction of a). The result's `radiated_power_w` / `farfield_pressure_x_r`\nvs the monopole_sphere oracle (ratio≈1) IS the gate. `problem`='scattering': a\nrigid sphere insonified by a unit plane wave; sweep `ka_list`, report the\nfar-field form function at `theta_deg` angles (`h_per_wl` elements/wavelength) —\ngated against the rigid_sphere_scattering Mie oracle. `problem`='mesh_solve': a\nradiation solve on a REAL FreeCAD `model` (handle), tessellated to a surface\nmesh here and fed to the BEM engine (`scale_to_m` mm→m, `linear_deflection`\nmesh tolerance).\n\nReturns the degradation dict, or {job_id, status, cache_hit}; poll job_result\nfor {ok, ka, radiated_power_w, farfield_pressure_x_r, surface_pressure_abs_mean,\nn_elements, wall_s} (radiation/mesh_solve) or {results:[{ka, form_function_abs{},\nbackscatter_abs, n_elements}]} (scattering).","inputSchema":{"properties":{"a_m":{"default":0.1,"title":"A M","type":"number"},"c":{"default":343.0,"title":"C","type":"number"},"freq_hz":{"default":2000.0,"title":"Freq Hz","type":"number"},"h":{"default":0.25,"title":"H","type":"number"},"h_per_wl":{"default":10.0,"title":"H Per Wl","type":"number"},"ka_list":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"default":null,"title":"Ka List"},"linear_deflection":{"default":0.0,"title":"Linear Deflection","type":"number"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Model"},"problem":{"default":"radiation","title":"Problem","type":"string"},"r_m":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"R M"},"rho":{"default":1.204,"title":"Rho","type":"number"},"scale_to_m":{"default":0.001,"title":"Scale To M","type":"number"},"theta_deg":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"default":null,"title":"Theta Deg"},"timeout":{"default":900,"title":"Timeout","type":"integer"},"u_amp":{"default":1.0,"title":"U Amp","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"acoustic_radiation_submitArguments","type":"object"},"name":"acoustic_radiation_submit","title":"Acoustic Radiation Submit"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Waveguide Cutoff"},"description":"Exact rectangular-waveguide cutoff frequency (NO solver) — the closed-form\ntwin the openEMS FDTD full-wave solve (`em_fullwave_submit`) is gated against.\nBroad wall `a_mm`, narrow wall `b_mm` (default a/2, WR convention). `mode` is\n'TE<m><n>'/'TM<m><n>'. f_c(m,n) = (c/2√εᵣ)·√((m/a)²+(n/b)²); dominant TE10\nreduces to the EXACT f_c = c/(2a√εᵣ). Below f_c the guide is evanescent\n(axial β imaginary, nothing transmits), above it propagates with guided\nwavelength λ_g = 2π/β. With a probe `freq_ghz` the regime (propagating /\nevanescent), k, β, λ_g and (below cutoff) the exact attenuation\nα = √(k_c²−k²) are returned — α is what the FDTD solve's field probes are gated\nagainst (`alpha_ratio`).\n\nReturns {mode, m, n, a_mm, b_mm, eps_r, cutoff_hz, cutoff_ghz, kc_per_m,\nnext_mode_cutoff_ghz, single_mode_band_ghz, probe_freq_ghz, regime, k_per_m,\nbeta_per_m, alpha_per_m, guided_wavelength_mm, fidelity, band_pct,\nvalid_range_ok, warnings, escalate_to}.","inputSchema":{"properties":{"a_mm":{"title":"A Mm","type":"number"},"b_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"B Mm"},"eps_r":{"default":1.0,"title":"Eps R","type":"number"},"freq_ghz":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Freq Ghz"},"mode":{"default":"TE10","title":"Mode","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["a_mm"],"title":"waveguide_cutoffArguments","type":"object"},"name":"waveguide_cutoff","title":"Waveguide Cutoff"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Dipole Resonance"},"description":"Thin centre-fed half-wave dipole first resonance (NO solver, banded) — the\nclosed-form twin the openEMS FDTD S11 antenna sweep (`em_fullwave_submit`) is\ngated against. Give EXACTLY ONE of `length_mm` (→ resonant frequency) or\n`freq_ghz` (→ resonant length). End-effect shortening k = `shortening` makes\nthe resonant length a little under λ/2: L = k·λ, f_r = k·c/L (k≈0.48 textbook;\n≈0.475 typical wire). Because k tracks the length/diameter ratio this is a\n±band correlation (fidelity='banded', ~±3% over k∈[0.46,0.49]); an FDTD S11\nsweep must put its first resonance inside [freq_lo, freq_hi] (or [length_lo,\nlength_hi]).\n\nReturns {given, shortening, half_wavelength_mm, resonant_length_mm,\nresonant_freq_ghz, freq_lo_ghz, freq_hi_ghz, length_lo_mm, length_hi_mm,\nfidelity, band_pct, valid_range_ok, warnings, escalate_to}.","inputSchema":{"properties":{"freq_ghz":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Freq Ghz"},"length_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Length Mm"},"shortening":{"default":0.48,"title":"Shortening","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"dipole_resonanceArguments","type":"object"},"name":"dipole_resonance","title":"Dipole Resonance"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"EM Fullwave Submit"},"description":"Full-wave FDTD EM solve on openEMS, asynchronous (OFF the MCP channel) — the\nreal-field twin of the analytic `waveguide_cutoff` / `dipole_resonance`\noracles. openEMS is GPL-3.0 and is run ONLY out-of-process via\nankusdrive/em_fullwave_gpl_runner.py; degrades to {ok:false, reason, install}\nwhen no openEMS venv resolves.\n\n`problem`='waveguide_sweep' (default): hollow rectangular guide, broad wall\n`a_mm`/narrow wall `b_mm` (default a/2), length `length_mm` (default 120), TE10\nport at each end. Sweep `f_start_ghz`..`f_stop_ghz` (default 4..10 GHz —\nstraddling the WR-90 cutoff 6.56 GHz) in `n_freq` points, `nrts` max timesteps,\n`cells_per_wl` mesh density, `eps_r` fill, `end_criteria` energy stop (1e-6).\nTHE GATE IS `alpha_ratio`≈1: voltage probes along the guide read the SOLVED\nfield's decay rate below cutoff at `decay_f_ratio`·f_c (default 0.7) against\nthe exact α = sqrt((π/a)² − k²); it degrades under a coarse mesh or a truncated\n`nrts`. `alpha_ratio` is null with a `decay_note` when the guide is too short\nfor the probe window. `fc_ratio` (half-power crossing vs c/2a) is only a\nPORT-SETUP CHECK: openEMS's analytic port β zeroes every sub-cutoff sample, so\nit reads the frequency grid, not the field. A degenerate mesh/length (port\nblocks overlapping) returns {ok:false, error}.\n`problem`='dipole_s11': centre-fed thin dipole (`length_mm`, `gap_mm`,\n`radius_mm`, each resolved by its own mesh lines), sweep S11, report first\nresonance. Mesh is `mesh_res_mm`, else λ(`mesh_f_ghz`, default f_stop) /\n`cells_per_wl` (default 30) — pin it to vary the sweep window alone.\n\nReturns the degradation dict, or {job_id, status, cache_hit}; poll job_result\nfor {ok, fc_analytic_ghz, freq_ghz[], s21_db[], transmission_norm[],\nalpha_fdtd, alpha_exact, alpha_ratio, decay_freq_ghz, decay_probe_z_mm[],\ndecay_fit_rms_np, fc_crossing_ghz, fc_ratio, evanescent_mean,\npropagating_mean, mesh_res_mm, n_cells, wall_s} (waveguide) or\n{freq_ghz[], s11_db[], resonance_ghz, resonance_s11_db, mesh_res_mm, n_cells}\n(dipole).","inputSchema":{"properties":{"a_mm":{"default":22.86,"title":"A Mm","type":"number"},"b_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"B Mm"},"cells_per_wl":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Cells Per Wl"},"decay_f_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Decay F Ratio"},"end_criteria":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"End Criteria"},"eps_r":{"default":1.0,"title":"Eps R","type":"number"},"f_start_ghz":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"F Start Ghz"},"f_stop_ghz":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"F Stop Ghz"},"gap_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Gap Mm"},"length_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Length Mm"},"mesh_f_ghz":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Mesh F Ghz"},"mesh_res_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Mesh Res Mm"},"n_freq":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"N Freq"},"nrts":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Nrts"},"problem":{"default":"waveguide_sweep","title":"Problem","type":"string"},"radius_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Radius Mm"},"timeout":{"default":600,"title":"Timeout","type":"integer"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"em_fullwave_submitArguments","type":"object"},"name":"em_fullwave_submit","title":"EM Fullwave Submit"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"FSI Plate Deflection"},"description":"Exact small-deflection tip/centre deflection of a uniform-pressure-loaded\nthin plate strip (NO solver) — the closed-form twin the coupled\nOpenFOAM→CalculiX FSI solve (`fsi_pressure_plate_submit`) is gated against. The\nwetted strip is `width_mm`×`length_mm`; the fluid pressure `pressure_pa` (Pa)\nacts normal to it, giving the line load q = pressure·width. Section is the\nsolid rectangle I = width·thickness³/12 unless an explicit `i_mm4` is given. E\nfrom `youngs_gpa` or a Materials-DB `material`. `support`='cantilever' (clamped\none edge): δ_tip = q·L⁴/(8·E·I), root moment q·L²/2, reaction q·L; 'clamped-\nclamped': centre δ = q·L⁴/(384·E·I), reaction q·L/2 each. Valid while δ ≲\nthickness (small-deflection); past that escalate to an NLGEOM follower-pressure\nccx solve.\n\nReturns {support, pressure_pa, line_load_n_per_mm, total_load_n, I_mm4,\ntip_disp_mm, root_moment_nmm, reaction_n, max_stress_mpa, youngs_mpa,\nslenderness, fidelity, band_pct, valid_range_ok, warnings, escalate_to}.","inputSchema":{"properties":{"i_mm4":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"I Mm4"},"length_mm":{"title":"Length Mm","type":"number"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"pressure_pa":{"title":"Pressure Pa","type":"number"},"support":{"default":"cantilever","title":"Support","type":"string"},"thickness_mm":{"title":"Thickness Mm","type":"number"},"width_mm":{"title":"Width Mm","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"youngs_gpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Youngs Gpa"}},"required":["pressure_pa","length_mm","width_mm","thickness_mm"],"title":"fsi_plate_deflectionArguments","type":"object"},"name":"fsi_plate_deflection","title":"FSI Plate Deflection"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"FSI Interface Balance"},"description":"Partitioned wet-interface force balance (NO solver) — the FSI analogue of\nthe optics energy-balance gate. The fluid presses a uniform `pressure_pa` over\nthe `length_mm`×`width_mm` strip, so the total traction is F = pressure·area; a\nconverged partitioned solve must hand the solid exactly this load and the\nsolid's support reactions must carry it (Newton's third law across the coupling\nsurface). Pass the measured `fluid_force_n` (∮p·dA over the OpenFOAM wet patch)\nand/or `solid_reaction_n` (Σ ccx reaction at the clamp); the relative residual\n|F_fluid − R_solid|/F_fluid is the conservation error. With neither supplied it\nreturns the reference analytic load (residual 0) the real solve closes on.\n\nReturns {area_mm2, reference_load_n, fluid_force_n, solid_reaction_n,\nresidual_n, relative_residual, balanced, fidelity, escalate_to}.","inputSchema":{"properties":{"fluid_force_n":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Fluid Force N"},"length_mm":{"title":"Length Mm","type":"number"},"pressure_pa":{"title":"Pressure Pa","type":"number"},"solid_reaction_n":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Solid Reaction N"},"width_mm":{"title":"Width Mm","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["pressure_pa","length_mm","width_mm"],"title":"fsi_interface_balanceArguments","type":"object"},"name":"fsi_interface_balance","title":"FSI Interface Balance"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"FSI Channel Pressure"},"description":"Fully-developed plane-channel pressure drop Δp = 12·μ·U·L/h² (NO solver) —\nthe *fluid* load that physically sources the pressure-loaded-plate FSI anchor.\nFor laminar flow between parallel plates a gap `gap_mm` apart with mean velocity\n`velocity_m_s` over length `length_mm`, the exact plane-Poiseuille wall pressure\ndrop feeds `fsi_plate_deflection`/`fsi_interface_balance` as `pressure_pa`. The\nReynolds number Re = ρ·U·h/μ flags when the laminar (exact) assumption holds\n(Re ≲ 1400). Default fluid is water at 20 °C (μ=1e-3 Pa·s, ρ=1000).\n\nReturns {pressure_pa, pressure_drop_pa, reynolds, regime, velocity_m_s,\nwall_shear_pa, fidelity, valid_range_ok, warnings, escalate_to}.","inputSchema":{"properties":{"gap_mm":{"title":"Gap Mm","type":"number"},"length_mm":{"title":"Length Mm","type":"number"},"mu_pa_s":{"default":0.001,"title":"Mu Pa S","type":"number"},"rho_kg_m3":{"default":1000.0,"title":"Rho Kg M3","type":"number"},"velocity_m_s":{"title":"Velocity M S","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["velocity_m_s","length_mm","gap_mm"],"title":"fsi_channel_pressureArguments","type":"object"},"name":"fsi_channel_pressure","title":"FSI Channel Pressure"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"FSI Pressure Plate Submit"},"description":"Partitioned fluid-structure-interaction solve on the preCICE OpenFOAM↔\nCalculiX stack, asynchronous (OFF the MCP channel) — the real coupled-field\ntwin of the analytic `fsi_plate_deflection` / `fsi_interface_balance` oracles.\nA flexible flap clamped at a channel floor deflects under the flow: OpenFOAM\n(pimpleFoam) writes the wet-interface Force, ccx_preCICE returns the\nDisplacement, and preCICE drives the implicit coupling to convergence each\ntime window. preCICE is LGPL-3.0 and the two heavy solvers run ONLY as\nsubprocesses; degrades to {ok:false, reason, install, stack} when the stack is\nabsent (build via scripts/install-solvers.sh fsi).\n\nPhysics knobs: `inlet_velocity_m_s`, `nu_m2_s`, `rho_kg_m3` (fluid),\n`youngs_pa`/`poisson`/`density_kg_m3` (solid), `end_time_s`/`time_window_s`/\n`max_iterations` (coupling). Geometry/mesh come from the validated vendored\ntemplate (no FreeCAD touch). Returns the degradation dict, or {job_id, status,\ncache_hit}; poll `job_result` for {ok, time_windows, tip_disp_m, tip_history,\ncoupling_converged, case_dir} — the tip displacement is the field the\n`fsi_plate_deflection` oracle gates.","inputSchema":{"properties":{"density_kg_m3":{"default":3000.0,"title":"Density Kg M3","type":"number"},"end_time_s":{"default":5.0,"title":"End Time S","type":"number"},"inlet_velocity_m_s":{"default":10.0,"title":"Inlet Velocity M S","type":"number"},"max_iterations":{"default":50,"title":"Max Iterations","type":"integer"},"nu_m2_s":{"default":1.0,"title":"Nu M2 S","type":"number"},"poisson":{"default":0.3,"title":"Poisson","type":"number"},"rho_kg_m3":{"default":1.0,"title":"Rho Kg M3","type":"number"},"time_window_s":{"default":0.01,"title":"Time Window S","type":"number"},"timeout":{"default":900,"title":"Timeout","type":"integer"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"youngs_pa":{"default":4000000.0,"title":"Youngs Pa","type":"number"}},"title":"fsi_pressure_plate_submitArguments","type":"object"},"name":"fsi_pressure_plate_submit","title":"FSI Pressure Plate Submit"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Molding Screen"},"description":"Injection-molding screen (NO solver): one-term cooling time (exact given α,\nt_cool = s²/(π²α)·ln(8·(T_melt−T_mold)/(π²·(T_eject−T_mold))) — the t ∝ s²\ndesign lever) + the spiral-flow fill check (fill_ok when flow_length ≤\n(L/t-limit)·wall — chart correlation, ±30 %). `material` picks per-polymer\ndefaults (ABS | PP | PC | PA66 | POM | HDPE | PS), each individually\noverridable; with all temps + alpha_mm2_s explicit no material is needed.\nA cooling-only call returns fidelity='exact'; adding flow_length_mm makes the\nheadline answer fidelity='correlation', band_pct=30 (cooling stays exact).\nWhen a flow_length_mm is given the headline check is a chart correlation, so\nescalate_to='molding_fill_submit' (the openInjMoldSim VOF fill solve, #105);\na cooling-only call needs no solver and returns escalate_to=None.\n\nReturns {material, wall_thickness_mm, t_melt_c, t_mold_c, t_eject_c,\nalpha_mm2_s, cooling_time_s, flow_length_mm, flow_ratio, flow_ratio_limit,\nfill_ok, fidelity, band_pct, valid_range_ok, warnings, escalate_to}.","inputSchema":{"properties":{"alpha_mm2_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Alpha Mm2 S"},"flow_length_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Flow Length Mm"},"flow_ratio_limit":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Flow Ratio Limit"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"t_eject_c":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"T Eject C"},"t_melt_c":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"T Melt C"},"t_mold_c":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"T Mold C"},"wall_thickness_mm":{"title":"Wall Thickness Mm","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["wall_thickness_mm"],"title":"molding_screenArguments","type":"object"},"name":"molding_screen","title":"Molding Screen"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Moldability Screen"},"description":"Moldability DFx screen (NO solver, NO geometry) — fast analytic gate\ncombining two checks molders reason about first: (1) WALL-THICKNESS QUALITY —\nis the nominal wall in the resin's recommended moldable band, and is the\nsection uniform enough (uniformity_ratio = t_max/t_min; warn >2, fail >3) to\navoid sink/warp; thick-lobe samples (> sink_factor·nominal, k≈1.5) flagged;\ncooling tied to the thickest wall (t ∝ s²). (2) SHRINKAGE — first-order from\nthe resin CTE: S_linear = alpha·ΔT, S_vol ≈ 3·S_linear, cavity_scale_factor =\n1/(1−S_linear); semicrystalline resins (PP/PE/PA/POM/PLA/HDPE/LDPE) flag\nmodel_underpredicts and carry a published_shrinkage_pct.\n\nPass ``wall_samples`` (local wall thicknesses, mm) and/or ``nominal_mm``, plus\n``material``. Degrades gracefully when the corpus lacks the (issue #106)\nrecommended-wall / mold-shrinkage / crystallinity fields. Low-fidelity gate:\nescalate_to='molding_fill_submit'.\n\nReturns {thickness:{…}, shrinkage:{…}, material, pass, score, fidelity,\nband_pct, warnings, escalate_to}.","inputSchema":{"properties":{"alpha_per_k":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Alpha Per K"},"fail_ratio":{"default":3.0,"title":"Fail Ratio","type":"number"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"nominal_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Nominal Mm"},"sink_factor":{"default":1.5,"title":"Sink Factor","type":"number"},"t_ambient_c":{"default":23.0,"title":"T Ambient C","type":"number"},"t_solidify_c":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"T Solidify C"},"wall_samples":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"default":null,"title":"Wall Samples"},"warn_ratio":{"default":2.0,"title":"Warn Ratio","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"moldability_screenArguments","type":"object"},"name":"moldability_screen","title":"Moldability Screen"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Drop Impact"},"description":"Drop/impact screen by exact energy balance (NO solver). Give\ncrush_distance_mm (available cushion/crumple stroke) -> deceleration, OR\ndeceleration_limit_g (fragility spec) -> required stroke — exactly one.\nG_avg = h/d exactly (mass cancels); g_peak = pulse_factor·G_avg with `pulse`\nbounding the shape: 'constant' (ideal crush, 1×) | 'linear_spring' (elastic,\n2×) | 'half_sine' (π/2×). v = √(2gh). mass_g only adds peak_force_n and\nenergy_j. fidelity='exact'; where the part is stressed, or what an edge/corner\nstrike changes, is escalate_to='impact_dynamics_submit'.\n\nReturns {drop_height_mm, impact_velocity_m_s, pulse, pulse_factor,\ncrush_distance_mm, g_avg, g_peak, pulse_duration_ms, deceleration_limit_g,\nrequired_crush_mm, energy_j, peak_force_n, fidelity, band_pct,\nvalid_range_ok, warnings, escalate_to}.","inputSchema":{"properties":{"crush_distance_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Crush Distance Mm"},"deceleration_limit_g":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Deceleration Limit G"},"drop_height_mm":{"title":"Drop Height Mm","type":"number"},"mass_g":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Mass G"},"pulse":{"default":"linear_spring","title":"Pulse","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["drop_height_mm"],"title":"drop_impactArguments","type":"object"},"name":"drop_impact","title":"Drop Impact"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Bar Impact"},"description":"St-Venant bar impact, exact (NO solver): a uniform bar striking a rigid wall\nend-on. Face stress σ = ρ·c₀·v₀ with c₀ = √(E/ρ) — mass, area and length cancel,\nso only a slower strike or a softer/lighter material lowers it; contact lasts\n2L/c₀ and the bar leaves stress-free at the strike speed (restitution 1). Past\nthe yield velocity v_y = σ_y/(ρ·c₀) the face yields and a bilinear material\n(`tangent_mpa`) caps at σ_y + ρ·c_p·(v₀ − v_y), c_p = √(E_t/ρ). E and ρ from\n`youngs_gpa`/`density_kg_m3` or a Materials-DB `material` (which also supplies\nyield). `area_mm2` adds force_n. The closed-form twin impact_dynamics_submit is\ngated against; also the quick ceiling on what any strike at this speed can do to\nthis material. Uniaxial-stress (slender bar) theory.\n\nReturns {wave_speed_m_s, stress_mpa, elastic_stress_mpa, force_n,\ncontact_duration_ms, rebound_velocity_m_s, yield_velocity_m_s, plastic,\nplastic_wave_speed_m_s, fidelity, band_pct, valid_range_ok, warnings,\nescalate_to}.","inputSchema":{"properties":{"area_mm2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Area Mm2"},"density_kg_m3":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Density Kg M3"},"length_mm":{"title":"Length Mm","type":"number"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"tangent_mpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Tangent Mpa"},"velocity_m_s":{"title":"Velocity M S","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"yield_mpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Yield Mpa"},"youngs_gpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Youngs Gpa"}},"required":["velocity_m_s","length_mm"],"title":"bar_impactArguments","type":"object"},"name":"bar_impact","title":"Bar Impact"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Impact Dynamics Submit"},"description":"Transient DROP / IMPACT dynamics — the solve `drop_impact` escalates to. Meshes\n`body`, flies it at `velocity_m_s` (or the free-fall speed of `drop_height_mm` —\nexactly one) along `direction` into a fixed rigid floor through penalty contact,\nand integrates the motion with CalculiX `*DYNAMIC`. Async: returns a job — poll\njob_result. Degrades to {ok:false, reason, install} when ccx is absent.\n\n`direction` is the way the part TRAVELS: '-z' (default), '+x', … or any 3-vector —\n[-1,-1,-1] is a corner drop (the floor turns, the part is not re-meshed).\nMaterial from `material` or explicit `youngs_mpa`/`poisson`/`density_kg_m3`\n(required, no defaults — the answer scales with √(E·ρ)). `yield_mpa` arms the\nstress criterion; `plastic=True` (+ `tangent_mpa`, bilinear) lets it yield\ninstead. `deceleration_limit_g` arms the fragility criterion.\n`method`: 'implicit' (default; HHT-α, ccx steps adaptively — right for ms-scale\ndrops) | 'explicit' (central difference at the stable step — for stress-wave\nevents ≲ 100 µs; first-order tets). `time_step_s` on an implicit run switches to a\nFIXED step: several times faster where contact comes on smoothly, but ccx stops\nif an increment diverges (a flat face landing all at once does). `duration_s`\ndefaults to free flight + 10 wave round trips along the drop — enough for a stiff\nbody; a compliant one needs more, and the gate says so. `samples` is the single\noutput cadence ccx allows (force history AND stress frames; default sized to the\nmesh). `contact`: 'auto' (default) | 'face' | 'node' — measured: ccx's face-to-face\npenalty never engages a corner strike (the part falls through) and its\nnode-to-face one locks up on a broad flat landing, so 'auto' uses face contact\ndown to a 45° edge and node contact for anything sharper. `engagement_lag_mm`\nreports how far the strike point sank before the contact pushed back.\n\nValidated against the exact St-Venant bar (`bar_impact`): face force ρ·c₀·v₀·A,\ncontact duration 2L/c₀, restitution 1 and the plastic-wave cap all within ~1–3 %.\nA real part is banded (~20 %): peak force depends on the penalty stiffness and\nmesh, a stress peak AT the strike point is mesh-dependent, and a sharp wave front\nrings ~20 % high. No friction, failure or erosion.\n\nReturns the degradation dict, or {job_id, status, cache_hit}; poll job_result for\n{ok, returncode, solver, case_dir, nodes, tets, method, direction, velocity_m_s,\ndrop_height_mm, duration_s, time_step_s, mass_g, strike_node, contact_faces,\ncontact, strike_alignment,\nplastic, bar_stress_mpa, peak_force_n, peak_force_median3_n,\npeak_force_time_s, peak_g, impulse_n_s,\ncontact_start_s, contact_duration_s, separated, arrested, rebound_velocity_m_s,\nrestitution, energy_end_ratio, energy_min_ratio, mass_check, samples,\ncontact_samples, engagement_lag_mm, peak_von_mises_mpa, peak_stress_node, peak_stress_time_s,\npeak_stress_location_mm, force_history, gate} where gate is {pass, score,\nfidelity:\"solve\", band_pct, checks, utilisation, warnings} — a run that ends\nbefore the fall is arrested, or whose energy grows, FAILS.","inputSchema":{"properties":{"body":{"title":"Body","type":"string"},"char_length_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Char Length Mm"},"contact":{"default":"auto","title":"Contact","type":"string"},"contact_stiffness_mpa_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Contact Stiffness Mpa Mm"},"deceleration_limit_g":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Deceleration Limit G"},"density_kg_m3":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Density Kg M3"},"direction":{"anyOf":[{"type":"string"},{"items":{"type":"number"},"type":"array"}],"default":"-z","title":"Direction"},"drop_height_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Drop Height Mm"},"duration_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Duration S"},"gap_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Gap Mm"},"gravity":{"default":true,"title":"Gravity","type":"boolean"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"max_time_step_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Max Time Step S"},"method":{"default":"implicit","title":"Method","type":"string"},"plastic":{"default":false,"title":"Plastic","type":"boolean"},"poisson":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Poisson"},"samples":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Samples"},"tangent_mpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Tangent Mpa"},"time_step_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Time Step S"},"velocity_m_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Velocity M S"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"yield_mpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Yield Mpa"},"youngs_mpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Youngs Mpa"}},"required":["body"],"title":"impact_dynamics_submitArguments","type":"object"},"name":"impact_dynamics_submit","title":"Impact Dynamics Submit"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Thermal Lumped"},"description":"Lumped first-order transient warm-up (no mesh). ΔT_ss = P/(h·A),\nτ = m·c_p/(h·A), T(t) = T_amb + ΔT_ss·(1−e^(−t/τ)). c_p is an explicit\nvalue/quantity-string ('900 J/kg/K') or read from `material`. Get h_conv from\nthe `h_estimate` correlation screen rather than guessing. With duration_s\nthe temperature + fraction-of-steady reached are returned. A radiation screen\nflags when the steady-state radiative HTC exceeds h_conv. Returns\n{t_ambient_c, delta_t_steady_k, t_steady_c, time_constant_s, t_final_c,\nreached_steady_pct, h_rad_w_m2k, radiation_significant}.","inputSchema":{"properties":{"area_mm2":{"title":"Area Mm2","type":"number"},"c_p":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"null"}],"default":null,"title":"C P"},"duration_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Duration S"},"emissivity":{"default":0.8,"title":"Emissivity","type":"number"},"h_conv":{"title":"H Conv","type":"number"},"mass_g":{"title":"Mass G","type":"number"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"power_w":{"title":"Power W","type":"number"},"t_ambient_c":{"default":25.0,"title":"T Ambient C","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["mass_g","power_w","h_conv","area_mm2"],"title":"thermal_lumpedArguments","type":"object"},"name":"thermal_lumped","title":"Thermal Lumped"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Thermal Transient 1D"},"description":"Analytic 1-D plane-wall transient conduction (one-term Heisler series), valid\nfor Fourier ≳ 0.2 — the closed-form transient the Elmer thermal_transient solve is\ngated against, and the *distributed* (spatial-gradient) answer the lumped screen\nonly approximates. A wall of half-thickness L cools/heats toward ambient by surface\nconvection: Bi = h·L/k, Fo = α·t/L², α = k/(ρ·cₚ). Pass `alpha_m2_s`, or k+rho+cp,\nor a `material` (Materials DB: thermal_conductivity/Density/specific_heat); get\nh_conv from the `h_estimate` correlation screen rather than guessing.\n\nAs Bi→0 the body is isothermal and this collapses to the lumped exponential\nexp(−t/τ) (cross-checked via t_center_lumped_c / lumped_agrees). Returns {biot,\nfourier, eigenvalue_1, c1, t_center_c, t_surface_c, t_center_lumped_c,\ntime_constant_s, one_term_valid, lumped_agrees}.","inputSchema":{"properties":{"alpha_m2_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Alpha M2 S"},"cp":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"null"}],"default":null,"title":"Cp"},"duration_s":{"title":"Duration S","type":"number"},"h_conv":{"title":"H Conv","type":"number"},"half_thickness_mm":{"title":"Half Thickness Mm","type":"number"},"k":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"null"}],"default":null,"title":"K"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"rho":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"null"}],"default":null,"title":"Rho"},"t_ambient_c":{"default":25.0,"title":"T Ambient C","type":"number"},"t_initial_c":{"default":100.0,"title":"T Initial C","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["half_thickness_mm","h_conv","duration_s"],"title":"thermal_transient_1dArguments","type":"object"},"name":"thermal_transient_1d","title":"Thermal Transient 1D"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Thermal Transient Submit"},"description":"Transient thermal FEM via Elmer, asynchronous. Requires ElmerSolver (apt\n`elmerfem-csc` / conda); when absent this returns {ok:false, reason, install}\nrather than raising. Three modes:\n\n- **Build the analytic-slab case** (no solver case prep needed): pass the\n  plane-wall transient — `half_thickness_mm`, `h_conv` (W/m²K), `duration_s`, and\n  either `k`+`rho`+`cp` (SI) or a `material` name, with optional `t_initial_c` /\n  `t_ambient_c` and mesh/step counts `n_elements` / `n_steps`. The handler writes\n  the 1-D conduction case (symmetry at the centre, convection at the surface), runs\n  ElmerSolver, and returns the centre/surface temperatures — the same plane-wall\n  BVP `thermal_transient_1d` solves analytically, so the two are directly\n  comparable (the kickoff's relative gate).\n- **Solve a real FreeCAD solid — the geometry bridge**: pass a `body` handle plus\n  `convection_faces` (1-based indices into the solid's faces; those faces get the\n  `h_conv`/`t_ambient_c` convective BC, every other face is adiabatic), the\n  physics (`h_conv`, `duration_s`, `k`+`rho`+`cp` or `material`), and an optional\n  `char_length_mm` Gmsh element size and `element_order` ('1st'|'2nd'). The solid\n  is Gmsh-meshed and solved as a true 3-D body (ElmerGrid + ElmerSolver); the\n  result's {t_max_c, t_min_c} are the interior/convective-surface temperatures (for\n  a slab-like body, directly gateable against thermal_transient_1d). Prefer\n  `element_order='2nd'` for a sharp transient — quadratic tets resolve the wall\n  gradient accurately even on a coarse mesh.\n- **Run a prepared `case_dir`** containing its own `.sif` + mesh.\n\nReturns the degradation dict, or {job_id, status, cache_hit}; poll job_result for\n{ok, returncode, solver, case_dir, stdout_tail} plus, for the slab case,\n{t_center_c, t_surface_c, n_steps_written}, for a body {t_max_c, t_min_c, nodes,\ntets} (or {scalars_final} for a prepared case).","inputSchema":{"properties":{"body":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Body"},"case_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Case Dir"},"char_length_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Char Length Mm"},"convection_faces":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Convection Faces"},"cp":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Cp"},"duration_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Duration S"},"element_order":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Element Order"},"h_conv":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"H Conv"},"half_thickness_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Half Thickness Mm"},"k":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"K"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"n_elements":{"default":40,"title":"N Elements","type":"integer"},"n_steps":{"default":120,"title":"N Steps","type":"integer"},"rho":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Rho"},"sif":{"default":"case.sif","title":"Sif","type":"string"},"t_ambient_c":{"default":25.0,"title":"T Ambient C","type":"number"},"t_initial_c":{"default":100.0,"title":"T Initial C","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"thermal_transient_submitArguments","type":"object"},"name":"thermal_transient_submit","title":"Thermal Transient Submit"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Thermal Radiation Submit"},"description":"Diffuse-gray radiation FEM via Elmer, asynchronous — the radiation sibling of\nthermal_transient_submit. Requires ElmerSolver + the ViewFactors binary (apt\n`elmerfem-csc` / conda); when absent this returns {ok:false, reason, install}\nrather than raising. Two modes:\n\n- **Build the two-plate enclosure case** (no case prep): pass `t1_c`, `t2_c` (°C)\n  and the two surface emissivities `emissivity_1`/`emissivity_2` (default 0.8). The\n  handler writes a 2-D pair of parallel plates radiating across an unmeshed vacuum\n  gap, runs ViewFactors then ElmerSolver, and extracts the net radiative exchange —\n  directly gated against the exact two infinite parallel plates oracle\n  q = σ(T₁⁴−T₂⁴)/(1/ε₁+1/ε₂−1) (`oracle_ratio` ≈ 1). Mesh/geometry knobs: `width_m`,\n  `gap_m`, `plate_thickness_m`, `n_x`, `k_plate`.\n- **Run a prepared `case_dir`** containing its `.sif` + mesh (ViewFactors is run\n  first when no factor file is present).\n\nReturns the degradation dict, or {job_id, status, cache_hit}; poll job_result for\n{ok, returncode, solver, case_dir, stdout_tail} plus, for the plate case,\n{flux_w_m2, q_net_w, two_plate_flux_w_m2, oracle_ratio, t1_c, t2_c, emissivity_1,\nemissivity_2} (or {scalars_final} for a prepared case).","inputSchema":{"properties":{"case_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Case Dir"},"emissivity_1":{"default":0.8,"title":"Emissivity 1","type":"number"},"emissivity_2":{"default":0.8,"title":"Emissivity 2","type":"number"},"gap_m":{"default":0.01,"title":"Gap M","type":"number"},"k_plate":{"default":400.0,"title":"K Plate","type":"number"},"n_x":{"default":80,"title":"N X","type":"integer"},"plate_thickness_m":{"default":0.01,"title":"Plate Thickness M","type":"number"},"sif":{"default":"case.sif","title":"Sif","type":"string"},"t1_c":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"T1 C"},"t2_c":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"T2 C"},"width_m":{"default":1.0,"title":"Width M","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"thermal_radiation_submitArguments","type":"object"},"name":"thermal_radiation_submit","title":"Thermal Radiation Submit"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Thermal Composite Wall"},"description":"Exact series thermal-resistance network of a plane composite wall (NO solver)\n— the classic overall-U calculation and the conjugate-heat-transfer family's\nclosed-form oracle. `layers` is the in→out list of solid layers, each\n{thickness_mm, k | material} (k in W/m·K, or a Materials-DB name); `h_in`/`h_out`\nare optional convection film coefficients (W/m²K). Per unit area\nR = 1/h_in + Σ tᵢ/kᵢ + 1/h_out, U = 1/R, q = U·(t_in − t_out), and every\nsurface/interface temperature follows exactly.\n\nReturns {u_w_m2k, r_total_m2k_w, q_w_m2, q_w, layer_resistances_m2k_w,\ninterface_temps_c (inner surface → outer surface), t_in_c, t_out_c, area_m2}.","inputSchema":{"properties":{"area_m2":{"default":1.0,"title":"Area M2","type":"number"},"h_in":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"H In"},"h_out":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"H Out"},"layers":{"items":{},"title":"Layers","type":"array"},"t_in_c":{"title":"T In C","type":"number"},"t_out_c":{"title":"T Out C","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["layers","t_in_c","t_out_c"],"title":"thermal_composite_wallArguments","type":"object"},"name":"thermal_composite_wall","title":"Thermal Composite Wall"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"CHT Channel Submit"},"description":"Conjugate heat transfer via Elmer (P3 M6 frontier), asynchronous — ONE solve\nspanning a plug-flow fluid channel AND a conducting solid wall coupled at their\nshared interface. Requires ElmerSolver; when absent this returns {ok:false,\nreason, install} rather than raising.\n\nBuilds the two-body channel (constant outer `flux_w_m2`, inlet Dirichlet\n`t_in_c`, all else adiabatic) whose gates are exact WITHOUT a Nusselt\ncorrelation: the outlet bulk temperature follows the energy balance\nq″·L = ṁ·c_p·ΔT and the solid-layer drop is q″·t/k. Defaults are the\nlive-validated water channel (cell Péclet ≈ 9 — the builder rejects > 25, where\nstabilized advection visibly leaks the energy balance). Also accepts a prepared\n`case_dir`.\n\nReturns the degradation dict or {job_id, status, cache_hit}; poll job_result\nfor {ok, t_outlet_mean_c, t_out_exact_c, energy_balance_ratio (≈1, ±3%),\ndt_solid_k, dt_solid_exact_k, solid_drop_ratio (≈1), pe_cell, case_dir}.","inputSchema":{"properties":{"case_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Case Dir"},"cp_fluid":{"default":4180.0,"title":"Cp Fluid","type":"number"},"fluid_height_m":{"default":0.005,"title":"Fluid Height M","type":"number"},"flux_w_m2":{"default":10000.0,"title":"Flux W M2","type":"number"},"k_fluid":{"default":0.6,"title":"K Fluid","type":"number"},"k_solid":{"default":1.0,"title":"K Solid","type":"number"},"length_m":{"default":0.1,"title":"Length M","type":"number"},"nx":{"default":80,"title":"Nx","type":"integer"},"ny_fluid":{"default":10,"title":"Ny Fluid","type":"integer"},"ny_solid":{"default":4,"title":"Ny Solid","type":"integer"},"rho_fluid":{"default":1000.0,"title":"Rho Fluid","type":"number"},"sif":{"default":"case.sif","title":"Sif","type":"string"},"solid_thickness_m":{"default":0.002,"title":"Solid Thickness M","type":"number"},"t_in_c":{"default":20.0,"title":"T In C","type":"number"},"velocity_m_s":{"default":0.001,"title":"Velocity M S","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"cht_channel_submitArguments","type":"object"},"name":"cht_channel_submit","title":"CHT Channel Submit"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"CHT Graetz Submit"},"description":"Flow-coupled Graetz channel via Elmer (SIMULATION_NEXT B4), asynchronous —\nthe TRUE Nusselt validation that upgrades cht_channel_submit's plug flow:\nFlowSolve computes the real laminar profile and HeatSolver rides on it\n(Convection = Computed) between two isothermal walls. Requires ElmerSolver;\nwhen absent this returns {ok:false, reason, install} rather than raising.\n\nTwo gates: the solved parabola's u_max/u_mean ≡ 3/2 exactly, and the developed\nmixing-cup decay d ln(T_wall−T_bulk)/dx fitted over the second half of the\nchannel yields Nu, gated against the Graetz eigenvalue Nu_T = 7.5407 (parallel\nplates, constant wall temperature) — a slug profile would give π² = 9.87, so\nthe gate also proves the profile coupling is real. This closes the loop with\nthe `h_estimate` correlation screen. The writer polices Re < 400, development\nlengths inside the first 45 %, and cell Péclet ≤ 25. Also accepts a prepared\n`case_dir`.\n\nReturns the degradation dict or {job_id, status, cache_hit}; poll job_result\nfor {ok, u_max_over_mean (≈1.5), nu_fit, nu_exact, nu_ratio (≈1, ±10 %),\nnu_slug, reynolds, prandtl, pe_cell, case_dir}.","inputSchema":{"properties":{"case_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Case Dir"},"cp_fluid":{"default":4000.0,"title":"Cp Fluid","type":"number"},"gap_m":{"default":0.01,"title":"Gap M","type":"number"},"k_fluid":{"default":80.0,"title":"K Fluid","type":"number"},"length_m":{"default":0.12,"title":"Length M","type":"number"},"mu_fluid":{"default":0.02,"title":"Mu Fluid","type":"number"},"nx":{"default":120,"title":"Nx","type":"integer"},"ny":{"default":20,"title":"Ny","type":"integer"},"rho_fluid":{"default":1000.0,"title":"Rho Fluid","type":"number"},"sif":{"default":"case.sif","title":"Sif","type":"string"},"t_in_c":{"default":20.0,"title":"T In C","type":"number"},"t_wall_c":{"default":80.0,"title":"T Wall C","type":"number"},"velocity_m_s":{"default":0.025,"title":"Velocity M S","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"cht_graetz_submitArguments","type":"object"},"name":"cht_graetz_submit","title":"CHT Graetz Submit"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Acoustic FEM Submit"},"description":"Acoustic FEM via Elmer HelmholtzSolve (SIMULATION_NEXT Tier B1),\nasynchronous — the higher-order twin of `acoustic_screen`, gated against its\nexact closed forms. Requires ElmerSolver; when absent this returns {ok:false,\nreason, install} rather than raising.\n\nkind='duct': a closed duct driven p=1 at x=0, rigid at x=L, at f = kL·c/(2πL)\n(keep `kl` off the quarter-wave resonances) — the rigid-end pressure has the\nexact oracle 1/cos(kL), so `p_end_ratio` ≈ 1 machine-tight. kind='cavity': a\nrigid lx_m × ly_m cavity excited by a corner Wave Flux source, swept ±span_pct%\naround the exact (mode_nx, mode_ny) eigenfrequency in n_steps Scanning steps;\nthe in-phase corner-probe response flips sign through resonance, and the 1/A\nzero-crossing gives `f_solved_hz` with `mode_ratio` ≈ 1 (<0.1%). Also accepts\na prepared `case_dir`.\n\nReturns the degradation dict or {job_id, status, cache_hit}; poll job_result\nfor duct {ok, p_end_re, p_end_exact, p_end_ratio (≈1), p_mean_ratio,\nfrequency_hz, case_dir} | cavity {ok, f_solved_hz, f_exact_hz, mode_ratio\n(≈1), mode, case_dir}.","inputSchema":{"properties":{"c_m_s":{"default":343.0,"title":"C M S","type":"number"},"case_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Case Dir"},"kind":{"default":"duct","title":"Kind","type":"string"},"kl":{"default":2.0,"title":"Kl","type":"number"},"length_m":{"default":1.0,"title":"Length M","type":"number"},"lx_m":{"default":0.5,"title":"Lx M","type":"number"},"ly_m":{"default":0.4,"title":"Ly M","type":"number"},"mode_nx":{"default":1,"title":"Mode Nx","type":"integer"},"mode_ny":{"default":0,"title":"Mode Ny","type":"integer"},"n_elements":{"default":200,"title":"N Elements","type":"integer"},"n_steps":{"default":13,"title":"N Steps","type":"integer"},"nx":{"default":50,"title":"Nx","type":"integer"},"ny":{"default":40,"title":"Ny","type":"integer"},"sif":{"default":"case.sif","title":"Sif","type":"string"},"span_pct":{"default":8.0,"title":"Span Pct","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"acoustic_fem_submitArguments","type":"object"},"name":"acoustic_fem_submit","title":"Acoustic FEM Submit"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Harmonic Response"},"description":"Exact SDOF harmonic frequency response (NO solver) — the FRF screen and the\noracle the Elmer `harmonic_response_submit` sweep is gated against. Bridges\n`beam_modal` (f_n) and `random_vibration` (Q = 1/(2ζ)): with r = f/f_n,\n|H| = 1/√((1−r²)²+(2ζr)²), phase = atan2(2ζr, 1−r²), peak amplification\nQ = 1/(2ζ√(1−ζ²)) at f_peak = f_n·√(1−2ζ²), half-power bandwidth ≈ 2ζ·f_n.\nWith `frequency_hz` the response at that drive is returned;\n`static_deflection_mm` scales it to an absolute amplitude_mm. fidelity='exact';\nζ ≥ 1/√2 has no peak (flagged). Escalate to `harmonic_response_submit` for a\nreal meshed FRF (multi-mode, geometry-true).\n\nReturns {natural_frequency_hz, damping_ratio, q_factor, f_peak_hz,\nhalf_power_bandwidth_hz, frequency_ratio, amplification, phase_deg,\namplitude_mm, fidelity, band_pct, valid_range_ok, warnings, escalate_to}.","inputSchema":{"properties":{"damping_ratio":{"title":"Damping Ratio","type":"number"},"frequency_hz":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Frequency Hz"},"natural_frequency_hz":{"title":"Natural Frequency Hz","type":"number"},"static_deflection_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Static Deflection Mm"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["natural_frequency_hz","damping_ratio"],"title":"harmonic_responseArguments","type":"object"},"name":"harmonic_response","title":"Harmonic Response"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Harmonic Response Submit"},"description":"Harmonic forced response (FRF) via Elmer StressSolve Harmonic Analysis\n(SIMULATION_NEXT Tier B2), asynchronous — a plane-stress cantilever driven by\na harmonic tip traction, swept one quasi-static point + n_sweep points across\n±span_pct% of its first resonance, with Rayleigh β tuned to `damping_ratio`\nat f₁. Requires ElmerSolver; when absent this returns {ok:false, reason,\ninstall} rather than raising.\n\nThree gates from the in-phase (real) response: `f1_ratio` — Re(H) = 0 exactly\nAT resonance, so the swept tip response's sign-flip locates f₁ vs the\nEuler-Bernoulli `beam_modal` closed form (within ~2%, plane-stress vs beam\ntheory); `static_ratio` — the quasi-static point vs the exact tip compliance\nF·L³/(3EI) (within ~5%); `q_ratio` — max|Re|/static vs Q/2 = 1/(4ζ), the\nexact SDOF light-damping identity (within ~15%, sweep-sampled). Cross-links\n`harmonic_response` (the SDOF oracle) and `random_vibration` (same Q). Also\naccepts a prepared `case_dir`.\n\nReturns the degradation dict or {job_id, status, cache_hit}; poll job_result\nfor {ok, f1_solved_hz, f1_eb_hz, f1_ratio, static_solved_m, static_exact_m,\nstatic_ratio, peak_over_static, q_factor, q_ratio, frf:[[f_hz, tip_re_m]],\ncase_dir}.","inputSchema":{"properties":{"case_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Case Dir"},"damping_ratio":{"default":0.02,"title":"Damping Ratio","type":"number"},"density_kg_m3":{"default":7850.0,"title":"Density Kg M3","type":"number"},"height_m":{"default":0.01,"title":"Height M","type":"number"},"length_m":{"default":0.2,"title":"Length M","type":"number"},"n_sweep":{"default":21,"title":"N Sweep","type":"integer"},"nx":{"default":80,"title":"Nx","type":"integer"},"ny":{"default":4,"title":"Ny","type":"integer"},"poisson":{"default":0.3,"title":"Poisson","type":"number"},"sif":{"default":"case.sif","title":"Sif","type":"string"},"span_pct":{"default":10.0,"title":"Span Pct","type":"number"},"traction_pa":{"default":1000.0,"title":"Traction Pa","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"youngs_pa":{"default":200000000000.0,"title":"Youngs Pa","type":"number"}},"title":"harmonic_response_submitArguments","type":"object"},"name":"harmonic_response_submit","title":"Harmonic Response Submit"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"EM Skin Depth"},"description":"Exact AC skin depth (NO solver) — δ = √(2/(ω·μ₀·μ_r·σ)) plus the per-square\nsurface resistance R_s = 1/(σ·δ); fields/current decay e^(−x/δ) into the\nconductor (~95% of induction heating deposits within 1.5·δ). σ from an explicit\n`conductivity_s_m` or a `conductor` name (copper, aluminum, silver, gold, brass,\nsteel-mild, stainless-304).\n\nReturns {skin_depth_m, skin_depth_mm, surface_resistance_ohm,\nangular_frequency_rad_s, conductivity_s_m, mu_r}.","inputSchema":{"properties":{"conductivity_s_m":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Conductivity S M"},"conductor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Conductor"},"frequency_hz":{"title":"Frequency Hz","type":"number"},"mu_r":{"default":1.0,"title":"Mu R","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["frequency_hz"],"title":"em_skin_depthArguments","type":"object"},"name":"em_skin_depth","title":"EM Skin Depth"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"EM DC Resistance"},"description":"Exact DC resistance of a uniform conductor (NO solver) — R = L/(σ·A), the\nclosed-form anchor the Elmer em_conduction_submit gate reproduces to machine\nprecision. With `voltage_v` the Ohm/Joule pair is included (I = V/R, P = V·I).\nσ from `conductivity_s_m` or a `conductor` name.\n\nReturns {resistance_ohm, conductivity_s_m, length_m, area_m2, current_a?,\njoule_w?}.","inputSchema":{"properties":{"area_mm2":{"title":"Area Mm2","type":"number"},"conductivity_s_m":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Conductivity S M"},"conductor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Conductor"},"length_mm":{"title":"Length Mm","type":"number"},"voltage_v":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Voltage V"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["length_mm","area_mm2"],"title":"em_dc_resistanceArguments","type":"object"},"name":"em_dc_resistance","title":"EM DC Resistance"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"EM Field"},"description":"Exact magnetostatic field of the two canonical sources (NO solver):\n`kind='wire'` is the long straight wire B = μ₀·I/(2π·r) at `distance_mm`\n(Ampère's law); `kind='solenoid'` is the long-solenoid interior\nB = μ₀·μ_r·n·I with `turns_per_m`.\n\nReturns {b_t, b_mt, …} (the field in tesla and millitesla).","inputSchema":{"properties":{"current_a":{"default":1.0,"title":"Current A","type":"number"},"distance_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Distance Mm"},"kind":{"default":"wire","title":"Kind","type":"string"},"mu_r":{"default":1.0,"title":"Mu R","type":"number"},"turns_per_m":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Turns Per M"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"em_fieldArguments","type":"object"},"name":"em_field","title":"EM Field"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"EM Conduction Submit"},"description":"DC current conduction via Elmer's StatCurrentSolver (P3 M6 frontier),\nasynchronous. Requires ElmerSolver; when absent this returns {ok:false, reason,\ninstall} rather than raising. Builds a rectangular strip with `voltage_v`\nacross its ends and reads the electrode current, total Joule heating and\nElmer's effective resistance — all machine-exact against R = L/(σ·A)\n(`resistance_ratio` = 1.000000 live).\n\nReturns the degradation dict or {job_id, status, cache_hit}; poll job_result\nfor {ok, current_a, joule_w, effective_resistance_ohm, resistance_exact_ohm,\ncurrent_exact_a, resistance_ratio, case_dir}.","inputSchema":{"properties":{"conductivity_s_m":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Conductivity S M"},"conductor":{"default":"copper","title":"Conductor","type":"string"},"length_m":{"default":0.1,"title":"Length M","type":"number"},"nx":{"default":40,"title":"Nx","type":"integer"},"ny":{"default":8,"title":"Ny","type":"integer"},"voltage_v":{"default":0.001,"title":"Voltage V","type":"number"},"width_m":{"default":0.02,"title":"Width M","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"em_conduction_submitArguments","type":"object"},"name":"em_conduction_submit","title":"EM Conduction Submit"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"EM Induction Submit"},"description":"AC skin effect / induction via Elmer's harmonic 2-D magnetodynamics (P3 M6\nfrontier), asynchronous. Requires ElmerSolver; when absent this returns\n{ok:false, reason, install} rather than raising. Builds a conductor slab\n`depths` skin depths deep driven by the surface vector potential at\n`frequency_hz`, solves the complex field, and fits the e-folding length of\nBOTH the magnitude and the phase of A(x) — each must equal the exact\nδ = √(2/(ω·μ₀·μ_r·σ)) (live: decay_ratio 0.999, phase_ratio 1.000). The Joule\ndeposition profile |J|² ∝ e^(−2x/δ) is the induction-heating answer.\n\nReturns the degradation dict or {job_id, status, cache_hit}; poll job_result\nfor {ok, skin_depth_exact_m, decay_length_m, phase_length_m, decay_ratio,\nphase_ratio, case_dir}.","inputSchema":{"properties":{"conductivity_s_m":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Conductivity S M"},"conductor":{"default":"copper","title":"Conductor","type":"string"},"depths":{"default":5.3,"title":"Depths","type":"number"},"frequency_hz":{"default":50.0,"title":"Frequency Hz","type":"number"},"mu_r":{"default":1.0,"title":"Mu R","type":"number"},"nx":{"default":100,"title":"Nx","type":"integer"},"ny":{"default":2,"title":"Ny","type":"integer"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"em_induction_submitArguments","type":"object"},"name":"em_induction_submit","title":"EM Induction Submit"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"EM Induction Heating Submit"},"description":"Coupled induction heating via Elmer (SIMULATION_NEXT B5), asynchronous —\ncompletes `em_induction_submit` into a THERMAL answer: the harmonic\nMagnetoDynamics solve runs once, MagnetoDynamicsCalcFields turns it into the\ntime-averaged Joule loss field, and a transient adiabatic HeatSolver\nintegrates it for `heat_duration_s`. Requires ElmerSolver; when absent this\nreturns {ok:false, reason, install} rather than raising.\n\nTwo gates: joule_power_ratio — the solved eddy-current power vs the exact\ndeep-slab dissipation P″ = R_s·|H₀|²/2 = ω²σA₀²δ/4 (from the shipped\n`em_skin_depth` chain; live 1.0003) — and energy_balance_ratio — the mean\ntemperature rise vs P·t/(m·cₚ) (live 1.005). Conductor σ from a name or\nexplicit `conductivity_s_m`; thermal ρ/cₚ/k explicit. Also accepts a prepared\n`case_dir`.\n\nReturns the degradation dict or {job_id, status, cache_hit}; poll job_result\nfor {ok, eddy_power_w_m, p_total_exact_w_m, joule_power_ratio (≈1),\nt_mean_final_k, dt_mean_exact_k, energy_balance_ratio (≈1), skin_depth_m,\ncase_dir}.","inputSchema":{"properties":{"a_surface":{"default":0.001,"title":"A Surface","type":"number"},"case_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Case Dir"},"conductivity_s_m":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Conductivity S M"},"conductor":{"default":"copper","title":"Conductor","type":"string"},"cp_j_kgk":{"default":385.0,"title":"Cp J Kgk","type":"number"},"density_kg_m3":{"default":8960.0,"title":"Density Kg M3","type":"number"},"depths":{"default":5.3,"title":"Depths","type":"number"},"frequency_hz":{"default":10000.0,"title":"Frequency Hz","type":"number"},"heat_duration_s":{"default":0.01,"title":"Heat Duration S","type":"number"},"k_thermal":{"default":400.0,"title":"K Thermal","type":"number"},"mu_r":{"default":1.0,"title":"Mu R","type":"number"},"n_steps":{"default":20,"title":"N Steps","type":"integer"},"nx":{"default":100,"title":"Nx","type":"integer"},"ny":{"default":2,"title":"Ny","type":"integer"},"sif":{"default":"case.sif","title":"Sif","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"em_induction_heating_submitArguments","type":"object"},"name":"em_induction_heating_submit","title":"EM Induction Heating Submit"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"CFD Pipe Flow"},"description":"Analytic straight-pipe pressure drop (NO solver) — the fast internal-flow screen\nand the exact gate the OpenFOAM cfd_internal_flow solve is checked against. Laminar\n(Re<2300) is Hagen–Poiseuille Δp = 128·μ·L·Q/(π·D⁴) with its D⁴ scaling — exact;\nturbulent uses smooth-pipe Blasius, or Colebrook–White when `roughness_mm` is given\n(the Colebrook value is always reported for turbulent flow) — a ±10 % Moody-band\ncorrelation (fidelity labeled). Give flow as `flow_rate_lpm` or `velocity_m_s`;\nfluid μ,ρ from a name ('water-20c','air-20c','oil-sae30-20c','glycerin-20c') or\nexplicit `mu_pa_s`+`rho_kg_m3`. Escalate turbulent cases to\ncfd_internal_flow_submit(turbulence='kOmegaSST').\n\nReturns {reynolds, regime, velocity_m_s, flow_rate_m3_s, friction_factor,\ncolebrook_friction_factor, relative_roughness, pressure_drop_pa, wall_shear_pa,\nhagen_poiseuille_pa, laminar, fidelity, band_pct, escalate_to}.","inputSchema":{"properties":{"diameter_mm":{"title":"Diameter Mm","type":"number"},"flow_rate_lpm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Flow Rate Lpm"},"fluid":{"default":"water-20c","title":"Fluid","type":"string"},"length_mm":{"title":"Length Mm","type":"number"},"mu_pa_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Mu Pa S"},"rho_kg_m3":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Rho Kg M3"},"roughness_mm":{"default":0.0,"title":"Roughness Mm","type":"number"},"velocity_m_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Velocity M S"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["diameter_mm","length_mm"],"title":"cfd_pipe_flowArguments","type":"object"},"name":"cfd_pipe_flow","title":"CFD Pipe Flow"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"CFD Internal Flow Submit"},"description":"Internal-flow CFD (pressure drop) via OpenFOAM or SU2, asynchronous. Requires an\nOpenFOAM (apt/conda) or SU2 binary; when none resolves this returns {ok:false,\nreason, install} rather than raising. The pipe and geometry-bridge modes need\nOpenFOAM specifically — they emit OpenFOAM dictionaries — but `channel_height_mm`\nbuilds a NATIVE SU2 case, which is why solve_capabilities counts SU2 toward the\ncfd family (issue #237). On Apple Silicon that is the difference between needing\na Multipass VM and not. `turbulence='kOmegaSST'` upgrades the pipe\nvalidation case to RANS (SIMULATION_NEXT B3): wall-function k/ω/ν_t with first-cell\ny+ targeted at ~30–100, developed dp/dx fitted over the second half of a ≥40·D pipe,\ngated BANDED against Colebrook (`colebrook_ratio` ≈ 1 ± 10 % — the Moody correlation\nis itself a band, never an exact gate). Four modes:\n\n- **Build the native SU2 plane-channel case** (no OpenFOAM, no VM): pass\n  `channel_height_mm`, optionally `channel_length_mm` (default 10× the height),\n  `velocity_m_s` (default Re 50), a `fluid` or `mu_pa_s`+`rho_kg_m3` (default a\n  light oil — holding Re low with water means millimetres per second, where SU2's\n  incompressible pseudo-time is badly scaled), `nx`/`ny`, `max_iterations`. Gated\n  against the EXACT plane-Poiseuille closed form Δp = 12·μ·U·L/h², returning\n  `poiseuille_ratio` ≈ 1. The inlet is the fully developed parabolic profile, so\n  there is no entrance-length error to drown out with a long domain.\n- **Build the straight-pipe validation case** (no case prep): pass `diameter_mm`,\n  `length_mm`, and `velocity_m_s` (or `flow_rate_lpm`), with a `fluid` name or\n  explicit `mu_pa_s`+`rho_kg_m3` (mesh density via `n_axial`/`n_radial`, iterations\n  via `end_time`). The handler builds the axisymmetric laminar pipe, runs\n  blockMesh+simpleFoam, and returns the solved Δp next to the Hagen–Poiseuille\n  analytic reference (`cfd_pipe_flow`) — the kickoff's exact CFD gate, `hp_ratio`≈1.\n- **Solve a real FreeCAD solid — the geometry bridge**: pass a `body` handle plus\n  `inlet_face`/`outlet_face` (1-based indices into the solid's faces; every other\n  face becomes a no-slip wall) and `velocity_m_s` (applied along the inlet face's\n  inward normal). The solid tessellates into a multi-region STL and meshes with\n  blockMesh + snappyHexMesh; `base_cell_mm` sets the background cell size,\n  `location_in_mesh_mm` the kept-region seed point (default: bbox centre — set it\n  for non-convex solids), `stl_tolerance_mm` the tessellation sag. Use the\n  developed-profile `pressure_drop_pa`; also pass `diameter_mm`+`length_mm` to get\n  an `hp_ratio` reference for pipe-like bodies.\n- **Run a prepared `case_dir`** (optionally an `application`, e.g.\n  'simpleFoam'/'foamRun'); for OpenFOAM its environment is sourced before the\n  run, while an SU2 case (`*.cfg` + `*.su2` mesh) runs as a direct native\n  subprocess — no bash/WSL needed, including on Windows.\n\nReturns the degradation dict, or {job_id, status, cache_hit}; poll job_result.\nPipe/body cases: {ok, returncode, pressure_drop_pa (developed),\npressure_drop_inlet_pa, hagen_poiseuille_pa?, hp_ratio?, n_cells, case_dir};\nRANS pipe adds {dpdx_pa_m, dpdx_colebrook_pa_m, colebrook_ratio, y_plus_estimate,\nband_pct}. Prepared case: {ok, returncode, solver, application, case_dir, kind,\nstdout_tail}.","inputSchema":{"properties":{"application":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Application"},"base_cell_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Base Cell Mm"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Body"},"case_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Case Dir"},"channel_height_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Channel Height Mm"},"channel_length_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Channel Length Mm"},"diameter_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Diameter Mm"},"end_time":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"End Time"},"flow_rate_lpm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Flow Rate Lpm"},"fluid":{"default":"water-20c","title":"Fluid","type":"string"},"inlet_face":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Inlet Face"},"length_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Length Mm"},"location_in_mesh_mm":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Location In Mesh Mm"},"max_iterations":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Max Iterations"},"mu_pa_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Mu Pa S"},"n_axial":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"N Axial"},"n_radial":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"N Radial"},"outlet_face":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Outlet Face"},"rho_kg_m3":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Rho Kg M3"},"stl_tolerance_mm":{"default":0.2,"title":"Stl Tolerance Mm","type":"number"},"turbulence":{"default":"laminar","title":"Turbulence","type":"string"},"velocity_m_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Velocity M S"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"cfd_internal_flow_submitArguments","type":"object"},"name":"cfd_internal_flow_submit","title":"CFD Internal Flow Submit"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Declare Performance"},"description":"Record a quantitative PERFORMANCE spec on a part so it can be re-proved after\nevery edit — the performance twin of declare_intent, which only covers geometry.\nPersists in the .FCStd as a JSON property bag; one contract per part, re-declaring\nreplaces it.\n\nEach requirement is metric-agnostic — the contract layer only orchestrates, so the\nmetric is whatever the named tool already returns, and \"Cd ≤ 0.30\", \"Δp ≤ 50 Pa\",\n\"first mode ≥ 200 Hz\" and \"ΔT ≤ 40 K\" are the same machinery:\n\n    {\"name\": \"drag_at_cruise\",\n     \"metric\": \"cd\",                        # dotted path into the tool's result\n     \"tool\": \"cfd_external_flow_submit\",    # what measures it at solver tier\n     \"conditions\": {\"model\": \"$handle\", \"velocity_m_s\": 30, \"fluid\": \"air-20c\"},\n     \"limit\": {\"max\": 0.30},                # max, min, or both (a window)\n     \"screen\": {\"tool\": \"cfd_body_drag\", \"metric\": \"cd\",\n                \"conditions\": {\"shape\": \"sphere\", \"diameter_mm\": 50,\n                               \"velocity_m_s\": 30}},\n     \"fidelity_floor\": \"solver\",            # \"screen\" if an estimate is proof enough\n     \"trust\": {\"converged\": true, \"band_max_pct\": 5}}\n\n`\"$handle\"` anywhere in `conditions` is replaced with this part's handle at\nverification time, so a contract is portable between parts. `trust` demands are\nenforced by verify_performance against the solver's own trust block: a requirement\nasking for `converged: true` can never be satisfied by an unconverged solve.\n\nReturns {handle, contract: {requirements: [...]}, n_requirements}. Raises ValueError\non a malformed requirement, naming the offending one.","inputSchema":{"properties":{"handle":{"title":"Handle","type":"string"},"requirements":{"items":{},"title":"Requirements","type":"array"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","requirements"],"title":"declare_performanceArguments","type":"object"},"name":"declare_performance","title":"Declare Performance"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Verify Performance"},"description":"Prove (or fail to prove) every requirement declared with declare_performance —\nthe step that turns \"a solver printed 0.29\" into a claim with a band and a\nprovenance.\n\nA verdict has THREE states. `pass` and `fail` each require the measurement's whole\nuncertainty band to sit on one side of the limit; a band that straddles it is\n`indeterminate`, meaning \"escalate\", not \"probably fine\". A correlation reading\nCd = 0.28 ± 10 % against a limit of 0.30 spans 0.252–0.308 and has NOT shown the\npart passes — collapsing that to a pass is how a spec silently goes unmet.\n\n`tier` picks the evidence:\n- `'screen'` — each requirement's cheap estimator only. Milliseconds, no solver.\n- `'solver'` — the real solve for every requirement.\n- `'auto'` (default) — screen first, escalate only what the screen could not decide\n  or what declares `fidelity_floor: 'solver'`. This is the ladder that keeps a\n  design loop cheap: cheap measurements eliminate candidates, solves confirm\n  survivors.\n\nTrust is part of the measurement, not a footnote: `trust: {converged: true}` or a\n`band_max_pct` cap makes an unconverged (or insufficiently mesh-converged) solve\ncome back `indeterminate` with the reason, never `pass`.\n\nSolver-tier measurements are asynchronous, so this returns EITHER the finished\nverdict (screen-only, or everything already decided) or {job_id, status, pending,\nresults} — poll job_result for the completed verdict. Never raises on a failing\nrequirement; a failure is a row.\n\nEvery verdict is also RECORDED on the part, stamped with a geometry signature of\nthe shape it measured (#261). That record is what merge_assembly,\nsubstitutability_check and component_contract_check consult, since a gate has to\nanswer synchronously and this may not have: an in-flight solve records rows the\ngates read as `unverified`, and editing the part invalidates the signature so they\nread `stale` — never a pass on either path.\n\nReturns {handle, tier, ok, n_requirements, passed, failed, indeterminate, escalate,\nresults: [{name, tier, metric, state, measured, limit, band_pct, worst_case,\nbest_case, margin, margin_pct, detail, trust_reasons?, screen?, job_id?}]}.","inputSchema":{"properties":{"handle":{"title":"Handle","type":"string"},"tier":{"default":"auto","title":"Tier","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle"],"title":"verify_performanceArguments","type":"object"},"name":"verify_performance","title":"Verify Performance"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Study Submit"},"description":"Sweep parameters over a sampled design space and record the WHOLE search as a\ntable — the DOE primitive between the parametric layer and the solver catalog.\n\nWithout it, exploring a design space means hand-rolling `recipe(params)` -> solve ->\nmutate -> repeat and keeping only the last point, so nobody can tell afterwards\nwhether the design is good or merely the one you stopped on. A study keeps every\npoint, with the parameters that produced it.\n\n`variables` declares the space; each entry is either explicit levels or a range:\n- `{\"name\": \"diameter_mm\", \"values\": [8, 10, 12]}` — these and only these\n- `{\"name\": \"diameter_mm\", \"min\": 8, \"max\": 12, \"levels\": 3}` — evenly spaced\n\n`sampling` picks how they combine:\n- `{\"method\": \"grid\"}` (default) — full factorial. Exhaustive, and the only thing\n  that can prove a trend, but it is the PRODUCT of the level counts: three variables\n  at five levels is 125 evaluations.\n- `{\"method\": \"lhs\", \"n_samples\": 20, \"seed\": 0}` — Latin hypercube. Each variable's\n  range is cut into `n_samples` strata and every stratum used once, so cost is\n  decoupled from dimensionality: 20 points cover 6 variables as well as 2. Use it\n  past 2-3 variables.\nBoth are deterministic from `seed`, which is what makes a re-run hit the cache.\n\n`responses` says how to measure each point, in the same mapping a performance\nrequirement uses: `{\"name\": \"dp\", \"tool\": \"cfd_pipe_flow\", \"metric\":\n\"pressure_drop_pa\", \"conditions\": {\"diameter_mm\": \"$diameter_mm\", \"length_mm\": 200}}`.\nInside `conditions`, `\"$<variable>\"` is that point's value and `\"$handle\"` is the part\nit built; an unknown `$token` is refused up front, because a sweep that silently\nmeasured a literal string at every point returns a flat, plausible, wrong table.\n\n`tool` can be ANY AnkusDrive tool, including `verify_performance` — and that is the\ninteresting case. A response that is a contract verdict carries a band, a trust block\nand a pass/fail/indeterminate state, so points stay comparable across fidelity tiers\ninstead of being bare floats of unknown quality.\n\n`recipe` (+ `fixed_inputs`) rebuilds geometry per point; omit it and pass `handle`\n(or nothing) to sweep analysis parameters against fixed geometry. Screening-tier\nresponses evaluate inline in milliseconds, so thousand-point studies are viable;\nsolver-tier responses fan out concurrently and one collector job joins them.\n\nCaching IS resumability: identical points hash to the same job content key, so\nre-submitting a study after a crash, or widening its grid, re-runs only what is new —\n`n_cached` is what tells you the re-run was free. `max_points` (default 64) refuses a\nsweep larger than you probably meant.\n\n`objective` — `{\"response\": \"dp\", \"sense\": \"min\"}` — additionally reports `best`.\n\nReturns EITHER the finished table or {job_id, status, points, pending}; poll\njob_result for the completed table. A point that failed to build or measure is a row\nwith `ok: false`, never an exception. Result: {ok, n_points, n_evaluated, n_cached,\nn_failed, sampling, variables, points: [{index, params, handle?, ok, responses:\n{name: {ok, value, band_pct?, converged?, state?, job_id?, cache_hit?, detail?}},\nwarnings}], responses: {name: {n, n_missing, min, max, mean, argmin, argmax}},\nbest?}.","inputSchema":{"properties":{"fixed_inputs":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Fixed Inputs"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Handle"},"max_points":{"default":64,"title":"Max Points","type":"integer"},"objective":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Objective"},"recipe":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Recipe"},"responses":{"items":{},"title":"Responses","type":"array"},"sampling":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Sampling"},"variables":{"items":{},"title":"Variables","type":"array"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["variables","responses"],"title":"study_submitArguments","type":"object"},"name":"study_submit","title":"Study Submit"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Optimize Submit"},"description":"Vary parameters until the spec is met, then say whether it was PROVEN — the step\nthat closes the design-to-spec loop.\n\nEverything else in this family measures; this searches. Two things make it different\nfrom a generic minimizer, and both come from the performance-contract layer\nunderneath it:\n\n**A constraint verdict has three states.** `indeterminate` — the measurement's\nuncertainty band straddles the limit — is NOT a failed step. An optimizer that reads\nit as a failure walks away from good designs; one that reads it as a pass converges\non unproven ones. During the search an indeterminate constraint is scored on its\nnominal value, so it neither attracts nor repels, and the winner is proved properly\nat the end.\n\n**Convergence is not proof.** A simplex can settle on a point that clears its limit\nby 2 % while its own grid-convergence band is 5 % wide — noise with a favourable\nsign. `proven` is therefore reported separately from `converged`, and is True only\nwhen the final measurement has every constraint at `pass` and no margin swallowed by\nits own band.\n\n`variables` must be continuous and bounded — `{\"name\": \"diameter_mm\", \"min\": 5,\n\"max\": 25, \"start\": 10}`. An optimizer without a box walks to values that satisfy the\narithmetic and mean nothing physically.\n\n`objective` and each `constraints` entry use the performance-requirement mapping\n(`{tool, metric, conditions, limit, screen, band_pct}`), with `\"$<variable>\"` in\n`conditions` carrying the candidate's value. `tier='auto'` searches cheaply on each\nblock's `screen` estimator, then polishes on the real tool from where the screen\nlanded; `'screen'` or `'solver'` runs just that leg.\n\nThe search is a bounded Nelder-Mead — derivative-free because there is no adjoint\nthrough a CFD solve — so every evaluation is a real measurement. `budget`\n(`{max_evals, max_wall_s}`, default 40 evaluations) is the ceiling; revisited points\nare served from cache and do NOT count against it.\n\n**Shape optimization.** Pass a `recipe` (+ `fixed_inputs`) and it is rebuilt for\nevery candidate, so the search varies GEOMETRY rather than only numbers —\n`\"$handle\"` in a response's conditions is that candidate's part, and the returned\nhistory carries the handle each point built. Pass `handle` instead to optimize\nparameters against one fixed part; pass neither and the search is purely parametric.\n\nGeometry-driven candidates are built on the MAIN thread through the worker's\nwork queue, because FreeCAD's document API is not thread-safe and this search runs\nas a background job. That queue is drained once per incoming request, so **a shape\nsearch only advances while you are polling** `job_status`/`job_result` — the poll\nyou must do anyway is what gives it its turn. Poll at your normal cadence and it\nsimply works; stop polling and it stalls rather than finishing in the background.\nA candidate whose recipe fails to build is scored out as an infeasible point, not\nan error. `study_submit` remains the right tool for a FIXED grid over recipe\ngeometry, which needs no queue at all.\n\nReturns {job_id, status}; poll job_result for {ok, proven, stop_reason, best_params,\nbest_value, objective: {name, metric, sense, value, band_pct}, constraints: [{name,\nstate, measured, limit, band_pct, margin, margin_pct, detail, trust_reasons?}],\nphases: [{tier, n_evals, best_params, best_value, converged, reason}], history:\n[{i, tier, params, value, score, feasible, cached}], n_evals, n_cached, budget,\nvariables, warnings}.","inputSchema":{"properties":{"budget":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Budget"},"constraints":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Constraints"},"fixed_inputs":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Fixed Inputs"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Handle"},"objective":{"additionalProperties":true,"title":"Objective","type":"object"},"recipe":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Recipe"},"tier":{"default":"auto","title":"Tier","type":"string"},"variables":{"items":{},"title":"Variables","type":"array"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["variables","objective"],"title":"optimize_submitArguments","type":"object"},"name":"optimize_submit","title":"Optimize Submit"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Grid Convergence"},"description":"Grid Convergence Index — how much of a solved number is the MESH (no solver,\nmilliseconds). Give it the same quantity solved on 2-3 systematically refined\nmeshes, FINEST FIRST, and it fits the observed order of convergence,\nRichardson-extrapolates to zero cell size, and returns the percentage band inside\nwhich the mesh-independent answer lies. Roache's GCI as codified in ASME V&V 20.\n\nThis is the honest `band_pct` for a result with no analytic oracle — the\nverification counterpart to every validation ratio in the solver families — and it\nis deliberately family-agnostic: three CFD drag coefficients, three FEM peak\nstresses and three modal frequencies are all valid input; only you know what the\nmesh size means. `cfd_mesh_independence_submit` is the driver that produces the\nthree CFD values for you.\n\nDescribe the meshes with either `cell_sizes` (representative cell length, same\norder as `values`) or `cell_counts` (total cells; h = N^(-1/`dimensions`)). With\nTHREE values the order is measured and the safety factor is 1.25; with TWO it must\nbe assumed (`assumed_order`, default 2.0) and the factor triples to 3.0 — a much\nwider band, which is the honest price of the missing mesh.\n\nWatch three fields before quoting the band: `monotonic` False means the solutions\noscillate and the extrapolation is not meaningful (usually an unconverged level,\nnot a mesh effect); `asymptotic_ratio` far from 1 means the meshes have not reached\nthe range where the theory holds, so `gci_pct` is a LOWER bound; `order_clamped`\nTrue means the fitted order was unphysical and a clamped one was used.\n\nReturns {n_levels, values, cell_sizes, refinement_ratios, observed_order,\norder_used, order_clamped, extrapolated_value, gci_pct, gci_coarse_pct, band_pct,\nrelative_error_pct, monotonic, asymptotic_ratio, safety_factor, converged_fit,\nfidelity, warnings}.","inputSchema":{"properties":{"assumed_order":{"default":2.0,"title":"Assumed Order","type":"number"},"cell_counts":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Cell Counts"},"cell_sizes":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Cell Sizes"},"dimensions":{"default":3,"title":"Dimensions","type":"integer"},"values":{"items":{},"title":"Values","type":"array"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["values"],"title":"grid_convergenceArguments","type":"object"},"name":"grid_convergence","title":"Grid Convergence"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"CFD Mesh Independence Submit"},"description":"Solve the same CFD case at 2-3 refined meshes and report the Grid Convergence\nIndex — asynchronous, one job for the whole ladder. Requires OpenFOAM; degrades to\n{ok:false, reason, install} when it does not resolve.\n\nAnswers the question no single solve can: **is this number a property of the flow,\nor of the mesh?** On geometry with no analytic twin that band is the only error bar\navailable, and it is what turns \"a solver produced 0.31\" into \"0.31 ± 2 %\".\n\nTwo families, dispatched like their single-solve twins:\n- **the wind tunnel** — pass `model` (or `body`) + `velocity_m_s`, plus any\n  cfd_external_flow_submit knob. The ladder varies the background cell; the body is\n  tessellated ONCE and shared, so the study isolates mesh error instead of mixing in\n  a changing STL. Default `metric` 'cd'.\n- **the straight pipe** — pass `diameter_mm`, `length_mm`, `velocity_m_s` (or\n  `flow_rate_lpm`). The ladder scales `n_axial`/`n_radial`. Default `metric`\n  'pressure_drop_pa'.\n\nThe COARSEST level is the mesh a plain submit would have built and the study refines\nfrom there (the tunnel's default cell is already the coarsest that resolves the body\nat all). Cost therefore grows as the cube of `refinement_ratio`: 3 levels at 1.5 puts\nroughly 11x the cells in the finest mesh, so budget accordingly. `end_time` is the\ncap for the COARSEST level and is scaled up for the finer ones — a fine mesh needs\nproportionally more sweeps, and a study whose finest level quietly stopped at its cap\nis worthless.\n\nReturns the degradation dict, or {job_id, status, cache_hit}; poll job_result for\n{ok, family, metric, levels: [{label, value, cell_size_m, n_cells, converged,\nreturncode, case_dir}], grid_convergence: {observed_order, extrapolated_value,\ngci_pct, monotonic, asymptotic_ratio, order_clamped, warnings, ...}, band_pct,\nextrapolated_value, hagen_poiseuille_pa (pipe family), warnings}.","inputSchema":{"properties":{"base_cell_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Base Cell Mm"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Body"},"diameter_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Diameter Mm"},"end_time":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"End Time"},"flow_direction":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Flow Direction"},"flow_rate_lpm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Flow Rate Lpm"},"fluid":{"default":"air-20c","title":"Fluid","type":"string"},"length_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Length Mm"},"levels":{"default":3,"title":"Levels","type":"integer"},"metric":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Metric"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Model"},"mu_pa_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Mu Pa S"},"n_axial":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"N Axial"},"n_radial":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"N Radial"},"refinement_ratio":{"default":1.5,"title":"Refinement Ratio","type":"number"},"rho_kg_m3":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Rho Kg M3"},"surface_refine":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Surface Refine"},"turbulence":{"default":"laminar","title":"Turbulence","type":"string"},"velocity_m_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Velocity M S"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"cfd_mesh_independence_submitArguments","type":"object"},"name":"cfd_mesh_independence_submit","title":"CFD Mesh Independence Submit"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"CFD Body Drag"},"description":"Analytic EXTERNAL-flow drag screen (NO solver, milliseconds) — the external twin\nof cfd_pipe_flow, and the banded oracle the wind-tunnel solve\ncfd_external_flow_submit(model=…) is checked against. Use this FIRST to narrow a\ndesign space; escalate to the solve only for the shapes that survive.\n\nThree families:\n- `shape='sphere'` — Clift–Gauvin over the whole standard drag curve, Cd =\n  24/Re·(1+0.15·Re^0.687) + 0.42/(1+4.25e4·Re^-1.16). Collapses to the EXACT Stokes\n  24/Re as Re→0; valid to Re=2e5 (it does not model the drag crisis). Pass\n  `diameter_mm` + `velocity_m_s`.\n- `shape='cylinder'` — Sucker–Brauer crossflow Cd (axis ⟂ flow), Cd ≈ 10 at Re=1,\n  1.45 at Re=100, 1.2 at Re=1e5. Pass `diameter_mm`, `velocity_m_s`, optional\n  `length_mm` (default 1 m, i.e. drag per unit span; L/D<10 warns about end relief).\n- a tabulated bluff/streamlined shape — 'cube_face_on', 'flat_plate_normal',\n  'hemisphere_open_back', 'streamlined_body', 'car_modern', … (`shape='list'`\n  returns the whole table). Needs `frontal_area_mm2` (or a `model` handle, whose\n  silhouette along `flow_direction` is measured off the live solid) + `velocity_m_s`;\n  `cd` overrides the table with a known value.\n\nFidelity: sphere/cylinder are correlations with band_pct 10/15; the table is\nband_pct 20 and only valid for Re ≈ 1e4–1e6 on a shape that genuinely matches.\n\nReturns {cd, drag_force_n, frontal_area_m2, dynamic_pressure_pa, velocity_m_s,\nfidelity, band_pct, escalate_to} plus {reynolds, regime, valid_range_ok, warnings}\nfor sphere/cylinder — or {shapes: {name: cd}} for shape='list'.","inputSchema":{"properties":{"cd":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Cd"},"diameter_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Diameter Mm"},"flow_direction":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Flow Direction"},"fluid":{"default":"air-20c","title":"Fluid","type":"string"},"frontal_area_mm2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Frontal Area Mm2"},"length_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Length Mm"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Model"},"mu_pa_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Mu Pa S"},"rho_kg_m3":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Rho Kg M3"},"shape":{"default":"sphere","title":"Shape","type":"string"},"stl_tolerance_mm":{"default":0.2,"title":"Stl Tolerance Mm","type":"number"},"velocity_m_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Velocity M S"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"cfd_body_dragArguments","type":"object"},"name":"cfd_body_drag","title":"CFD Body Drag"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"CFD External Flow Submit"},"description":"External-flow CFD (drag/lift) via OpenFOAM or SU2, asynchronous. Requires an\nOpenFOAM (apt/conda) or SU2 binary; when none resolves this returns {ok:false,\nreason, install} rather than raising. The two case-BUILDING modes below need\nOpenFOAM specifically — they emit OpenFOAM dictionaries; SU2 only ever runs a\n`case_dir` you prepared yourself, which is why solve_capabilities does not count\nit toward the cfd family's any_available (issue #237). Three modes:\n\n- **Put a real solid in the virtual wind tunnel** (issue #223): pass a `model` (or\n  `body`) handle + `velocity_m_s`. The solid's faces tessellate into an STL, a\n  farfield box is auto-sized around it by standard practice (5L upstream / 10L\n  downstream / 5L lateral, overridable via `upstream_factor`/`downstream_factor`/\n  `lateral_factor`; the reported `blockage_ratio` warns past 5 %), snappyHexMesh\n  carves the body out, and the `forces` function object integrates pressure +\n  viscous traction over it. Cd/Cl/Cm come back on the MEASURED frontal silhouette\n  along `flow_direction` (default +x; exact for a convex body — override with\n  `frontal_area_mm2` for a re-entrant one) and `reference_length_mm` (default: the\n  largest bbox dimension). Mesh knobs: `base_cell_mm` (default L/2 — a coarser cell\n  is REJECTED, since snappy would then mesh an empty tunnel and report ~0 drag),\n  `surface_refine` [min,max] levels, `wake_refine`, `stl_tolerance_mm`, `end_time`.\n  **Trust**: the laminar path is gated live against the sphere drag curve at Re=1\n  and Re=100 (within ~2 %); `turbulence='kOmegaSST'` runs but has no verified\n  oracle for arbitrary bodies and comes back `gated:false`. Past Re≈1000 a laminar\n  request is flagged in `warnings` rather than silently answered.\n- **Build the flat-plate validation case** (no `model`): pass `velocity_m_s`, with\n  optional `plate_length_mm` (default 100), a `fluid` name ('air-20c','water-20c',…)\n  or explicit `mu_pa_s`+`rho_kg_m3`, and mesh knobs `nx_plate`/`n_y`/`end_time`.\n  THIS MODE SOLVES A FLAT PLATE, never the caller's geometry: a 2-D laminar plate\n  with a clean leading edge (slip→plate→slip, far-field top), whose wall-shear drag\n  is integrated from the converged U field and returned next to the Blasius\n  reference Cf=1.328/√Re_L (`blasius_ratio`≈1, ~15 %). `turbulence='kOmegaSST'`\n  upgrades it to RANS (default plate_length 1000 mm so Re_L > transition), gated\n  BANDED against the mixed-transition Cf = 0.074·Re^(−1/5) − A/Re.\n- **Run a prepared `case_dir`** (optionally an `application`); OpenFOAM runs with\n  its environment sourced, an SU2 case (`*.cfg` + `*.su2` mesh) runs as a direct\n  native subprocess — no bash/WSL needed, including on Windows.\n\nReturns the degradation dict, or {job_id, status, cache_hit}; poll job_result. Body\nmode: {ok, returncode, cd, cl, cm, drag_force_n, drag_pressure_n, drag_viscous_n,\nlift_force_n, force_total_n, moment_total_nm, force_drift_pct, n_force_samples,\nreynolds, reference_length_m, frontal_area_m2, frontal_area_source,\nmoment_reference_m (the bbox centre moments are taken about, not the global origin),\nblockage_ratio, base_cell_m, converged, gated, warnings, case_dir}. Flat plate: {ok, returncode,\nreynolds_l, cd, cf_solved, cf_blasius, blasius_ratio, drag_force_n, drag_momentum_n,\ndrag_blasius_n, n_cells, case_dir}; RANS plate swaps the gate fields for {cf_solved\n(momentum), cf_mixed_ref, cf_mixed_ratio, cf_turbulent_ref, cf_wall_corrected,\ny_plus_estimate, band_pct}. Prepared case: {ok, returncode, solver, application,\ncase_dir, kind, stdout_tail}.","inputSchema":{"properties":{"application":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Application"},"base_cell_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Base Cell Mm"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Body"},"case_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Case Dir"},"downstream_factor":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Downstream Factor"},"end_time":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"End Time"},"flow_direction":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Flow Direction"},"fluid":{"default":"air-20c","title":"Fluid","type":"string"},"frontal_area_mm2":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Frontal Area Mm2"},"lateral_factor":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Lateral Factor"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Model"},"mu_pa_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Mu Pa S"},"n_y":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"N Y"},"nx_plate":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Nx Plate"},"plate_length_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Plate Length Mm"},"reference_length_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Reference Length Mm"},"rho_kg_m3":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Rho Kg M3"},"stl_tolerance_mm":{"default":0.2,"title":"Stl Tolerance Mm","type":"number"},"surface_refine":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Surface Refine"},"turbulence":{"default":"laminar","title":"Turbulence","type":"string"},"upstream_factor":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Upstream Factor"},"velocity_m_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Velocity M S"},"wake_refine":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Wake Refine"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"cfd_external_flow_submitArguments","type":"object"},"name":"cfd_external_flow_submit","title":"CFD External Flow Submit"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Molding Fill Submit"},"description":"Injection-molding FILL (+ optional PACK/COOL) solve, asynchronous — the higher-\nfidelity twin\n`molding_screen` escalates to. Answers *can this geometry actually be molded*:\nshort-shot / fill ability (the strongest, most reliable gate), fill time, and a\npeak injection-pressure proxy — a real two-phase (melt + air) flow solve, not the\nspiral-flow correlation. Requires an OpenFOAM binary; when none resolves this\nreturns {ok:false, reason, install} rather than raising.\n\nBackend: when the **openInjMoldSim** binary resolves (GPL-3.0, a modified\ncompressibleInterFoam on OpenFOAM-7 .org — Cross-WLF + 2-domain Tait), the worker\n**generates and runs an OF7-org case from the params below** (or runs a prepared\n`case_dir` if given) — a pressure-driven, non-isothermal plaque fill with the\nCross-WLF/Tait coefficients pulled from the materials corpus for `resin`. Where\nthat build is absent it falls back to a 2-D plaque-cavity **interFoam** VOF case on\nthe existing OpenFOAM (.com/ESI) — same physics family, answers fill/short-shot but\nnot packing. The GPL solver is held at the subprocess boundary (never imported).\n\nopenInjMoldSim (OF7) params: `resin` (corpus key, default \"PS\"), `length_mm`,\n`wall_thickness_mm` (gap), `depth_mm`, `nx`/`ny`, `peak_pressure_mpa` (gate ramp,\ndefault 2), `melt_temp_c` (220), `mold_temp_c` (60), `wall_h_w_m2k` (wall heat-\ntransfer coeff; default ~adiabatic for a clean fill — raise for freeze-off),\n`fill_end` (terminate fraction, default 0.98). Pass `application` to force the\ninterFoam-prepared path.\n\n**Packing/cooling** (openInjMoldSim only): set `stages=\"fill_pack\"` to also run the\ncooling continuation after fill (seal the gate, switch walls to cooling, hold). Knobs:\n`pack_phases` (default 2), `cool_window_s` (cooling duration; default a few× the fill\ntime — note a 1 mm wall cools in ~seconds, so a short window gives partial cooling),\n`eject_temp_c` (for cooling-time; default 80), `pack_wall_h_w_m2k` (cool-side wall\ncoeff; default 1250). The pack result adds `pack:{rho_mean_final, rho_min,\nvolumetric_shrinkage_pct, frozen_fraction, cooling_time_s, residual_pressure_pa}` and\n`pack_gate:{pass (on sink risk), score, volumetric_shrinkage_pct,\nexpected_densification_pct (Tait-EOS), pvt_faithful, sink_risk, warnings}`.\n\n**Net mold shrinkage** (the cavity-sizing number; issue #116) — distinct from\npack_gate's raw-PVT densification. The fill_pack result also models the packing-feed\nmake-up (melt fed at the hold pressure until the gate freezes at the Tait no-flow\ntransition; only the uncompensated post-gate-freeze densification is net shrinkage)\nand gates it against the resin's published linear band. `hold_pressure_pa` (effective\ncavity packing pressure; default = the ramp peak), `room_temp_c` (free-part relax\ntemperature; default 23). Adds `net_shrinkage:{net_linear_pct, net_vol_pct,\nraw_vol_pct, compensated_vol_pct, gate_freeze_temp_k}` and `shrinkage_gate:{pass (in\ncorpus band), score, net_linear_pct, corpus_band_pct, in_band, warnings}`. Plus\n`cooling_dT_through_k` — the antisymmetric through-thickness differential auto-derived\nfrom the cooling field, ready to flow straight into `molding_warpage_submit` (pass it,\nor pass this result's `case_dir`+`nx`/`ny` as `cooling_case_dir` etc.).\n\n**Asymmetric per-wall cooling** (#134): set `pack_wall_h_low_w_m2k` and\n`pack_wall_h_high_w_m2k` (the y=0 and y=H mold-face heat-transfer coeffs) to DIFFERENT\nvalues to model an asymmetric cool — the case is meshed with split `wallLow`/`wallHigh`\npatches and each face cools at its own rate, freezing a real through-thickness bending\ndifferential. This is what makes the live `cooling_dT_through_k` nonzero (a symmetric\ncool correctly gives ≈0 → no warp). The part bows toward the slower-cooled (lower-h,\nhotter, last-to-freeze) face; the result adds `asymmetric_cooling:{pack_wall_h_low_w_m2k,\npack_wall_h_high_w_m2k, warps_toward}`. Leave both unset (or equal) for the default\nsymmetric cool. Feed the resulting `case_dir` into `molding_warpage_submit` to predict\nthe warp magnitude.\n\nDrive the interFoam path with cavity + process params:\n- `length_mm` (flow length, default 100), `wall_thickness_mm` (cavity height,\n  default 2), `depth_mm` (out-of-plane, default 1), mesh `nx`/`ny`.\n- `inject_velocity_m_s` OR `flow_rate_cm3_s` (+ optional `gate_height_mm` for the\n  gate area) — the melt mean inlet speed.\n- melt rheology: `melt_rho_kg_m3` (default 900), `melt_nu_m2_s` (kinematic, default\n  1e-3) for Newtonian, or a `carreau` {nu0,nuInf,k,n} BirdCarreau dict (the\n  shear-thinning Cross-WLF stand-in).\n- `end_time_s` (run bound; default ≈4× the plug-flow fill time),\n  `machine_max_pressure_pa` (press limit, default 180 MPa), `fill_fraction_pass`\n  (full-fill threshold, default 0.97).\nOr pass a prepared `case_dir` to run the resolved solver directly.\n\nReturns the degradation dict, or {job_id, status, cache_hit}; poll job_result.\ninterFoam result: {ok, returncode, backend, case_dir, expected_fill_time_s,\nflow_length_ratio, fill:{filled_fraction, filled_cell_fraction, front_x_frac,\nlast_to_fill_x_frac, max_pressure_pa}, gate:{pass, score, fidelity:\"solve\",\nband_pct, short_shot, fill_time_s, max_pressure_pa, pressure_ok, warnings}}.","inputSchema":{"properties":{"application":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Application"},"carreau":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Carreau"},"case_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Case Dir"},"cool_window_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Cool Window S"},"depth_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Depth Mm"},"eject_temp_c":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Eject Temp C"},"end_time_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"End Time S"},"fill_end":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Fill End"},"fill_fraction_pass":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Fill Fraction Pass"},"flow_rate_cm3_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Flow Rate Cm3 S"},"gate_height_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Gate Height Mm"},"hold_pressure_pa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Hold Pressure Pa"},"inject_velocity_m_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Inject Velocity M S"},"length_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Length Mm"},"machine_max_pressure_pa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Machine Max Pressure Pa"},"melt_nu_m2_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Melt Nu M2 S"},"melt_rho_kg_m3":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Melt Rho Kg M3"},"melt_temp_c":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Melt Temp C"},"mold_temp_c":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Mold Temp C"},"nx":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Nx"},"ny":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Ny"},"pack_phases":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Pack Phases"},"pack_wall_h_high_w_m2k":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Pack Wall H High W M2K"},"pack_wall_h_low_w_m2k":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Pack Wall H Low W M2K"},"pack_wall_h_w_m2k":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Pack Wall H W M2K"},"peak_pressure_mpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Peak Pressure Mpa"},"resin":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Resin"},"room_temp_c":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Room Temp C"},"stages":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Stages"},"wall_h_w_m2k":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Wall H W M2K"},"wall_thickness_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Wall Thickness Mm"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"molding_fill_submitArguments","type":"object"},"name":"molding_fill_submit","title":"Molding Fill Submit"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Molding Warpage Submit"},"description":"Injection-molding **WARPAGE / residual distortion**, asynchronous — the FEM\nthermo-elastic post-step of the cooling solve (GitHub issue #113 Part B; the\nhigher-fidelity twin of the #104 CTE shrinkage screen). Answers *will the part bow\nout of flat once it cools and is ejected*. Requires the `ccx` (CalculiX) binary;\nwhen none resolves this returns {ok:false, reason, install} rather than raising.\n\nThe physics: a moulding shrinks as it cools (CTE); **uniform** shrinkage just makes\nit smaller, but **differential** shrinkage warps it. The dominant driver is the\nasymmetric frozen-in through-thickness temperature field at ejection (an unbalanced\ncooling layout, one mould half hotter, a rib on one face). Pass that as\n`dT_through_k` (K, the through-thickness differential: T at the thin-face minimum\nminus the maximum). The worker meshes `body`, imposes the field as a thermal\neigenstrain, pins a statically-determinate 3-2-1 constraint, and solves the free\nlinear-elastic distortion in ccx. A balanced field (`dT_through_k≈0`) warps ~0; an\nasymmetric one bows to the analytic plate curvature (κ=α·ΔT/h), directionally\ncorrect.\n\nBackend: CalculiX (`ccx`), driven by a deck the worker writes directly (the GPL\nsolver is held at the subprocess boundary, never imported). Units mm / MPa / 1/K /\n°C, so warp comes back in **mm**.\n\n**Coupled cooling hand-off** (issue #116): instead of hand-passing `dT_through_k`,\npass `cooling_case_dir` (a `molding_fill_submit(stages=\"fill_pack\")` result's\n`case_dir`) with `cooling_nx`/`cooling_ny` (the cooling case mesh; defaults 60/8) and\noptional `cooling_nz`/`cooling_time` — the worker reads that cooling solve's cell-\ncentre temperature field and auto-derives the antisymmetric (bending) through-\nthickness differential. The result reports `dT_through_k` and `dT_source`.\n\nParams: `body` (a shape handle — the part), and **either** `dT_through_k` **or**\n`cooling_case_dir` (one is required). Material\nelastic props from `material` (corpus card) or explicit `youngs_mpa`/`poisson`/\n`cte_per_k` — solidified-resin defaults are used with a warning otherwise (the\ncorpus rheology cards don't carry structural props). `ref_temp_c` is the stress-\nfree / solidification temperature (warp is invariant to it — it only scales the\nreported residual stress). `char_length_mm` sets the mesh size; `thickness_axis`\n('x'|'y'|'z') overrides the auto-detected through-thickness axis; `flatness_tol_mm`\nor `flatness_tol_frac` (default 0.2 % of span) set the gate tolerance.\n\nFidelity caveat: a one-way, linear-elastic, loose coupling — it ignores\nviscoelastic stress relaxation, flow-induced anisotropy, and the packing-pressure\nresidual; it captures the dominant differential-shrinkage warp and its direction,\nnot a calibrated absolute. `fidelity=\"solve\"` with a conservative `band_pct`; read\nthe band.\n\nReturns the degradation dict, or {job_id, status, cache_hit}; poll job_result for\n{ok, returncode, solver, case_dir, nodes, tets, warp_axis, span_mm, thickness_mm,\ndT_through_k, dT_source, analytic_bow_mm, gate} where gate is {pass (on flatness),\nscore, fidelity:\"solve\", band_pct, max_warp_mm, flatness_tol_mm, warp_per_span,\nmax_disp_mm, warp_faithful, analytic_bow_mm, warnings}.","inputSchema":{"properties":{"body":{"title":"Body","type":"string"},"char_length_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Char Length Mm"},"cooling_case_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Cooling Case Dir"},"cooling_nx":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Cooling Nx"},"cooling_ny":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Cooling Ny"},"cooling_nz":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Cooling Nz"},"cooling_time":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Cooling Time"},"cte_per_k":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Cte Per K"},"dT_through_k":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Dt Through K"},"flatness_tol_frac":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Flatness Tol Frac"},"flatness_tol_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Flatness Tol Mm"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"poisson":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Poisson"},"ref_temp_c":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Ref Temp C"},"thickness_axis":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Thickness Axis"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"youngs_mpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Youngs Mpa"}},"required":["body"],"title":"molding_warpage_submitArguments","type":"object"},"name":"molding_warpage_submit","title":"Molding Warpage Submit"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Random Vibration"},"description":"Random-vibration response off a modal run (Miles' equation; closed-form, no\nexternal solver). Provide either `analysis` (a handle whose fem_modal + fem_run\nalready produced natural frequencies) or an explicit `frequencies_hz` list, plus\na base-acceleration PSD `psd_profile` ([{\"hz\":20,\"g2_hz\":0.01}, ...]; log-log\ninterpolated, and zero outside its band so a mode stiffened above the band\nescapes drive). Each mode is an SDOF resonator with amplification `q` (default\n10; rule of thumb Q≈√f_n), combined by SRSS: rms_g = sqrt(Σ (π/2)·f·W(f)·Q).\nWith `modal_stress_mpa_per_g` the g response converts to RMS / 3-σ stress; add\n`allowable_stress_mpa` for a pass/fail.\n\nReturns {rms_g, first_mode_hz, dominant_mode_hz, q, psd_band_hz, miles_grms_g,\nmodes: [{mode, frequency_hz, psd_g2_hz, contribution_g, in_band}], rms_stress_mpa,\nthree_sigma_stress_mpa, pass}.","inputSchema":{"properties":{"allowable_stress_mpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Allowable Stress Mpa"},"analysis":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Analysis"},"frequencies_hz":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Frequencies Hz"},"modal_stress_mpa_per_g":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Modal Stress Mpa Per G"},"psd_profile":{"items":{},"title":"Psd Profile","type":"array"},"q":{"default":10.0,"title":"Q","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["psd_profile"],"title":"random_vibrationArguments","type":"object"},"name":"random_vibration","title":"Random Vibration"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Beam Modal"},"description":"Exact Euler-Bernoulli natural frequencies of a uniform rectangular beam — the\nclosed-form modal oracle (no solver), and the band the CalculiX `fem_modal`\neigen-solve is gated against. f_n = (βL)_n²/(2π)·sqrt(E·I/(ρ·A·L⁴)); the beam bends\nin `height_mm` (I = width·height³/12, so a slender beam's lowest mode is the\nthinnest-direction bend). `boundary`: 'cantilever' | 'simply_supported' |\n'clamped_clamped' | 'free_free' | 'clamped_pinned' (up to 5 modes each). Material\nvia `youngs_gpa`+`density_kg_m3`, or a Materials-DB `material` name. Slender-beam\ntheory — accurate while length ≫ height (thick beams need a Timoshenko correction).\n\nReturns {boundary, n_modes, frequencies_hz, beta_l, first_mode_hz, youngs_gpa,\ndensity_kg_m3, area_mm2, I_mm4, slenderness}.","inputSchema":{"properties":{"boundary":{"default":"cantilever","title":"Boundary","type":"string"},"density_kg_m3":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Density Kg M3"},"height_mm":{"title":"Height Mm","type":"number"},"length_mm":{"title":"Length Mm","type":"number"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"n_modes":{"default":3,"title":"N Modes","type":"integer"},"width_mm":{"title":"Width Mm","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"youngs_gpa":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Youngs Gpa"}},"required":["length_mm","width_mm","height_mm"],"title":"beam_modalArguments","type":"object"},"name":"beam_modal","title":"Beam Modal"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"DFM Check"},"description":"Screen a part for manufacturability against a pull/tool axis. Give a\nhand-built `faces` list of {name, draft_deg, wall_mm?} — draft_deg relative to\npull_axis (0 = a vertical wall needing draft; <0 = a re-entrant undercut) — OR\na live `handle`, whose per-face descriptors are read off the solid (draft vs\nthe pull axis + a ray-cast undercut test + inward-chord wall sampling) and\nscored identically (v2 Shape wiring). draft_violations are 0≤draft<min_draft_deg,\nundercut_faces are draft<0, min_wall_violations are wall_mm<min_wall_mm\n(defaults by process: injection 1.0, cnc 0.5, sheet/fdm 0.8).\n\nSheet metal: a `handle` built by sheet_base/sheet_flange/sheet_tab/sheet_hem is\nALSO screened against the press-brake rules (minimum bend radius by material,\nminimum flange length, hole-to-bend distance, refold collision) with no extra\nargument — those rules are DELEGATED to the same implementation sheet_check\ncalls, so the two tools cannot return different verdicts on one part. Pass an\nexplicit `sheet` block {thickness_mm, material?, bends, holes?, interferences?}\nto screen bends on a part AnkusDrive did not model.\n\nReturns {process, pull_axis, min_wall_mm, draft_violations, undercut_faces,\nmin_wall_violations, score, pass} — plus n_faces + wall_thickness_stats on the\nhandle path, and a `sheet` sub-result {ok, findings, rules, fidelity, band_pct}\nwhose failures also gate `pass` on the sheet-metal path.","inputSchema":{"properties":{"faces":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Faces"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Handle"},"min_draft_deg":{"default":1.0,"title":"Min Draft Deg","type":"number"},"min_wall_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Min Wall Mm"},"process":{"default":"injection","title":"Process","type":"string"},"pull_axis":{"default":"+z","title":"Pull Axis","type":"string"},"sheet":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Sheet"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"dfm_checkArguments","type":"object"},"name":"dfm_check","title":"DFM Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Optics Raytrace"},"description":"Ray-trace a bundle through a dielectric optical model with rayoptics\n(asynchronous-free; needs no FreeCAD geometry). Requires the rayoptics wheel\n(the `optics` extra); when it does not resolve this returns {ok:false, reason,\ninstall} rather than raising. The geometric refraction comes from rayoptics;\nthe Fresnel/TIR energy split + the exit histogram come from the exact\nanalysis/optics core, so the trace is gated against that oracle\n(`oracle_max_dev_deg` = max rayoptics−Snell exit-angle deviation, ~0).\n\n`n_refractive` is the medium index n2 (default PMMA 1.49062). `source_config`\nis {kind:'collimated'(angle_deg)|'cone'(half_angle_deg)|'lambertian'\n(max_angle_deg)} (default collimated at normal incidence). `model` may carry\n{n1 (incident index, default air 1.0), absorption (0..1 bulk loss),\ntarget_half_angle_deg (the acceptance cone counted as efficiency)}.\n\nReturns the degradation dict, or {ok, backend:'rayoptics', rayoptics_version,\nn_rays, n1, n2, critical_angle_deg, efficiency, leakage_fraction,\nabsorbed_fraction, tir_fraction, energy_balance, oracle_max_dev_deg,\nexit_distribution:[{angle_deg,intensity}], hotspot_locations}.","inputSchema":{"properties":{"model":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Model"},"n_rays":{"default":64,"title":"N Rays","type":"integer"},"n_refractive":{"default":1.49062,"title":"N Refractive","type":"number"},"source_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Source Config"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"optics_raytraceArguments","type":"object"},"name":"optics_raytrace","title":"Optics Raytrace"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Optics Lens Design"},"description":"First-order + spot analysis of a SEQUENTIAL optical system with optiland\n(MIT, in-process). Requires the `optics` extra; degrades to {ok:false, reason,\ninstall} otherwise. For a single lens optiland is gated against the analytic\nthick-lens oracle (`oracle_dev_pct`).\n\n`surfaces`: list (object->image) of {radius, thickness, material, stop?} — exactly\none surface must set stop:true (the aperture stop). `epd` (entrance-pupil dia)\nOR `fno`. `wavelengths_um` (first is primary, default [0.5876]). `field_angles_deg`\n(default [0.0]). `image_solve` solves the last gap to paraxial focus.\n\nReturns the degradation dict, or {ok, backend:'optiland', optiland_version,\nefl_mm, bfl_mm, fno, n_surfaces, rms_spot_um:[per field], oracle_efl_mm,\noracle_dev_pct}.","inputSchema":{"properties":{"epd":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Epd"},"field_angles_deg":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Field Angles Deg"},"fno":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Fno"},"image_solve":{"default":true,"title":"Image Solve","type":"boolean"},"surfaces":{"items":{},"title":"Surfaces","type":"array"},"want_spot":{"default":true,"title":"Want Spot","type":"boolean"},"wavelengths_um":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Wavelengths Um"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["surfaces"],"title":"optics_lens_designArguments","type":"object"},"name":"optics_lens_design","title":"Optics Lens Design"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Optics Lens Optimize"},"description":"Optimize a SEQUENTIAL optical system with optiland's optimizer (MIT,\nin-process) — the capability rayoptics lacks. Requires the `optics` extra;\ndegrades to {ok:false, reason, install} otherwise.\n\n`surfaces`: as in optics_lens_design. `variables`: [{type:'radius'|'thickness',\nsurface:<1-based int>}] — the degrees of freedom. `targets`: [{operand:'f2'|\n'rms_spot_size'|…, target, weight?, surface?}] — the merit function. `maxiter`\ncaps iterations.\n\nReturns the degradation dict, or {ok, backend:'optiland', converged, n_fev,\nbefore:{efl_mm,rss}, after:{efl_mm,rss}, surfaces:[optimized]}.","inputSchema":{"properties":{"epd":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Epd"},"field_angles_deg":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Field Angles Deg"},"maxiter":{"default":200,"title":"Maxiter","type":"integer"},"surfaces":{"items":{},"title":"Surfaces","type":"array"},"targets":{"items":{},"title":"Targets","type":"array"},"variables":{"items":{},"title":"Variables","type":"array"},"wavelengths_um":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Wavelengths Um"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["surfaces","variables","targets"],"title":"optics_lens_optimizeArguments","type":"object"},"name":"optics_lens_optimize","title":"Optics Lens Optimize"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Optics Solid Trace"},"description":"NON-SEQUENTIAL ray trace through a real solid (STL mesh) with a refractive\nindex — the lane for molded optical parts (light-pipes, prisms, lenses). Backed\nby KrakenOS, which is GPL-3.0 and is run ONLY in a subprocess (the parent never\nimports it — same arm's-length isolation as the GPL Elmer/OpenFOAM binaries).\nRequires the `optics_gpl` extra; degrades to {ok:false, reason, install} otherwise.\n\nGeometry: pass a `model` handle (exported to STL here) OR a ready `stl_path`.\nMaterial: `glass` (KrakenOS catalog name, e.g. 'BK7') or `n_refractive` (constant\nindex). `rays`: [{origin:[x,y,z], dir:[l,m,n]}]; each ray's turn_deg is its\ninput->exit bend (~90 for a TIR corner prism, ~0 for a straight pass). `solid`:\n{diameter, thickness, axis_move} placement. `wavelength_um` default 0.55.\n`want_paths` (default False): also return each valid ray's polyline as\n`paths` — the per-surface hit points [[x,y,z], ...] in the traced frame.\nThe LAST point of each path is the ray's EXIT LOCATION on the solid, so the\nspatial exit/leakage map a diffuser needs can be reconstructed from it.\n\nReturns the degradation dict, or {ok, backend:'KrakenOS (subprocess-isolated,\nGPL-3.0)', n_launched, n_valid, valid_fraction, mean_turn_deg, max_turn_deg,\nrays:[{valid, exit_dir, turn_deg}], stl_path, paths?:[[[x,y,z],...],...]}.","inputSchema":{"properties":{"glass":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Glass"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Model"},"n_refractive":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"N Refractive"},"rays":{"items":{},"title":"Rays","type":"array"},"solid":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Solid"},"stl_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Stl Path"},"want_paths":{"default":false,"title":"Want Paths","type":"boolean"},"wavelength_um":{"default":0.55,"title":"Wavelength Um","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["rays"],"title":"optics_solid_traceArguments","type":"object"},"name":"optics_solid_trace","title":"Optics Solid Trace"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Granular Screen"},"description":"Closed-form granular/powder-mechanics oracles — banded correlations, NO\nexternal solver (the FreeCAD-free analytic twins the YADE DEM solve is gated\nagainst). These are correlations, not exact theory, so each returns\nfidelity='correlation' + an honest [low, high] band; the band IS the oracle.\nDispatch on `problem`:\n\n  'packing' (regime='random_close'|'random_loose'|'fcc'[, coordination]) —\n      monodisperse sphere solid-volume fraction φ. RCP ≈ 0.637 (band\n      0.60–0.66), the random pile a real settle must hit, well below the\n      crystalline FCC/HCP 0.7405.\n  'beverloo' (outlet_m, particle_d_m[, bulk_density_kg_m3 | material]) —\n      flat-bottom hopper discharge W = C·ρ·√g·(D−k·d)^2.5 [kg/s]; flow ∝\n      outlet to the 2.5 power, independent of fill height.\n  'beverloo_exponent' (outlet1_m, flow1_kg_s, outlet2_m, flow2_kg_s\n      [, particle_d_m]) — recover the log-log flow exponent from two\n      (outlet, flow) points; granular 2.5 (band 2.2–2.8) vs Torricelli 2.0.\n  'repose' (friction_coeff[, saturation]) — poured-pile repose angle\n      θ ≈ atan(μ) + ±25% band.\n  'repose_monotone' (mu_low, repose_low_deg, mu_high, repose_high_deg) —\n      the steeper-with-friction monotonicity gate.\n\nSI units (m, kg/m³, kg/s, degrees). Escalate to dem_pack_submit /\ndem_flow_submit (the real YADE solve) for polydisperse mixes, non-spherical\ngrains, cohesion, or geometry this monodisperse idealization can't see.","inputSchema":{"properties":{"bulk_density_kg_m3":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Bulk Density Kg M3"},"coordination":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Coordination"},"flow1_kg_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Flow1 Kg S"},"flow2_kg_s":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Flow2 Kg S"},"friction_coeff":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Friction Coeff"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"mu_high":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Mu High"},"mu_low":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Mu Low"},"outlet1_m":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Outlet1 M"},"outlet2_m":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Outlet2 M"},"outlet_m":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Outlet M"},"particle_d_m":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Particle D M"},"problem":{"default":"packing","title":"Problem","type":"string"},"regime":{"default":"random_close","title":"Regime","type":"string"},"repose_high_deg":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Repose High Deg"},"repose_low_deg":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Repose Low Deg"},"saturation":{"default":1.0,"title":"Saturation","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"granular_screenArguments","type":"object"},"name":"granular_screen","title":"Granular Screen"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"DEM Pack Submit"},"description":"Pour N monodisperse spheres into a box and settle them under gravity with\nthe REAL YADE discrete-element engine, then measure the random close-packing\nfraction φ of the settled bed — gated against granular_screen('packing') (RCP\nband 0.60–0.66, well below the crystalline 0.7405). YADE is GPL-3.0 and is run\nONLY in a subprocess (the parent never imports it — same arm's-length\nisolation as the GPL Elmer/OpenFOAM binaries). Runs OFF the MCP channel via a\nbackground job, so a multi-second settle never blocks the worker.\n\n`box_m` is the [Lx, Ly] floor footprint (m; default [0.06, 0.06]); the column\nheight is sized to hold n_spheres. `friction_deg` is the inter-particle\nfriction angle; `young_pa` the contact modulus; `density` the grain density.\nReturns {job_id, status, cache_hit, oracle} (poll job_status / job_result);\nthe job result carries the oracle band PLUS the measured {packing_fraction,\npacking_fraction_bulk, in_band, gated_on, gated_fraction, n_settled,\nsettled_height_m, mean_coordination, positions:[[x,y,z,r]]}. `in_band` judges\nthe wall-free bulk φ (the whole-bed φ is deflated by loose wall and surface\nlayers); it falls back to the whole-bed φ only when the bed is too small to\nhave a bulk region, and `gated_on` names which fraction was judged.\nAbsent YADE: {ok:false, reason, install, oracle}.","inputSchema":{"properties":{"box_m":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Box M"},"density":{"default":2600.0,"title":"Density","type":"number"},"friction_deg":{"default":26.0,"title":"Friction Deg","type":"number"},"n_spheres":{"default":800,"title":"N Spheres","type":"integer"},"radius_m":{"default":0.004,"title":"Radius M","type":"number"},"steps":{"default":30000,"title":"Steps","type":"integer"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"young_pa":{"default":10000000.0,"title":"Young Pa","type":"number"}},"title":"dem_pack_submitArguments","type":"object"},"name":"dem_pack_submit","title":"DEM Pack Submit"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"DEM Flow Submit"},"description":"Discharge spheres from a flat-bottomed hopper box through a central orifice\nwith the REAL YADE discrete-element engine and measure the steady mass-flow\nrate — gated against granular_screen('beverloo') (flow ∝ outlet^2.5). Submit\ntwo `outlet_m` sizes and feed the (outlet, flow) pair to\ngranular_screen('beverloo_exponent') to check the Beverloo 2.5 exponent (vs the\nTorricelli 2.0 of a draining fluid). YADE is GPL-3.0 and is run ONLY in a\nsubprocess; runs OFF the MCP channel via a background job.\n\n`box_m` is the [Lx, Ly, Lz] hopper box (m; default [0.10, 0.10, 0.20]);\n`outlet_m` the central orifice diameter; `settle_steps`/`flow_steps` the DEM\nstep budgets. Returns {job_id, status, cache_hit, oracle}; the job result\ncarries the Beverloo oracle PLUS {mass_flow_kg_s, n_discharged,\ndischarge_time_s, positions:[...]}. Absent YADE: {ok:false, reason, install,\noracle}.","inputSchema":{"properties":{"box_m":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Box M"},"density":{"default":2600.0,"title":"Density","type":"number"},"flow_steps":{"default":60000,"title":"Flow Steps","type":"integer"},"friction_deg":{"default":26.0,"title":"Friction Deg","type":"number"},"n_spheres":{"default":1500,"title":"N Spheres","type":"integer"},"outlet_m":{"default":0.03,"title":"Outlet M","type":"number"},"radius_m":{"default":0.003,"title":"Radius M","type":"number"},"settle_steps":{"default":20000,"title":"Settle Steps","type":"integer"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"young_pa":{"default":10000000.0,"title":"Young Pa","type":"number"}},"title":"dem_flow_submitArguments","type":"object"},"name":"dem_flow_submit","title":"DEM Flow Submit"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Optics Moldability Check"},"description":"Moldability screen for a part against a single pull axis — geometric, no\nsolver. Resolves the `model` handle's solid, then per face computes the draft\nrelative to `pull_axis` from the outward normal (draft_deg = 90 − angle(normal,\npull); 0 = a wall parallel to the pull that needs draft) and ray-casts the face\ncentroid along ±pull: a face the straight pull frees in neither direction is a\nre-entrant UNDERCUT (reported with negative draft). Inward chords give a wall-\nthickness distribution. Scored through the same DfM machinery as dfm_check.\n\n`pull_axis`: '+z'/'-x'/… or an [x,y,z] vector. `process` ('injection'|'cnc'|\n'sheet'|'fdm') sets the default min wall; override with `min_wall_mm`.\n\nReturns {process, pull_axis, n_faces, undercut_faces, draft_violations,\nmin_wall_violations, wall_thickness_stats:{min_mm,mean_mm,max_mm,n}, score,\npass}.","inputSchema":{"properties":{"min_draft_deg":{"default":1.0,"title":"Min Draft Deg","type":"number"},"min_wall_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Min Wall Mm"},"model":{"title":"Model","type":"string"},"process":{"default":"injection","title":"Process","type":"string"},"pull_axis":{"default":"+z","title":"Pull Axis","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["model"],"title":"optics_moldability_checkArguments","type":"object"},"name":"optics_moldability_check","title":"Optics Moldability Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Moldability Check"},"description":"Geometry-aware moldability DFx screen — resolves the `model` handle's\nsolid, samples local wall thickness per face via inward chords (the same\nmachinery as optics_moldability_check), then grades it through the pure-Python\nmoldability screen: WALL-THICKNESS QUALITY (recommended-band range /\nuniformity / sink risk, cooling tied to the thickest wall) + the CTE\nSHRINKAGE estimate for the resin. Low-fidelity gate — escalate_to=\n'molding_fill_submit'.\n\n`material` drives the recommended-wall band, the CTE shrinkage, and cooling\n(degrades gracefully when the corpus lacks the issue #106 fields).\n`nominal_mm` anchors the range check (else the sampled-wall mean). The same\nshrinkage/thickness overrides as moldability_screen apply.\n\nReturns the moldability_screen verdict {thickness:{…}, shrinkage:{…}, pass,\nscore, fidelity, band_pct, warnings, escalate_to} plus {n_faces,\nn_wall_samples}.","inputSchema":{"properties":{"alpha_per_k":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Alpha Per K"},"fail_ratio":{"default":3.0,"title":"Fail Ratio","type":"number"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"model":{"title":"Model","type":"string"},"nominal_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Nominal Mm"},"sink_factor":{"default":1.5,"title":"Sink Factor","type":"number"},"t_ambient_c":{"default":23.0,"title":"T Ambient C","type":"number"},"t_solidify_c":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"T Solidify C"},"warn_ratio":{"default":2.0,"title":"Warn Ratio","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["model"],"title":"moldability_checkArguments","type":"object"},"name":"moldability_check","title":"Moldability Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"DFA Check"},"description":"Grade an assembly (Boothroyd-Dewhurst-lite). assembly_efficiency =\ntheoretical_min/(part_count+fastener_count) (theoretical_min = unique_part_count\nor 1); assembly_score scales that by a handling penalty from insertion_axes/\nsymmetry and decreases monotonically as part/fastener count rises. The grade is\nan ordinal index for comparing variants (fidelity='correlation', band_pct=None)\n— rank with it, don't gate on the absolute value. Returns\n{part_count, fastener_count, insertion_axes, handling_difficulty,\nassembly_efficiency, assembly_score, symmetry_score, fidelity, band_pct}.","inputSchema":{"properties":{"fastener_count":{"default":0,"title":"Fastener Count","type":"integer"},"insertion_axes":{"default":1,"title":"Insertion Axes","type":"integer"},"part_count":{"title":"Part Count","type":"integer"},"symmetric_fraction":{"default":0.0,"title":"Symmetric Fraction","type":"number"},"unique_part_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Unique Part Count"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["part_count"],"title":"dfa_checkArguments","type":"object"},"name":"dfa_check","title":"DFA Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Molding Pack Check"},"description":"Check a part against a shipping carton + compute billable weight.\npart_bbox_mm/carton_mm are [l,w,h] mm; `fits` allows reorientation (sorted-dim\ncompare). void_fraction = 1−vol(part)/vol(carton); dim_weight_kg =\nvol(carton cm³)/dim_factor (default 5000 metric DIM); billable_weight_kg =\nmax(actual, dimensional). Returns {fits, void_fraction, dim_weight_kg,\nactual_mass_kg, billable_weight_kg, pass}.","inputSchema":{"properties":{"carton_mm":{"items":{},"title":"Carton Mm","type":"array"},"dim_factor":{"default":5000.0,"title":"Dim Factor","type":"number"},"mass_g":{"title":"Mass G","type":"number"},"part_bbox_mm":{"items":{},"title":"Part Bbox Mm","type":"array"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["part_bbox_mm","carton_mm","mass_g"],"title":"pack_checkArguments","type":"object"},"name":"pack_check","title":"Molding Pack Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Cost Estimate"},"description":"Per-unit cost rollup (Design for Cost). material_cost = volume·density·price\n·(1+scrap) from the Materials DB (process: cnc | fdm | casting | injection).\nprocess_cost = amortized setup + per-process machine time; tooling amortized\nover quantity, so unit_cost falls as quantity rises. The machine-time table is\norder-of-magnitude (fidelity='correlation', band_pct=100) — trust the ratios\nbetween processes/quantities, not the absolute dollars; material_cost alone is\nexact given its inputs.\n\n`material` may be any Materials-DB card name (material_list / material_get), or\nanything at all if you price it yourself: `price_usd_kg` and `density_kg_m3`\noverride the DB lookup and are flagged in breakdown.price_basis /\ndensity_basis as 'explicit' instead of 'material'. A generic word like\n'aluminum' is a CATEGORY, not a card — it carries a density but no price, so it\nneeds `price_usd_kg` or a real card name (AL6061-T6, …); the error says which.\n\nTwo optional inputs sharpen it. `tolerance_class` ('IT7', '9', …) scales the\nTABLE machine time by the tolerance-cost curve (see tolerance_cost_check):\nholding tighter than the process's natural capability roughly doubles cost every\n1.5 IT grades. `machine_time_hr` REPLACES the table with a time a real model\ncomputed (cnc_time_estimate) and drops band_pct from 100 to that model's band\n(50 by default, or machine_time_band_pct); the tolerance factor is then not\napplied again, because cnc_time_estimate already applied the same curve.\nBoth default to None, reproducing the pre-existing behaviour exactly.\n\nReturns {material_cost, process_cost, tooling_amortized, unit_cost, mass_kg,\nfidelity, band_pct, breakdown:{…, density_kg_m3, price_usd_kg, density_basis,\nprice_basis, machine_time_hr, machine_time_basis, base_machine_time_hr,\ntolerance_class, tolerance_factor, tolerance_applied, tolerance_basis}}. Errors\non a material with no usable density/price and no override, an unknown\nprocess/tolerance class, or a non-positive volume/quantity/machine time.","inputSchema":{"properties":{"density_kg_m3":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Density Kg M3"},"machine_rate_usd_hr":{"default":60.0,"title":"Machine Rate Usd Hr","type":"number"},"machine_time_band_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Machine Time Band Pct"},"machine_time_hr":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Machine Time Hr"},"material":{"title":"Material","type":"string"},"price_usd_kg":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Price Usd Kg"},"process":{"default":"cnc","title":"Process","type":"string"},"quantity":{"default":1,"title":"Quantity","type":"integer"},"scrap_fraction":{"default":0.0,"title":"Scrap Fraction","type":"number"},"setup_min":{"default":10.0,"title":"Setup Min","type":"number"},"tolerance_class":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Tolerance Class"},"tooling_usd":{"default":0.0,"title":"Tooling Usd","type":"number"},"volume_mm3":{"title":"Volume Mm3","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["volume_mm3","material"],"title":"cost_estimateArguments","type":"object"},"name":"cost_estimate","title":"Cost Estimate"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Tolerance Cost Check"},"description":"Price a tolerance scheme against the process that has to hold it — the\nmissing link between tolerance_stackup (\"what tolerance works\") and\ncost_estimate (\"what does it cost\").\n\nPer toleranced dimension: its ISO 286 IT grade as a FLOAT (a band between IT6\nand IT7 reports 6.4, not 7), the cheapest machining operation that holds that\ngrade naturally (drilling ~IT11, milling ~IT10, turning ~IT9, reaming ~IT7,\ngrinding ~IT6), a relative cost index normalised to 1.0 at `process`'s natural\ncapability, and a verdict: 'ok', 'in_process_tightening' (tighter but reachable\nin the same operation), or 'needs_secondary_operation' — the flag, meaning the\npart silently acquired an operation nobody costed. `pass` is false when any link\nflags. Cost roughly doubles every 1.5 IT grades tightened below natural\ncapability; above it only inspection/scrap falls. `total_cost_index` is the sum,\nso two tolerance SCHEMES over the same chain compare directly.\n\n`chain` is the same [{name, nominal, plus, minus | tol}] tolerance_stackup\ntakes; instead pass a live `handle` (+ `axis`, `default_tol`, `general`) and the\nchain is derived off the solid the same way. `process`: cnc | injection |\ncasting | sheet | fdm | drilling | milling | turning | boring | reaming |\ngrinding | honing | lapping.\n\nfidelity='correlation', band_pct=50 — the RATIOS are defensible, the absolute\nindex is dimensionless and is not money. Returns {process, links:[{name,\nnominal_mm, band_mm, it_grade, cost_index, verdict, cheapest_operation,\nnatural_it, note}], n_links, total_cost_index, mean_cost_index, flagged, pass,\nfidelity, band_pct, basis, escalate_to}.","inputSchema":{"properties":{"axis":{"default":"+z","title":"Axis","type":"string"},"chain":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Chain"},"default_tol":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Default Tol"},"general":{"default":"m","title":"General","type":"string"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Handle"},"process":{"default":"cnc","title":"Process","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"tolerance_cost_checkArguments","type":"object"},"name":"tolerance_cost_check","title":"Tolerance Cost Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Suggest Loosening"},"description":"The loosest tolerance that works: which links can give up tolerance for the\nbiggest cost saving while the stack still passes.\n\nGreedy, one IT grade at a time — every trial loosening is re-verified against\ntolerance_stackup's seeded Monte-Carlo cpk before it is committed, so nothing it\nsuggests can fail the spec. Candidates are ranked by the tolerance_cost_check\ncurve, so the tightest (most expensive) links get opened first. Loosening\npreserves each link's MEAN, so the stack's nominal does not move.\n\nTwo honest refusals: a chain that does not already meet `target_cpk` returns\nok=False (there is no margin to give away — tighten or re-spec, do not loosen),\nand an already-loosest chain returns steps=[] with saving=0 rather than\ninventing a saving. `stopped` says which: 'no_further_move' | 'max_steps'\n(re-run on the returned chain to continue) | 'no_margin'.\n\n`chain` / `handle` / `axis` / `default_tol` / `general` as in\ntolerance_cost_check; `spec_min`/`spec_max` default to the chain's own\nworst-case bounds. Returns {ok, steps:[{link, index, from_it, to_it,\nfrom_band_mm, to_band_mm, cost_before, cost_after, saving, cpk}], stopped,\nchain (the loosened scheme), cost_index_before, cost_index_after, saving,\nsaving_pct, cpk_before, cpk_after, target_cpk, spec, note, fidelity, band_pct,\nbasis}.","inputSchema":{"properties":{"axis":{"default":"+z","title":"Axis","type":"string"},"chain":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Chain"},"coarsest_it":{"default":13.0,"title":"Coarsest It","type":"number"},"default_tol":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Default Tol"},"general":{"default":"m","title":"General","type":"string"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Handle"},"max_steps":{"default":12,"title":"Max Steps","type":"integer"},"process":{"default":"cnc","title":"Process","type":"string"},"samples":{"default":4000,"title":"Samples","type":"integer"},"seed":{"default":12345,"title":"Seed","type":"integer"},"spec_max":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Spec Max"},"spec_min":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Spec Min"},"step_grades":{"default":1.0,"title":"Step Grades","type":"number"},"target_cpk":{"default":1.33,"title":"Target Cpk","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"suggest_looseningArguments","type":"object"},"name":"suggest_loosening","title":"Suggest Loosening"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"CNC Machinability Check"},"description":"3-axis CNC machinability screen off a live solid — pure geometry, NO CAM\nengine (no toolpath, no gouge check, no holder collision).\n\nCounts SETUPS from a tool-approach census: for every machined face, which of\n±X/±Y/±Z can both address it (the normal does not point away — a wall parallel\nto the tool axis is milled by the cutter's periphery) and reach it (a ray from\nthe face escapes the solid, the same caster the moldability undercut check\nuses), reduced to a minimum cover. Faces lying on the stock envelope are\nexcluded: they are billet surfaces, and counting them would quote six setups\nfor a plain block.\n\nFindings: 'undercut' (a machined face no principal approach reaches — 5-axis, a\nspecial cutter, or a redesign), 'deep_pocket' (depth/(2·corner radius) past\nmax_l_over_d — the corner radius caps the cutter and it cannot reach),\n'small_radius' (an internal corner below the smallest cutter quoted, including a\nSHARP planar corner reported as radius 0, which no rotating tool can produce),\n'thin_wall'. `pass` is false when any fires; more than max_setups is a warning,\nnot a failure. fidelity='correlation', band_pct=None (an ordinal screen — rank\nvariants with `score`, don't gate on it).\n\nReturns {setups, setup_directions, coverage, machined_faces, stock_faces,\nmachined_area_mm2, min_internal_radius_mm, max_l_over_d_seen, undercut_faces,\nfindings:[{code, severity, feature, detail}], warnings, score, pass, fidelity,\nband_pct, basis, escalate_to='cnc_time_estimate', limitations, n_faces}.","inputSchema":{"properties":{"max_l_over_d":{"default":8.0,"title":"Max L Over D","type":"number"},"max_setups":{"default":3,"title":"Max Setups","type":"integer"},"min_tool_radius_mm":{"default":0.5,"title":"Min Tool Radius Mm","type":"number"},"min_wall_mm":{"default":0.8,"title":"Min Wall Mm","type":"number"},"model":{"title":"Model","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["model"],"title":"cnc_machinability_checkArguments","type":"object"},"name":"cnc_machinability_check","title":"CNC Machinability Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"CNC Time Estimate"},"description":"Machining time for a live solid from a material-removal-rate model — the\nhonest `cnc` machine time cost_estimate's flat volume table cannot give.\n\n    stock         = bbox grown by stock_allowance_mm per side\n    roughing_min  = (stock − part volume) / MRR(material)\n    finishing_min = machined face area / finish area-rate(material)\n    total         = (roughing + finishing)/utilisation · tolerance factor\n                    + setups · setup_min\n\nMRR is per material class (aluminium 60, steel 12, stainless 6, titanium 2.5\ncm³/min …) — ratios that track the standard machinability ratings amplified by\nthe depth-of-cut headroom a soft alloy allows on the same spindle. Stock-envelope\nfaces are excluded from the finishing area: facing a billet is not finishing a\npocket. `setups` defaults to the count cnc_machinability_check derives from the\nsame solid, so the two tiers agree. `tolerance_class` ('IT7', 7, …) scales the\ncutting time through the shared tolerance-cost corpus, so a tolerance costs the\nsame here as in tolerance_cost_check.\n\nfidelity='correlation', band_pct=50 — the RSS of MRR scatter (±40 %) and\ncut-time utilisation scatter (±25 %), against the flat table's ±100 %; supply a\nmeasured `mrr_cm3_min` and it tightens to 30. Feed `machine_time_hr` into\ncost_estimate(machine_time_hr=…) to replace the table there too.\n\nReturns {machine_time_min, machine_time_hr, roughing_min, finishing_min,\ncutting_min, setup_min_total, removed_volume_mm3, stock_volume_mm3,\nremoval_fraction, machined_area_mm2, setups, setups_basis, material_class,\nmaterial_basis, mrr_cm3_min, finish_cm2_min, utilisation, tolerance, bbox_mm,\npart_volume_mm3, fidelity, band_pct, basis, warnings, next}.","inputSchema":{"properties":{"finish_cm2_min":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Finish Cm2 Min"},"material":{"title":"Material","type":"string"},"model":{"title":"Model","type":"string"},"mrr_cm3_min":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Mrr Cm3 Min"},"setup_min":{"default":15.0,"title":"Setup Min","type":"number"},"setups":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Setups"},"stock_allowance_mm":{"default":2.0,"title":"Stock Allowance Mm","type":"number"},"tolerance_class":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Tolerance Class"},"utilisation":{"default":0.65,"title":"Utilisation","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["model","material"],"title":"cnc_time_estimateArguments","type":"object"},"name":"cnc_time_estimate","title":"CNC Time Estimate"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Slice Estimate"},"description":"First-order FDM slice estimate (analytic, NO slicer needed; see\nslice_gcode_submit for the real PrusaSlicer CLI). mass_g = volume·density\n(Materials DB); deposited = volume·(wall_fraction + infill·(1−wall_fraction))\nso at 100% infill filament_g == mass_g; layer_count = ceil(bbox\nheight/layer_height); print_time from nozzle volumetric flow.\n\n`material` may be any Materials-DB card name (material_list / material_get), or\nanything at all if you supply `density_g_cc` yourself — it overrides the DB\nlookup. A generic word like 'polymer' is a CATEGORY, not a card, and 'nylon' is\na near-miss for one, so neither carries a density; the error names both exits.\n`filament_dia_mm` (1.75 default, 2.85 for the older standard) sets the spool\nstock the filament length is computed against.\n\nReturns {mass_g, filament_g, deposited_volume_mm3, layer_count, print_time_min,\ninfill_fraction}. Errors on a material with no density and no override, a\nnegative volume, a bbox shorter than [x,y,z], or a non-positive layer height.","inputSchema":{"properties":{"bbox_mm":{"items":{},"title":"Bbox Mm","type":"array"},"density_g_cc":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Density G Cc"},"filament_dia_mm":{"default":1.75,"title":"Filament Dia Mm","type":"number"},"infill_fraction":{"default":1.0,"title":"Infill Fraction","type":"number"},"layer_height_mm":{"default":0.2,"title":"Layer Height Mm","type":"number"},"material":{"default":"PLA","title":"Material","type":"string"},"nozzle_mm":{"default":0.4,"title":"Nozzle Mm","type":"number"},"print_speed_mm_s":{"default":50.0,"title":"Print Speed Mm S","type":"number"},"volume_mm3":{"title":"Volume Mm3","type":"number"},"wall_fraction":{"default":0.35,"title":"Wall Fraction","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["volume_mm3","bbox_mm"],"title":"slice_estimateArguments","type":"object"},"name":"slice_estimate","title":"Slice Estimate"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Slice G-code Submit"},"description":"Slice a real part with the PrusaSlicer CLI, asynchronous — the external-CLI\nupgrade of the analytic slice_estimate: real perimeters, infill patterns,\n`supports`, travel/acceleration, and the slicer's own print-time model.\nRequires a PrusaSlicer install ('apt install prusa-slicer' / the AppImage);\nwhen absent this returns {ok:false, reason, install} rather than raising.\n\nPass a `body` handle (exported to STL in the modeller) or a prepared\n`stl_path`. `infill_fraction` is 0..1 (full infill auto-switches the fill\npattern — PrusaSlicer's default refuses 100%); `material`/`density_g_cc` set\nthe filament density used to turn the sliced volume into grams. With a `body`\nthe result also carries the analytic estimate and the `deposited_ratio`\nbetween them (a 20 mm cube at 100% lands ~1.008 — the skirt).\n\nReturns the degradation dict or {job_id, status, cache_hit}; poll job_result\nfor {ok, gcode_path, filament_mm, filament_cm3, filament_g, print_time_s,\nprint_time_text, layer_count, config (the slicer's echoed settings),\nanalytic?, deposited_ratio?}.","inputSchema":{"properties":{"body":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Body"},"density_g_cc":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Density G Cc"},"extra_args":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Extra Args"},"infill_fraction":{"default":0.2,"title":"Infill Fraction","type":"number"},"layer_height_mm":{"default":0.2,"title":"Layer Height Mm","type":"number"},"material":{"default":"PLA","title":"Material","type":"string"},"stl_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Stl Path"},"supports":{"default":false,"title":"Supports","type":"boolean"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"slice_gcode_submitArguments","type":"object"},"name":"slice_gcode_submit","title":"Slice G-code Submit"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Mechanism Kinematics"},"description":"Closed-form planar mechanism kinematics — exact, NO external solver (the static\npre-check / gate for mechanism_simulate_submit). Pick `mechanism`:\n\n- 'fourbar': link lengths crank/coupler/rocker/ground -> {mobility_dof (=1),\n  grashof: {condition, type, input_crank_fully_rotates, shortest}, reachable,\n  n_reached, coupler_path [[x,y]...], reachable_bbox_mm}. `config` 'open'|'crossed'.\n- 'slider_crank': crank_mm/conrod_mm (+ wrist_offset_mm) -> {stroke_mm (exactly 2·R\n  in-line, independent of conrod), x_tdc_mm, x_bdc_mm, inline_stroke_exact}.\n- 'gruebler': n_links (incl. ground) + joints ([{type}...]) -> {mobility_dof}.\n\nReturns the per-mechanism dict above. Raises on an unknown mechanism or a link set\nthat cannot close.","inputSchema":{"properties":{"config":{"default":"open","title":"Config","type":"string"},"conrod_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Conrod Mm"},"coupler":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Coupler"},"crank":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Crank"},"crank_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Crank Mm"},"ground":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Ground"},"joints":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Joints"},"mechanism":{"default":"fourbar","title":"Mechanism","type":"string"},"n_links":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"N Links"},"n_steps":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"N Steps"},"planar":{"default":true,"title":"Planar","type":"boolean"},"rocker":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Rocker"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"},"wrist_offset_mm":{"default":0.0,"title":"Wrist Offset Mm","type":"number"}},"title":"mechanism_kinematicsArguments","type":"object"},"name":"mechanism_kinematics","title":"Mechanism Kinematics"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Mechanism Simulate Submit"},"description":"Simulate a rigid-link mechanism's DYNAMICS with PyBullet, asynchronously (the\nMBD family; requires the `mbd` extra — `pip install 'ankusdrive[mbd]'`). Use\nmechanism_kinematics first for the exact closed-form gates (DOF, Grashof, stroke).\n\n`links` is a tree: [{name, box_mm:[lx,ly,lz], mass_g, parent (link index, −1 =\nfixed base), joint_type ('revolute'|'prismatic'|'fixed'), joint_axis:[x,y,z],\njoint_at_mm:[x,y,z] (in the parent frame), com_mm:[x,y,z]}]. `drivers`:\n[{link, rate_dps}] (revolute) or [{link, rate_mm_s}] (prismatic). Optional\n`obstacles` ([{box_mm, at_mm}]) for through-motion contact, `base`, `gravity`\n(m/s², default [0,0,−9.81]), `dt_s`, `duration_s`. `gears`\n([{link_a, link_b, ratio, axis?, max_force?}]) couples two revolute links by\nω_b = −ω_a/ratio (ratio = Nb/Na for an Na/Nb external mesh) — the moving image of\nthe gear-train ratio gate.\n\nReturns immediately. If PyBullet is absent: {ok:false, reason, install,\nmobility_dof, n_links}. Otherwise {job_id, status, cache_hit, mobility_dof}; poll\njob_result(job_id) for {trajectories, orientations (per-link world quaternion,\nsampled with trajectories), max_torques, collisions_through_motion (with the sim\ntime of each contact), reachable_envelope {bbox_mm}, mobility_dof}.","inputSchema":{"properties":{"base":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Base"},"drivers":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Drivers"},"dt_s":{"default":0.004166666666666667,"title":"Dt S","type":"number"},"duration_s":{"default":1.0,"title":"Duration S","type":"number"},"gears":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Gears"},"gravity":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Gravity"},"links":{"items":{},"title":"Links","type":"array"},"loop_closures":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Loop Closures"},"obstacles":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Obstacles"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["links"],"title":"mechanism_simulate_submitArguments","type":"object"},"name":"mechanism_simulate_submit","title":"Mechanism Simulate Submit"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Topology Optimize Submit"},"description":"Minimum-compliance topology optimization (in-house SIMP; NO external solver),\nasynchronous because each iteration solves an FE system. Optimizes a 2-D\nrectangular design domain (`nelx`×`nely` unit cells) — or, when `nelz` is set, a\n3-D `nelx`×`nely`×`nelz` grid of trilinear hexahedra — to the stiffest layout that\nholds Σdensity = `keep_fraction` (the Optimality-Criteria update holds it exactly);\n`penal` is the SIMP penalty (≈3), `rmin` the cone filter radius. Default BCs\n(both): the whole left face clamped + a unit downward load at the right-face\ncentre. 2-D overrides: `fixed_dofs` / `load`=[dof_index, value]. 3-D overrides:\n`loads`=[[i,j,k,axis,value],...] point loads at node grid coords (axis 'x'|'y'|'z'),\n`fixed_nodes`=[[i,j,k],...] clamped nodes, and `keep_out`/`keep_in` lists of\nhalf-open element-index boxes [i0,i1,j0,j1,k0,k1] forced void / forced solid\n(keep-out regions and must-keep pads).\n\nReturns immediately {job_id, status, cache_hit}; poll job_result for {density\n(2-D: nely×nelx grid; 3-D: nelz×nely×nelx voxel field, density[k][j][i] with j=0\nat the bottom — this IS geometry), mass_fraction (==keep_fraction), compliance,\ncompliance_initial, iterations, converged, gray_fraction, solver (3-D: which\nlinear-solve backend ran)}. Threshold + voxel→solid back in the modeller with\n`topology_to_solid`, then gate with mass_properties (mass ≤\nkeep_fraction·original) and interference_check vs keep-outs.","inputSchema":{"properties":{"fixed_dofs":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Fixed Dofs"},"fixed_nodes":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Fixed Nodes"},"keep_fraction":{"default":0.4,"title":"Keep Fraction","type":"number"},"keep_in":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Keep In"},"keep_out":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Keep Out"},"load":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Load"},"loads":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Loads"},"max_iter":{"default":60,"title":"Max Iter","type":"integer"},"nelx":{"default":60,"title":"Nelx","type":"integer"},"nely":{"default":20,"title":"Nely","type":"integer"},"nelz":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Nelz"},"penal":{"default":3.0,"title":"Penal","type":"number"},"rmin":{"default":1.5,"title":"Rmin","type":"number"},"tol":{"default":0.01,"title":"Tol","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"topology_optimize_submitArguments","type":"object"},"name":"topology_optimize_submit","title":"Topology Optimize Submit"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Topology to Solid"},"description":"Reconstruct a FreeCAD solid from a topology-optimization density field — the\nmodeller-side close of the loop opened by `topology_optimize_submit`, whose\n`density` this consumes. 2-D (nely×nelx grid): thresholds (a cell is solid when\ndensity ≥ `threshold`), run-length-merges each row into solid spans, tiles each\nspan as a `cell_mm` box extruded `thickness_mm` in Z (row 0 at the top). 3-D (a\nnelz×nely×nelx voxel field from the `nelz` mode): greedy-merges solid voxels into\nmaximal boxes at (i·cx, j·cy, k·cz) — j=0 at the bottom, `thickness_mm` ignored.\nFuses into one static Part::Feature. `cell_mm` is a scalar or [cx, cy(, cz)] mm;\n`thickness_mm` defaults to the smaller cell edge; `placement` is an optional\n[x, y, z] mm origin offset; `name` names the object. Runs synchronously (it builds\ngeometry — no jobs.py poll).\n\nReturns {handle, name, volume (mm³), solid_cells, total_cells, mass_fraction\n(== solid_cells/total_cells — must be ≤ keep_fraction within one cell), n_solids\n(disjoint bodies; >1 means a split load path), threshold, nelx, nely, nelz (None\nfor 2-D), bbox_mm}. Gate it with mass_properties (mass ≤ keep_fraction·original)\nand interference_check against keep-out regions, per SIMULATION_EXAMPLES §5.","inputSchema":{"properties":{"cell_mm":{"default":1.0,"title":"Cell Mm","type":"number"},"density":{"items":{},"title":"Density","type":"array"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Name"},"placement":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Placement"},"thickness_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Thickness Mm"},"threshold":{"default":0.5,"title":"Threshold","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["density"],"title":"topology_to_solidArguments","type":"object"},"name":"topology_to_solid","title":"Topology to Solid"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Async Demo Job"},"description":"Reference async long-solve: launch a job that runs OFF the MCP channel and\nreturn immediately, so a multi-minute solve never blocks the worker. (This demo\njust computes for duration_s then returns a deterministic result; a real\nFEM/CFD solve plugs into the same facility — see ankusdrive/jobs.py.) Returns\n{job_id, status, cache_hit}; poll with job_status / job_result. A re-submit with\nidentical (duration_s, value) is a content-hash cache hit (no recompute).","inputSchema":{"properties":{"duration_s":{"default":0.5,"title":"Duration S","type":"number"},"value":{"default":1.0,"title":"Value","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"async_demo_submitArguments","type":"object"},"name":"async_demo_submit","title":"Async Demo Job"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Job Status"},"description":"Lightweight poll of any async job (from an *_submit tool). Returns {job_id,\nkind, status: 'running'|'done'|'failed', elapsed_s, meta} (+ error when failed)\nWITHOUT the result payload — cheap to call in a loop.","inputSchema":{"properties":{"job_id":{"title":"Job Id","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["job_id"],"title":"job_statusArguments","type":"object"},"name":"job_status","title":"Job Status"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Job Result"},"description":"Fetch an async job's outcome. Returns {job_id, kind, status, elapsed_s,\nresult (when done) | error (when failed)}; while running neither is set.\ndiscard=True frees a terminal job (and its cache entry) once you have it.","inputSchema":{"properties":{"discard":{"default":false,"title":"Discard","type":"boolean"},"job_id":{"title":"Job Id","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["job_id"],"title":"job_resultArguments","type":"object"},"name":"job_result","title":"Job Result"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Job List"},"description":"List every async job this worker session. Returns {count, jobs:[{job_id,\nkind, status, elapsed_s}]} in submit order, plus main_thread_queue:{queued, ran,\nfailed, drains, pending} — the diagnostic for a shape optimization that looks\nstuck. Those builds run on the worker's main thread, and that queue is drained\nonce per request: `pending` high with `drains` climbing means the work is slow;\n`drains` flat means nothing is polling, so nothing is advancing.","inputSchema":{"properties":{"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"job_listArguments","type":"object"},"name":"job_list","title":"Job List"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Recipe List"},"description":"List every registered part recipe — named, parameterized, declared-input\nbuild templates (issue #136). Returns {schema, count, recipes} where each\nrecipe maps to {doc, required, optional, emits}; the cheap directory to browse\nbefore picking and parameterizing a recipe with recipe_schema / recipe.","inputSchema":{"properties":{"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"recipe_listArguments","type":"object"},"name":"recipe_list","title":"Recipe List"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Recipe Schema"},"description":"Return one recipe's declared INPUT SCHEMA — its driving parameters with\ntype/unit/default/range. Returns {schema, recipe, doc, inputs:[{name, type,\nunit?, default?, min?, max?, required, choices?, doc?}], emits}. `recipe` names\na registered recipe; an unknown name fails loudly. This is the contract a\nparametric regeneration is authored against.","inputSchema":{"properties":{"recipe":{"title":"Recipe","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["recipe"],"title":"recipe_schemaArguments","type":"object"},"name":"recipe_schema","title":"Recipe Schema"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Recipe Validate"},"description":"Validate a recipe reference {recipe, inputs} WITHOUT building it — the cheap\nfront door (mirrors validate_manifest). Catches an unknown recipe, a missing\nrequired input, and a wrong-typed / out-of-range / bad-unit / unknown input.\nReturns {ok, problems} — ok is True iff problems is empty. Run before building\nor merging to reject a malformed parameterization before geometry is spent.","inputSchema":{"properties":{"inputs":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Inputs"},"recipe":{"title":"Recipe","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["recipe"],"title":"recipe_validateArguments","type":"object"},"name":"recipe_validate","title":"Recipe Validate"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Build Recipe"},"description":"Build a registered part recipe into the active document (issue #136):\n\"regenerate with new parameters\" = \"re-run the recipe.\" Validates {recipe,\ninputs} against the declared schema (typed units + ranges) at the door, then\nruns the deterministic build — geometry + publish_interface + declare_intent.\nReturns {recipe, schema, inputs, handle, name, interfaces, intent, part}.","inputSchema":{"properties":{"inputs":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Inputs"},"recipe":{"title":"Recipe","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["recipe"],"title":"recipeArguments","type":"object"},"name":"recipe","title":"Build Recipe"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Items Validate"},"description":"Validate an items.json registry (the PLM item/document/file split, #140 C1).\nChecks the schema stamp (\"ankusdrive.items/1\"), each item record's shape, that\npart numbers are unique, and the held reserved rev/lifecycle fields. An item is\nthe logical part (part_number + rev + lifecycle + metadata), distinct from its\nfile artifact(s); part numbers are non-significant + sequential, with meaning in\nqueryable metadata.\n\nregistry: path to the items.json sidecar.\n\nReturns {ok, problems, schema, count} — ok is True iff problems is empty.","inputSchema":{"properties":{"registry":{"title":"Registry","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["registry"],"title":"items_validateArguments","type":"object"},"name":"items_validate","title":"Items Validate"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Items Resolve"},"description":"Resolve an item-reference (an item id) to its artifact file(s) against an\nitems.json registry — identity, not a bare path, so renaming/moving a file\nupdates the item's files[] without breaking references. Returns {ok, files}, or\n{ok:false, problems} on a dangling reference (an unknown item id).","inputSchema":{"properties":{"item":{"title":"Item","type":"string"},"registry":{"title":"Registry","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["registry","item"],"title":"items_resolveArguments","type":"object"},"name":"items_resolve","title":"Items Resolve"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"New Item"},"description":"Allocate a non-significant sequential part number and register a new item in\nan items.json sidecar (created if absent), writing it back. The reserved rev /\nlifecycle fields are seeded with held defaults (the #141 state machine, not C1).\n\nregistry: path to the items.json sidecar (created if it does not exist).\nitem: the new item's stable logical id (what manifests reference).\nfiles: optional list of artifact paths the item maps to.\nmetadata: optional free-form, queryable attributes (where \"meaning\" lives).\n\nReturns {part_number, item, registry}.","inputSchema":{"properties":{"files":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Files"},"item":{"title":"Item","type":"string"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Metadata"},"registry":{"title":"Registry","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["registry","item"],"title":"items_newArguments","type":"object"},"name":"items_new","title":"New Item"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Items Check Manifest"},"description":"Reference-integrity guard (#140 C1): check every item-reference in a manifest\n({\"item\":\"<id>\"} on a component/instance) resolves against an items.json\nregistry. Returns {ok, problems} — a dangling item-ref is caught before a\nmerge, removing the \"a part is its filename\" fragility.","inputSchema":{"properties":{"manifest":{"title":"Manifest","type":"string"},"registry":{"title":"Registry","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["manifest","registry"],"title":"items_check_manifestArguments","type":"object"},"name":"items_check_manifest","title":"Items Check Manifest"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Get Interface"},"description":"Read back a single published interface FRAME by name from a component\n(issue #139). The reference-by-name primitive feature templates ride on: an\nunpublished name fails loudly. Returns {handle, name, frame}.","inputSchema":{"properties":{"handle":{"title":"Handle","type":"string"},"name":{"title":"Name","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","name"],"title":"get_interfaceArguments","type":"object"},"name":"get_interface","title":"Get Interface"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Feature List"},"description":"List every registered FEATURE TEMPLATE — the PowerCopy/UDF analog of a part\nrecipe: a reusable feature with declared reference-geometry inputs (a frame, an\nf_/e_ tag, an axis) plus scalar parameters, stamped onto a host by name (issue\n#139). Returns {schema, count, templates} where each maps to {doc, refs,\nrequired, optional, emits}; the directory to browse before picking one with\nfeature_schema / feature_instantiate.","inputSchema":{"properties":{"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"feature_listArguments","type":"object"},"name":"feature_list","title":"Feature List"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Feature Schema"},"description":"Return one feature template's declared REF+INPUT SCHEMA — its reference\ngeometry (name/kind) and its scalar parameters (type/unit/default/range).\nReturns {schema, template, doc, refs:[{name, kind, required, doc?}],\ninputs:[{name, type, unit?, default?, min?, max?, required, choices?, doc?}],\nemits}. An unknown name fails loudly.","inputSchema":{"properties":{"template":{"title":"Template","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["template"],"title":"feature_schemaArguments","type":"object"},"name":"feature_schema","title":"Feature Schema"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Feature Validate"},"description":"Validate a feature instantiation {template, refs, inputs} WITHOUT building it\n— the cheap structural front door (mirrors recipe_validate). Catches an unknown\ntemplate, an unknown/missing required reference, a malformed reference value,\nand every scalar-input failure (missing required, out of range, wrong type, bad\nunit, unknown key). A tag that doesn't resolve against real geometry is caught\nat feature_instantiate time. Returns {ok, problems}.","inputSchema":{"properties":{"inputs":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Inputs"},"refs":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Refs"},"template":{"title":"Template","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["template"],"title":"feature_validateArguments","type":"object"},"name":"feature_validate","title":"Feature Validate"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Feature Instantiate"},"description":"Stamp a registered FEATURE TEMPLATE onto a host body at reference geometry\nsupplied BY NAME (PowerCopy/UDF, issue #139) — e.g. a mounting_boss onto a\npublished seat frame, or a bolt_pattern onto an f_ face tag. Validates {refs,\ninputs} at the door, resolves each reference against the host's CURRENT\ngeometry (an f_ tag / interface name that doesn't resolve fails loudly), then\nruns the deterministic build — geometry + publish_interface + declare_intent.\n\ntemplate: registered template name (feature_list to browse).\nhost: the handle of the body to stamp onto.\nrefs: reference inputs by name — an interface name, an f_/e_ tag, or a literal\n    {origin, z_axis?, x_axis?} frame, per the template's declared ref kinds.\ninputs: scalar parameters (typed + unit-bearing + range-checked).\n\nReturns {template, schema, host, refs, inputs, handle, name, interfaces,\nintent}.","inputSchema":{"properties":{"host":{"title":"Host","type":"string"},"inputs":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Inputs"},"refs":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Refs"},"template":{"title":"Template","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["template","host"],"title":"feature_instantiateArguments","type":"object"},"name":"feature_instantiate","title":"Feature Instantiate"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Family Validate"},"description":"Validate a variant-family design table (issue #138, B1) — a row x column\ntable where row = a variant (keyed by a size designator) and column = a recipe\nparameter / feature-flag / material. Loads CSV or JSON and checks the recipe,\nmode, key column, duplicate/missing size keys, and every per-row recipe-door\nvalue; each problem names the row+column. Returns {ok, problems}.\n\ntable: path to the family table (.csv or .json).","inputSchema":{"properties":{"table":{"title":"Table","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["table"],"title":"family_validateArguments","type":"object"},"name":"family_validate","title":"Family Validate"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Family Materialize"},"description":"Materialize a whole variant family from ONE design table (issue #138, B1) —\n\"make all the gears\" becomes a table, not a loop. For each row, in table order,\nbuilds the part with its recipe (A1, #136) and allocates one item + one\nsequential part number (C1, #140). Subsumes standard-part catalogs: a bearing\ncatalog is a family table keyed by designation, sourced from the ISO corpus.\n\nTwo modes (both supported): \"instances\" (each variant its own released file +\npart number) and \"configurations\" (variants share one artifact). Builds into the\nactive document. Returns {schema, family, recipe, mode, key, count, rows,\nregistry}.\n\ntable:    path to the family table (.csv or .json).\nregistry: optional items.json path (created if absent, written back).\nmode:     optional override of the table's mode (instances|configurations).","inputSchema":{"properties":{"mode":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Mode"},"registry":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Registry"},"table":{"title":"Table","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["table"],"title":"family_materializeArguments","type":"object"},"name":"family_materialize","title":"Family Materialize"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Substitutability Check"},"description":"Liskov-substitutability gate — Form/Fit/Function as code (§7.1, #147). Take\nan assembly that gates green with variant A in a slot, swap in variant B (a\ndifferent family row, or any part claiming the same interface), and re-run\nmerge_assembly + all the gates. Still green ⇒ B is interchangeable with A — by\nconstruction a compatible (MINOR/PATCH) change ⇒ revise the existing part\nnumber; a gate now fails ⇒ the swap broke Form/Fit/Function ⇒ a new part\nnumber. Purely deterministic (no API, no judgment); the substitutability test\n#138 (B1 families) and #146 (the interface registry) call.\n\nmanifest: path to a manifest that gates green with variant A in `slot`.\nslot: the component id to swap (variant A → variant B).\nvariant: the replacement component spec — a dict with exactly one of\n  file/manifest/library (the same one-source rule merge_assembly enforces).\nverify_baseline: re-merge the base assembly first and require it green so the\n  premise is honest (default True).\n\nFunction, not just Form and Fit (#261): if the swapped-in variant declares a\nPERFORMANCE contract (#226), it is part of the comparison. A contract measured as\nNOT met breaks the `performance` gate like any other. A contract with NO recorded\nverdict yields a THIRD answer — `substitutable: null`, verdict\n'performance_unproven' — because an unverified spec is not a passed spec, and\nhanding an unproven part an existing part number is the silent pass #226 prevents.\n\nReturns {schema, slot, variant, baseline_ok, swap_ok, substitutable (True | False |\nnull), verdict ('substitutable' | 'not_substitutable' | 'baseline_not_green' |\n'performance_unproven'), broken_gates (the NAMED gate(s) the swap broke), broken\n(gate→violations), classification (compatibility/semver/decision), performance?\n(only when a component declares a contract), reports}.","inputSchema":{"properties":{"manifest":{"title":"Manifest","type":"string"},"slot":{"title":"Slot","type":"string"},"variant":{"additionalProperties":true,"title":"Variant","type":"object"},"verify_baseline":{"default":true,"title":"Verify Baseline","type":"boolean"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["manifest","slot","variant"],"title":"substitutability_checkArguments","type":"object"},"name":"substitutability_check","title":"Substitutability Check"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Lifecycle Editable"},"description":"The cheap \"is this editable?\" check a builder runs before writing (#141 C2).\nAn item is editable only in lifecycle state in_work; in_review, released and\nobsolete are frozen (released = immutable, the API-stability guarantee).\n\nregistry: path to the items.json sidecar.\nitem: the item id to check.\n\nReturns {ok, editable, state}.","inputSchema":{"properties":{"item":{"title":"Item","type":"string"},"registry":{"title":"Registry","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["registry","item"],"title":"lifecycle_editableArguments","type":"object"},"name":"lifecycle_editable","title":"Lifecycle Editable"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Lifecycle Transition"},"description":"Move an item through the lifecycle state machine\nin_work -> in_review -> released -> obsolete, guarded by a transition table\n(#141 C2). An illegal edge (e.g. skipping review, or re-opening a released item\nin place) is rejected loudly; releasing stamps the item's first revision and\nfreezes it.\n\nregistry: path to the items.json sidecar (written back on success).\nitem: the item id to transition.\nto: the target lifecycle state.\nactor / note: optional provenance recorded in the item's transition log.\n\nReturns {ok, state, rev}, or {ok:false, problems} on an illegal transition.","inputSchema":{"properties":{"actor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Actor"},"item":{"title":"Item","type":"string"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Note"},"registry":{"title":"Registry","type":"string"},"to":{"title":"To","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["registry","item","to"],"title":"lifecycle_transitionArguments","type":"object"},"name":"lifecycle_transition","title":"Lifecycle Transition"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Lifecycle Classify Change"},"description":"The deterministic Form/Fit/Function predicate (#141 C2): compare an item's\nbefore/after attributes and decide rename-vs-revise. A change touching a\nForm/Fit/Function (public, interface-defining) attribute breaks\ninterchangeability => \"new_part_number\" (allocate a new number); a change to\nonly internal/hidden attributes is interchangeable => \"revise\" (bump the\nrevision, same part number).\n\nbefore / after: attribute objects (the item's interface-defining + internal\n    attributes, before and after the proposed change).\nextra_f3: optional map of extra attribute name -> F3 leg (\"form\"/\"fit\"/\n    \"function\") for domain-specific interface attributes.\n\nReturns the verdict {disposition, f3, changed, f3_changed, categories,\nreason} where disposition is \"revise\" / \"new_part_number\" / \"noop\".","inputSchema":{"properties":{"after":{"additionalProperties":true,"title":"After","type":"object"},"before":{"additionalProperties":true,"title":"Before","type":"object"},"extra_f3":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Extra F3"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["before","after"],"title":"lifecycle_classify_changeArguments","type":"object"},"name":"lifecycle_classify_change","title":"Lifecycle Classify Change"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Lifecycle Apply Change"},"description":"Apply a change to a RELEASED item, dispatching on the F3 predicate (#141 C2)\n— the sanctioned way to change a frozen part. An F3-preserving change opens a\nnew revision on the SAME part number (rev A->B, back to in_work); an\nF3-breaking change allocates a NEW part number as a new item (new_item\nrequired) carrying a `supersedes` back-link, leaving the released item\nuntouched.\n\nregistry: path to the items.json sidecar (written back on success).\nitem: the released item id being changed.\nafter: the proposed new metadata (attribute object).\nnew_item: id for the new item when the change is F3-breaking.\nextra_f3 / actor / note: optional, as in lifecycle_classify_change /\n    lifecycle_transition.\n\nReturns {ok, disposition, item, part_number, rev, ...}, or {ok:false,\nproblems} (e.g. the item is not released, or an F3-break lacks new_item).","inputSchema":{"properties":{"actor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Actor"},"after":{"additionalProperties":true,"title":"After","type":"object"},"extra_f3":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Extra F3"},"item":{"title":"Item","type":"string"},"new_item":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"New Item"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Note"},"registry":{"title":"Registry","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["registry","item","after"],"title":"lifecycle_apply_changeArguments","type":"object"},"name":"lifecycle_apply_change","title":"Lifecycle Apply Change"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Scaffold Project"},"description":"Lay out a well-formed project in one call (issue #143 / D1) — promote the\nMULTI_AGENT.md §3/§7 directory convention to a primitive. Creates the convention\ndirectories (components/, .dp_lib/), an item registry (items.json, #140), a seed\nassembly manifest from the supplied components/instances, and the project.json\ncontainer that ties them together. The result loads clean and merge_assembly\nconsumes it unchanged once its components resolve.\n\nbase_dir: the project root directory (created if absent).\nname: the project id (naming-convention checked).\ncomponents/instances/shared_parameters: the assembly manifest content.\nmaster: optional component id to record as the master/skeleton single-source-of-\n    truth slot (the lean interface-geometry skeleton children mate against).\nitems: optional {item_id: {files?, metadata?}} to seed the item registry with.\n\nReturns the layout {project_file, manifest, registry, components_dir, lib_dir,\nlockfile, master, dirs}.","inputSchema":{"properties":{"base_dir":{"title":"Base Dir","type":"string"},"components":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Components"},"instances":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Instances"},"items":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Items"},"master":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Master"},"name":{"title":"Name","type":"string"},"shared_parameters":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Shared Parameters"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["base_dir","name"],"title":"scaffold_projectArguments","type":"object"},"name":"scaffold_project","title":"Scaffold Project"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Project Validate"},"description":"Validate a project.json container (issue #143 / D1): the schema stamp\n(\"ankusdrive.project/1\"), the naming convention on the project name, the\nconventional path fields, and — relative to the project directory — that the\nreferenced manifest + item registry exist, the components directory is present,\nand a named master/skeleton is a real component of the assembly manifest.\n\nproject: path to the project.json container.\n\nReturns {ok, problems, schema, name} — ok is True iff problems is empty.","inputSchema":{"properties":{"project":{"title":"Project","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["project"],"title":"project_validateArguments","type":"object"},"name":"project_validate","title":"Project Validate"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Project Check References"},"description":"Reference-integrity guard (issue #143 / D1) — catch a broken cross-file\nreference *before* a merge (the chronic PDM failure mode). Loads a project's\nassembly manifest + item registry and checks every reference resolves: a moved /\nrenamed / missing component file, a dangling item-ref (an unknown id, or a\nresolved file missing on disk), an instance naming an unknown component, and\nnaming-convention violations.\n\nproject: path to the project.json container.\n\nReturns {ok, problems} — ok is True iff every reference is live, so a broken\nreference is reported here instead of as a cryptic merge failure.","inputSchema":{"properties":{"project":{"title":"Project","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["project"],"title":"project_check_referencesArguments","type":"object"},"name":"project_check_references","title":"Project Check References"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Project Resolve Manifest"},"description":"Resolve a project's item-ref components to file components and write a merge-\nready manifest (issue #143 / D1, the deferred #140 seam). Each component naming an\n`item` (items.json identity, not a bare path) is lowered to a `{file}` component\nwith the CAD artifact resolved from the registry, so merge_assembly consumes the\nresult unchanged — renaming/moving a file updates the item's files[] in one place\nwithout breaking any reference.\n\nproject: path to the project.json container.\nout: output manifest path (defaults to <manifest>.resolved.json next to it).\n\nReturns {path, lowered} — the written path and the lowered manifest object; a\ndangling item-ref fails loudly.","inputSchema":{"properties":{"out":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Out"},"project":{"title":"Project","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["project"],"title":"project_resolve_manifestArguments","type":"object"},"name":"project_resolve_manifest","title":"Project Resolve Manifest"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Where Used"},"description":"Where-used / impact analysis (issue #142, C3; MULTI_AGENT.md §9): traverse the\nlockfile `depends_on` graph and report every parent that CONSUMES an item — the\nblast radius, so exactly those parents re-dispatch when the item changes. The\nlockfile records edges consumer -> consumed (lid depends_on housing); where-used\nis the reverse reachability of the item (everything that reaches it).\n\nlockfile: path to the lockfile (the JSON assembly_lock wrote).\nitem: the item / component id to query.\ndirect: if true, also surface only the immediate mates separately.\n\nReturns {item, where_used (the full transitive blast radius), direct (the §9\nimmediate-neighbour layer)} — an unknown item fails loudly, never a silent empty\nset.","inputSchema":{"properties":{"direct":{"default":false,"title":"Direct","type":"boolean"},"item":{"title":"Item","type":"string"},"lockfile":{"title":"Lockfile","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["lockfile","item"],"title":"where_usedArguments","type":"object"},"name":"where_used","title":"Where Used"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Change Impact"},"description":"The where-used impact report for a set of changed items over a lockfile graph\n(issue #142, C3) — surfaces the §9 `stale` set as an item-level impact report\nBEFORE a change is committed.\n\nlockfile: path to the lockfile (the §9 dependency graph).\nchanged: the list of changed item / component ids (an ECO's affected set).\n\nReturns {changed, stale (the §9 immediate re-dispatch consumers), where_used\n(the full transitive blast radius), ok (true iff nothing is impacted)}.","inputSchema":{"properties":{"changed":{"items":{},"title":"Changed","type":"array"},"lockfile":{"title":"Lockfile","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["lockfile","changed"],"title":"change_impactArguments","type":"object"},"name":"change_impact","title":"Change Impact"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"ECO Validate"},"description":"Validate an ECO (engineering change order) record (issue #142, C3) — the cheap\nfront door. Checks the schema stamp, a non-empty id + affected item set, a present\ndisposition, and an effectivity carrying exactly one of date|serial|revision.\n\neco: the ECO object.\n\nReturns {ok, problems} — ok is True iff problems is empty.","inputSchema":{"properties":{"eco":{"additionalProperties":true,"title":"Eco","type":"object"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["eco"],"title":"eco_validateArguments","type":"object"},"name":"eco_validate","title":"ECO Validate"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"ECO Create"},"description":"Build an ECO change-order record (issue #142, C3) — turn a change into a\n*record*, not a silent mutation (the diff IS the change order, mapping onto a git\ncommit/PR). Optionally compute its where-used impact over a lockfile in the same\ncall, so the blast radius travels with the record.\n\nid: the ECO id (e.g. \"ECO-0001\").\naffected: the list of changed item / component ids.\ndisposition: the change disposition (use_as_is | rework | scrap | revise | ...).\neffectivity: a dict with exactly one of date|serial|revision (when it takes\n    effect).\ntitle / note: optional human description recorded on the record.\ninterface_change: true if a published interface moved (the §9 stale trigger).\nlockfile: optional path — when given, the result embeds an `impact` report.\nout: optional path — write the git-diffable ECO sidecar there.\n\nReturns the ECO object (with `impact` when a lockfile is supplied); a malformed\nECO fails loudly.","inputSchema":{"properties":{"affected":{"items":{},"title":"Affected","type":"array"},"disposition":{"title":"Disposition","type":"string"},"effectivity":{"additionalProperties":true,"title":"Effectivity","type":"object"},"id":{"title":"Id","type":"string"},"interface_change":{"default":false,"title":"Interface Change","type":"boolean"},"lockfile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Lockfile"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Note"},"out":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Out"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Title"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["id","affected","disposition","effectivity"],"title":"eco_createArguments","type":"object"},"name":"eco_create","title":"ECO Create"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Baseline Create"},"description":"Pin a labeled, immutable BASELINE (issue #142, C3) — a {item: revision + content\nfingerprint} snapshot over an items.json registry (a git-tag / lockfile over the\nitem graph) for reproducible rebuilds. The fingerprint pins the artifact BYTES, so\na rebuild is verifiable byte-for-byte.\n\nlabel: the baseline label (e.g. \"v1.0\").\nregistry: path to the items.json sidecar.\nitems: optional subset of item ids to pin (default: every item).\nbase_dir: artifact root for fingerprinting (defaults to the registry's directory).\nnote: optional description.\nout: optional path — write the git-diffable baseline sidecar there.\n\nReturns the baseline object. Deterministic: same state -> identical bytes.","inputSchema":{"properties":{"base_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Base Dir"},"items":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Items"},"label":{"title":"Label","type":"string"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Note"},"out":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Out"},"registry":{"title":"Registry","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["label","registry"],"title":"baseline_createArguments","type":"object"},"name":"baseline_create","title":"Baseline Create"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Baseline Verify"},"description":"Verify a rebuild against a pinned baseline (issue #142, C3) — the reproducible-\nrebuild gate. Re-resolves every pinned item from the current registry + artifacts\nand checks it still matches the pinned rev AND content fingerprint; a drifted input\n(changed bytes, a bumped rev, a vanished item) is caught, never silently accepted.\n\nbaseline: path to the baseline sidecar.\nregistry: path to the current items.json sidecar.\nbase_dir: artifact root for fingerprinting (defaults to the registry's directory).\n\nReturns {ok, label, drifted (item/field/expected/actual), missing} — ok is True\niff the rebuild reproduces the baseline exactly.","inputSchema":{"properties":{"base_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Base Dir"},"baseline":{"title":"Baseline","type":"string"},"registry":{"title":"Registry","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["baseline","registry"],"title":"baseline_verifyArguments","type":"object"},"name":"baseline_verify","title":"Baseline Verify"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Release Package"},"description":"Produce the vendor/RFQ deliverable bundle for one item at one revision —\nSTEP + drawings + BOM + inspection package + a checksummed manifest — gated by\nthe item's lifecycle state and stamped with its ECO.\n\nEvery piece of this exists as its own tool. What this adds is the guarantee\nthat ties them together: the STEP, the PDF, the BOM and the title block all\ndescribe the SAME revision of the SAME item. That is the whole point of a\nrelease, and it is enforced BEFORE a single file is written:\n\n  * the item must be in a releasable lifecycle state (`released`), or `draft`\n    must be set — which watermarks EVERY artifact PRELIMINARY (burned into the\n    drawing, and carried as a format-legal comment in the STEP header, the DXF\n    and the CSVs). An `obsolete` item is refused in both modes.\n  * `drawing_gate` must pass for every included page — with require_ballooned\n    when the inspection kind is requested.\n  * the title block's part number / revision / material must MATCH the items\n    registry. A mismatch is a FAILURE carrying expected-vs-actual, never a\n    silent fix: quietly rewriting the print would destroy the only independent\n    check that it and the model describe the same thing.\n\nA refused release writes NOTHING — no half-populated directory a build script\ncould mistake for a package.\n\nregistry / item: the items.json sidecar and the item id being released.\nout_dir: where the bundle is written (created if absent).\nkinds: any of \"step\", \"drawing_pdf\", \"drawing_svg\", \"drawing_dxf\", \"bom_csv\",\n    \"inspection\", \"manifest_json\". Default step/drawing_pdf/drawing_dxf/\n    bom_csv/manifest_json. `manifest_json` is always added; `inspection`\n    (ballooned print + plan + blank AS9102 form) implies a drawing kind.\ndraft: cut a PRELIMINARY package from an unreleased item.\nrfq: the quote flavour — adds quantity breaks and the cost_estimate rollup as a\n    quote-COMPARISON baseline (fidelity \"correlation\", band_pct 100 — trust the\n    ratios, not the dollars) and drops internal-only artifacts (the inspection\n    package, which states your acceptance criteria).\neco: the change order this release is cut under; defaults to the item's\n    metadata.eco. Stamped into the manifest AND the title block's REV cell.\npages: page handles/names/labels (default: every page in the document).\nhandle / object: the geometry to export (default: the first page's main view\n    source — literally the solid the drawing dimensions).\nprocess: drawing_gate process (\"auto\" | \"prismatic\" | \"turned\").\ndensity / recursive: BOM options, as in bom_extract.\nquantity_breaks / cost_process / material: RFQ pricing inputs (default\n[1, 10, 100], \"cnc\", and the item's declared material).\n\nDeterminism: the same item at the same revision produces a BYTE-IDENTICAL\npackage. The exporters' wall-clock header stamps (the STEP FILE_NAME timestamp\nabove all) are scrubbed to a fixed epoch, so a re-released package is diffable\nby checksum.\n\nReturns {ok, dir, item, part_number, rev, lifecycle, eco, material, draft,\nwatermark, flavor, kinds, dropped_kinds, implied_kinds, pages,\nfiles:[{name, kind, bytes, blake2b}], manifest, manifest_path, verify,\nproblems}. ok=False means the gate refused and nothing was written; each\nproblem carries {code, where, field, expected, actual, reason}.","inputSchema":{"properties":{"cost_process":{"default":"cnc","title":"Cost Process","type":"string"},"density":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Density"},"draft":{"default":false,"title":"Draft","type":"boolean"},"eco":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Eco"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Handle"},"item":{"title":"Item","type":"string"},"kinds":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Kinds"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"object":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Object"},"out_dir":{"title":"Out Dir","type":"string"},"pages":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Pages"},"process":{"default":"auto","title":"Process","type":"string"},"quantity_breaks":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Quantity Breaks"},"recursive":{"default":true,"title":"Recursive","type":"boolean"},"registry":{"title":"Registry","type":"string"},"rfq":{"default":false,"title":"Rfq","type":"boolean"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["registry","item","out_dir"],"title":"release_packageArguments","type":"object"},"name":"release_package","title":"Release Package"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Sheet Base"},"description":"Start a sheet-metal part: the base flange, a closed straight-sided profile\nextruded to `thickness_mm`. Everything else (flanges, tabs, hems, the flat\npattern, the DXF) hangs off the handle this returns.\n\nprofile: [[x, y], ...] in the XY plane, implicitly closed.\nsketch: alternatively a handle to a closed, planar, straight-sided sketch — on\n    any plane. Arcs are REJECTED rather than silently faceted, because a\n    faceted flat pattern is a wrong flat pattern.\nmaterial: any Materials-DB name (e.g. \"Steel-A36\", \"AL6061-T6\", \"SS304\"); it\n    selects the K-factor and minimum-bend-radius corpus rows.\n\nIMPORTANT — the profile is the flat face TANGENT TO TANGENT, not the outside\ndimension. Bends grow OUTWARD from the profile boundary, exactly as a base\nflange behaves in any sheet-metal CAD, so a U-channel of 100 mm outside width\nwith R = t = 2 starts from a 92 mm profile.\n\nThe bend model lives alongside the handle for the life of the worker session,\nlike every other handle: unfolding is a property of the FEATURE TREE, not of the\nfused solid, so a part reopened from disk in a new session is a solid rather\nthan a sheet part. Cutting one (boolean_op cut, e.g. to drill it) keeps it a\nsheet part; fusing arbitrary material onto it does not.\n\nReturns {handle, name, volume, thickness_mm, material, profile, area_mm2}.","inputSchema":{"properties":{"material":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Material"},"name":{"default":"SheetBase","title":"Name","type":"string"},"profile":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Profile"},"sketch":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Sketch"},"thickness_mm":{"title":"Thickness Mm","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["thickness_mm"],"title":"sheet_baseArguments","type":"object"},"name":"sheet_base","title":"Sheet Base"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Sheet Flange"},"description":"Bend a flange off a free edge of a sheet part.\n\nedge: a stable e_* tag from list_edges (or 'EdgeN'/int) on a STRAIGHT free edge\n    of a flat region — a bend line is the intersection of two planes, so an arc\n    cannot carry one and is rejected.\nangle_deg: the bend angle, i.e. the deviation from flat, so 90 is a right-angle\n    flange. Must be in (0, 180].\ninner_radius_mm: inside bend radius; defaults to the material thickness.\ndirection: 'up' (toward the region's outward normal) or 'down'.\nlength_from: what `length_mm` measures — the number most often misread on a\n    sheet drawing. 'outer' (default) to the outside virtual apex, which is what\n    a drawing dimension normally means; 'inner' to the inside apex; 'tangent'\n    for the straight leg past the end of the bend.\nwidth_mm / offset_mm: narrow the flange to part of the picked edge.\nk_factor: pins K for THIS bend only. Leave it unset and the choice defers to\n    sheet_unfold — the folded solid does not depend on K at all, only the flat\n    pattern does.\n\nConsumes the input handle (it is hidden, having become part of the result).\n\nReturns {handle, name, feature, kind, volume, angle_deg, inner_radius_mm,\nleg_tangent_mm, length_from, direction, span_mm, thickness_mm}.","inputSchema":{"properties":{"angle_deg":{"default":90.0,"title":"Angle Deg","type":"number"},"direction":{"default":"up","title":"Direction","type":"string"},"edge":{"title":"Edge","type":"string"},"feature_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Feature Name"},"handle":{"title":"Handle","type":"string"},"inner_radius_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Inner Radius Mm"},"k_factor":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"K Factor"},"length_from":{"default":"outer","title":"Length From","type":"string"},"length_mm":{"title":"Length Mm","type":"number"},"name":{"default":"SheetFlange","title":"Name","type":"string"},"offset_mm":{"default":0.0,"title":"Offset Mm","type":"number"},"width_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Width Mm"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","edge","length_mm"],"title":"sheet_flangeArguments","type":"object"},"name":"sheet_flange","title":"Sheet Flange"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Sheet Tab"},"description":"Extend a sheet part with a coplanar tab — a flat ear off a free edge with no\nbend at all (a mounting lug, a weld tab, a snap-off).\n\nMechanically it is a zero-angle flange and shares that code path exactly:\n`length_mm` is how far the tab reaches past the edge, `width_mm`/`offset_mm`\nplace it along the edge (default: the whole edge). It adds no bend to the bend\nreport and no bend line to the DXF, but it does grow the flat pattern.\n\nReturns the same dict sheet_flange does (angle_deg 0, inner_radius_mm 0).","inputSchema":{"properties":{"edge":{"title":"Edge","type":"string"},"feature_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Feature Name"},"handle":{"title":"Handle","type":"string"},"length_mm":{"title":"Length Mm","type":"number"},"name":{"default":"SheetTab","title":"Name","type":"string"},"offset_mm":{"default":0.0,"title":"Offset Mm","type":"number"},"width_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Width Mm"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","edge","length_mm"],"title":"sheet_tabArguments","type":"object"},"name":"sheet_tab","title":"Sheet Tab"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Sheet Hem"},"description":"Fold a hem back on itself — the 180-degree return that stiffens a free edge\nand buries the sharp cut line so the part is safe to handle.\n\nkind: 'closed' (inside radius t/2, gap t) or 'open' (radius t, gap 2t).\nradius_mm / gap_mm: override the style directly; the gap between the returned\n    leg and the parent is exactly 2R, so gap wins as radius = gap/2.\n\nlength_mm is ALWAYS the return leg measured from the end of the bend: a\n180-degree bend has no virtual apex to dimension to — the outside surfaces are\nparallel and never meet — so an 'outer' dimension would be infinite. For the\nsame reason a hem reports a bend allowance but no bend deduction, and\nsheet_check screens it as a two-hit hem (bend, then flatten in a hemming die)\nexempt from the air-bend radius and flange rules. A teardrop hem wraps past 180\ndegrees and is out of scope.\n\nReturns the same dict sheet_flange does, plus {hem_kind, gap_mm}.","inputSchema":{"properties":{"direction":{"default":"up","title":"Direction","type":"string"},"edge":{"title":"Edge","type":"string"},"feature_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Feature Name"},"gap_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Gap Mm"},"handle":{"title":"Handle","type":"string"},"kind":{"default":"closed","title":"Kind","type":"string"},"length_mm":{"title":"Length Mm","type":"number"},"name":{"default":"SheetHem","title":"Name","type":"string"},"offset_mm":{"default":0.0,"title":"Offset Mm","type":"number"},"radius_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Radius Mm"},"width_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Width Mm"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","edge","length_mm"],"title":"sheet_hemArguments","type":"object"},"name":"sheet_hem","title":"Sheet Hem"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Sheet Unfold"},"description":"Develop a sheet part into its flat pattern — the blank the part is cut from —\nand report every bend.\n\nThe flat pattern is derived from the bend tree, not reverse-engineered out of\nthe fused solid, so it is exact rather than fitted: each bend contributes its\nbend allowance BA = angle·(R + K·t), the arc length of the neutral fibre.\n\nk_factor: pins K for every bend.\nbend_table: a shop's own measured rows [{thickness_mm, inner_radius_mm,\n    angle_deg, allowance_mm | deduction_mm}] — a matching row OUTRANKS the\n    chart, because the shop's press is the ground truth for the shop's press.\nWithout either, K comes from a press-brake corpus keyed by material and r/t.\nWHICHEVER IT IS, IT IS ECHOED BACK per bend as k_factor + k_source: a flat\nlength whose K you cannot see is a number you cannot check.\n\nbuild: also create the flat blank as a real solid (holes included) at `origin`\n    in the XY plane, so it can be measured, exported or nested.\n\nFidelity: 'exact' only when EVERY bend's K was supplied or table-derived — BA\ngiven K is pure arithmetic. One corpus-defaulted bend makes the development a\n'correlation' with band_pct, and `developed_band_mm` gives the resulting\nmillimetre spread of the blank across that K band.\n\nReturns {ok, handle?, name?, volume?, outline, holes, bend_lines, bends,\nregions, flat_size, flat_bbox, flat_area_mm2, blank_area_mm2,\nblank_volume_mm3, thickness, material, fidelity, band_pct, developed_band_mm,\nwarnings} — `regions` being each flat region's polygon, which is what lets the\nwhole report be handed straight back to sheet_refold. Each\nbend row carries angle_deg, direction, inner_radius_mm, leg_tangent_mm,\nouter_length_mm, bend_allowance_mm, bend_deduction_mm, outside_setback_mm,\nk_factor, k_source, and the bend_line / tangent_start / tangent_end segments in\nflat coordinates. ok=False means the blank cannot be cut as drawn — two feature\nfootprints overlap — with `warnings` naming which.","inputSchema":{"properties":{"bend_table":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Bend Table"},"build":{"default":true,"title":"Build","type":"boolean"},"handle":{"title":"Handle","type":"string"},"k_factor":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"K Factor"},"name":{"default":"SheetFlat","title":"Name","type":"string"},"origin":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Origin"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle"],"title":"sheet_unfoldArguments","type":"object"},"name":"sheet_unfold","title":"Sheet Unfold"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Sheet Refold"},"description":"Fold a flat pattern back up and check it reproduces the part — the other half\nof the unfold gate.\n\nThis does NOT replay the feature model. It reads the flat pattern back: each leg\nlength is measured off the flat outline, walking outward from the bend's\nattachment past its reported bend allowance to the far edge of that region. So a\nwrong allowance, angle or bend direction lands the refolded solid somewhere the\noriginal is not, and this reports the disagreement instead of hiding it.\n\nhandle: a sheet part to unfold and then refold.\nflat: alternatively a sheet_unfold report, to refold a development produced\n    elsewhere (or a deliberately corrupted one, to prove the check bites).\ncompare: the handle to check against; defaults to `handle`, and is skipped when\n    only `flat` is given.\nvolume_tol_pct / bbox_tol_mm: agreement tolerances.\n\nNote the round trip that is meaningful and the one that is not: refold-vs-folded\nmust match, but flat-vs-folded VOLUME must not, and does not. Bending preserves\nneutral-fibre length, not material volume — a bend sector's true volume is\nangle·t·(R + t/2)·w while its flat footprint is angle·(R + K·t)·t·w, and those\nagree only at K = 0.5.\n\nReturns {handle, name, volume_mm3, bbox, bends, compare?} where compare is\n{handle, matches, volume_mm3, volume_error_pct, bbox_max_error_mm, tolerance}.","inputSchema":{"properties":{"bbox_tol_mm":{"default":0.01,"title":"Bbox Tol Mm","type":"number"},"bend_table":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Bend Table"},"compare":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Compare"},"flat":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Flat"},"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Handle"},"k_factor":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"K Factor"},"name":{"default":"SheetRefold","title":"Name","type":"string"},"volume_tol_pct":{"default":0.1,"title":"Volume Tol Pct","type":"number"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"title":"sheet_refoldArguments","type":"object"},"name":"sheet_refold","title":"Sheet Refold"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Sheet Flat Export"},"description":"Write the flat pattern as a LAYERED DXF — the file a laser, punch or\npress-brake shop actually quotes and cuts from. This is the deliverable the\nwhole sheet-metal family exists to produce.\n\nThree layers, because a flat pattern without them is not a shop deliverable:\nCUT carries the closed outer profile and every hole; BEND_UP and BEND_DOWN carry\none centreline per bend, so the operator reads the fold direction off the print\nrather than inferring it. DXF R12 ASCII in millimetres, written directly rather\nthan through TechDraw — a flat pattern is not a drawing view and does not want a\nsheet frame, a scale or a title block around it. `path` must end in .dxf.\n\nTakes the same k_factor / bend_table arguments as sheet_unfold, since the\noutline it writes IS the development.\n\nReturns {ok, path, size, layers, entities, flat_size, blank_area_mm2, bends\n(with bend_allowance_mm, bend_deduction_mm, k_factor and k_source per bend),\nfidelity, band_pct, warnings}.","inputSchema":{"properties":{"bend_table":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Bend Table"},"handle":{"title":"Handle","type":"string"},"k_factor":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"K Factor"},"path":{"title":"Path","type":"string"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle","path"],"title":"sheet_flat_exportArguments","type":"object"},"name":"sheet_flat_export","title":"Sheet Flat Export"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Sheet Check"},"description":"Press-brake manufacturability screen for a sheet part — four rules, each with\nthe number it came from:\n\n  min_bend_radius   — an inside radius below the material's minimum (a corpus\n                      value per material: 3t for 6061-T6, 1t for A36, 0.5t for\n                      annealed 1100) cracks the outer fibre.\n  min_flange_length — an outer leg under 4t + R has no die shoulder to sit on\n                      and dives into the vee.\n  hole_to_bend      — a hole whose EDGE is nearer the bend tangent than 2t + R\n                      draws into an oval. Holes are read off the real solid, not\n                      declared.\n  refold_collision  — two features that occupy the same space once folded,\n                      found by actually intersecting them rather than by a rule.\n\nA hem is screened as a two-hit hem (bend, then flatten) and exempted from the\nair-bend radius and flange rules, which would otherwise fail every hem ever\ndrawn. A flat pattern whose feature footprints overlap is a finding too, not a\nwarning dropped on the floor. An unrecognised material degrades to a bend-class\nfallback WITH an info finding saying so, rather than skipping the rule silently.\n\nmin_flange_t / hole_to_bend_t: override the thresholds (multiples of thickness).\n\nfidelity='correlation' with band_pct=None — these are press-brake rules of\nthumb, thresholds for ranking and gating rather than measured predictions.\n\nReturns {ok, findings, fail_count, rules, min_bend_radius_mm,\nmin_bend_radius_source, flat_size, blank_area_mm2, k_factors, thickness_mm,\nmaterial, fidelity, band_pct}. Each finding carries {code, severity, message}\nplus the measured value and the limit it missed.","inputSchema":{"properties":{"bend_table":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Bend Table"},"handle":{"title":"Handle","type":"string"},"hole_to_bend_t":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Hole To Bend T"},"k_factor":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"K Factor"},"min_flange_t":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Min Flange T"},"workspace":{"default":"","description":"Run this call in this named workspace","title":"Workspace","type":"string"}},"required":["handle"],"title":"sheet_checkArguments","type":"object"},"name":"sheet_check","title":"Sheet Check"}]}}}
