The ``lib`` package
=======================
.. py:module:: ansys.fluent.mcp.solve.lib
Summary
-------
.. py:currentmodule:: lib
.. tab-set::
.. tab-item:: Submodules
.. list-table::
:header-rows: 0
:widths: auto
* - :py:obj:`~ansys.fluent.mcp.solve.lib.active_path`
- Active-path resolver — one deterministic primitive for mode-dependent paths.
* - :py:obj:`~ansys.fluent.mcp.solve.lib.compare_tools`
- Shared, stateless implementation for the ``compare_files`` tool.
* - :py:obj:`~ansys.fluent.mcp.solve.lib.discovery_tools`
- Solve-leaf live-introspection domain tools (shared implementation).
* - :py:obj:`~ansys.fluent.mcp.solve.lib.domain_tools`
- Solve-leaf domain tools (canonical catalog).
* - :py:obj:`~ansys.fluent.mcp.solve.lib.intent_guard`
- Static, Fluent-specific risk classifier for ``run_code`` snippets.
* - :py:obj:`~ansys.fluent.mcp.solve.lib.mesh_tools`
- Solve-leaf mesh-introspection domain tools (shared implementation).
* - :py:obj:`~ansys.fluent.mcp.solve.lib.pattern`
- Wildcard/pattern helpers for named-object selection.
* - :py:obj:`~ansys.fluent.mcp.solve.lib.schema_probe_tools`
- Live-schema probe tools.
* - :py:obj:`~ansys.fluent.mcp.solve.lib.units`
- Unit- and quantity-aware parsing for free-text Fluent values.
* - :py:obj:`~ansys.fluent.mcp.solve.lib.utl`
- UTL (Unified Topology Layer) detection, toggling, and path translation.
.. toctree::
:titlesonly:
:maxdepth: 1
:hidden:
active_path
compare_tools
discovery_tools
domain_tools
intent_guard
mesh_tools
pattern
schema_probe_tools
units
utl
Description
-----------
Cross-cutting solve helpers that aren't backend/catalog/agent.
* :mod:`ansys.fluent.mcp.solve.lib.utl`: Unified Topology Layer
detection and the :class:`PathFamily` helper used by every
UTL-aware recipe and rule pack.
* :mod:`ansys.fluent.mcp.solve.lib.units`: Unit conversion and
quantity-hint helpers.
* :mod:`ansys.fluent.mcp.solve.lib.pattern`: Wildcard pattern
matching used by named-object resolution (also surfaced through
:mod:`ansys.fluent.mcp.common.backend`).
These modules carry no model orchestration, no agent-loop, and no Fluent connection
state. They are pure helpers that the MCP, the backends, and the
agent layer all share.
..
!! processed by numpydoc !!