The models.py module#

Summary#

CapabilityInfo

Static description of one tool/feature exposed by a leaf.

SessionStatus

Result of session.status. It is safe to call before connect.

ConnectionTarget

Minimal connection descriptor surfaced to clients/UI for selection.

ConnectResult

Result of a connect call.

RunCodeResult

Result of a code execution call.

TypedError

Generic error envelope used when a tool can’t return its native shape.

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.