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

libtmux_mcp.models.RunCommandResult

Python
  • Python
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

API reference · Markdown

class libtmux_mcp.models.RunCommandResult
class [source]
class [source]
class libtmux_mcp.models.RunCommandResult
Bases:
  • BaseModel

Result of running a shell command in a pane.

Members

pane_id

pane_id : str = Field(description="Pane ID that received the command")
attribute [source]
attribute [source]
pane_id

exit_status

exit_status : int | None = Field( default=None, description="Shell exit status, or None when the command timed out", )
attribute [source]
attribute [source]
exit_status

Discussed in Python MCP topics

timed_out

timed_out : bool = Field(description="True when the wait timed out")
attribute [source]
attribute [source]
timed_out

Discussed in Python MCP topics

elapsed_seconds

elapsed_seconds : float = Field(description="Time spent waiting in seconds")
attribute [source]
attribute [source]
elapsed_seconds

output

output : list[str] = Field( default_factory=list, description="Tail-preserved pane output after the wait completes", )
attribute [source]
attribute [source]
output

Discussed in Python MCP topics

output_truncated

output_truncated : bool = Field( default=False, description="True when output was tail-preserved to stay within max_lines", )
attribute [source]
attribute [source]
output_truncated

output_truncated_lines

output_truncated_lines : int = Field( default=0, description="Number of pane lines dropped from the head when truncating", )
attribute [source]
attribute [source]
output_truncated_lines

effective_timeout

effective_timeout : float = Field( description=( "Seconds actually enforced for command completion. Server " "policy caps the requested ``timeout``; compare against what " "you passed to see a clamp." ) )
attribute [source]
attribute [source]
effective_timeout
Esc

Type to search.