MCPconceptAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

mcp.src.TmuxTools.split_window

#[tool_router(router = contract_router, vis = "pub(super)")] impl TmuxTools #[tool( description = "Split a window and start the configured process with no command payload.", title = "Split Window", meta = crate::capability_meta!( Execute, ConfiguredProcess, effects = [Change], outputs = [TmuxMetadata], secrets = true, untrusted = true, sinks = { "pane" => [TmuxLookup], "direction" => [TmuxState], "percent" => [TmuxState], "start_directory" => [TmuxState, TmuxFormat] }, literalized = ["start_directory"], nested = [], self_bounded = false, always_load = false, ) )] pub async fn split_window( &self, Parameters(SplitWindowArgs { pane, direction, percent, start_directory, }): Parameters<SplitWindowArgs>, ) -> Result<Json<PaneView>, ToolError>
Esc

Type to search.

Reference previewOpen reference