The models.py module#
Summary#
Static description of one tool/feature exposed by a leaf. |
|
Result of session_status - safe to call before connect. |
|
Minimal connection descriptor surfaced to the LLM/UI for selection. |
|
Result returned by the connection tool. |
|
One selectable answer for a clarification question. |
|
Question returned when code generation needs more information. |
|
Result of a CFX codegen call. |
|
Result returned after validating or executing Python code. |
|
Markdown response from a remediation/help endpoint (e.g. Prime meshing). |
|
Generic error envelope used when a tool can’t return its native shape. |
Description#
Typed contracts shared by PyCFX-MCP.
These are the response shapes that LLM clients see. Keeping them small, JSON-friendly, and stable is what makes orchestration reliable.