MCPpre-alphaAPI Reference

Choose documentation 3

stable

Current version

stable
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

libtmux_mcp.models.ToolCallOperationResult

class libtmux_mcp.models.ToolCallOperationResult
Bases:
  • BaseModel

Per-operation result from a generic MCP tool batch.

Members

index : int = Field(description="Zero-based index in the submitted operation list.")
tool : str = Field(description="Nested tool name that was attempted.")
success : bool = Field(description="True when this nested tool call succeeded.")
error : str | None = Field( default=None, description="Error message for this operation, if it failed.", )
content : list[dict[str, t.Any]] = Field( default_factory=list, description="MCP content blocks returned by the nested tool.", )
structured_content : dict[str, t.Any] | None = Field( default=None, description="Structured content returned by the nested tool, if any.", )
meta : dict[str, t.Any] | None = Field( default=None, description="Runtime metadata returned by the nested tool, if any.", )
elapsed_seconds : float = Field(description="Time spent on this operation.")
Esc

Type to search.

Reference preview Open reference