The ``models.py`` module
========================
.. py:module:: ansys.fluent.mcp.common.models
Summary
-------
.. py:currentmodule:: models
.. tab-set::
.. tab-item:: Classes
.. list-table::
:header-rows: 0
:widths: auto
* - :py:obj:`~ansys.fluent.mcp.common.models.CapabilityInfo`
- Static description of one tool/feature exposed by a leaf.
* - :py:obj:`~ansys.fluent.mcp.common.models.SessionStatus`
- Result of ``session.status``. It is safe to call before ``connect``.
* - :py:obj:`~ansys.fluent.mcp.common.models.ConnectionTarget`
- Minimal connection descriptor surfaced to clients/UI for selection.
* - :py:obj:`~ansys.fluent.mcp.common.models.ConnectResult`
- Result of a ``connect`` call.
* - :py:obj:`~ansys.fluent.mcp.common.models.RunCodeResult`
- Result of a code execution call.
* - :py:obj:`~ansys.fluent.mcp.common.models.TypedError`
- Generic error envelope used when a tool can't return its native shape.
.. toctree::
:titlesonly:
:maxdepth: 1
:hidden:
CapabilityInfo
SessionStatus
ConnectionTarget
ConnectResult
RunCodeResult
TypedError
Description
-----------
Typed contracts shared by every Fluids MCP leaf.
These are the response shapes that MCP clients see. Keeping them small,
JSON-friendly, and stable is what makes orchestration reliable.
..
!! processed by numpydoc !!