# mcp.src.TmuxTools.run_command

- **Module:** mcp.src.TmuxTools
- **Package:** tmux-mcp
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/tmux-mcp/src/tools/observe.rs#L241
- **Page:** https://libtmux.org/en/rs/latest/mcp/reference/mcp-src-tmuxtools-run_command/

```
mcp.src.TmuxTools.run_command(self, Parameters(RunCommandArgs {
            pane,
            command,
            seconds,
            suppress_history,
        }): Parameters<RunCommandArgs>, cancelled: tokio_util::sync::CancellationToken, reporter: Reporter) -> Result<Json<RunView>, ToolError>
```

Run a command in a pane and report how it went.
