mcp.src.TmuxTools.create_window
- #[tool_router(router = contract_router, vis = "pub(super)")] impl Tmux
Tools #[tool( description = "Create a window running its configured process.", title = "Create Window", meta = crate::capability_meta!( Execute, ConfiguredProcess, effects = [Change], outputs = [TmuxMetadata], secrets = true, untrusted = true, sinks = { "session" => [TmuxLookup], "name" => [TmuxState, TmuxFormat], "start_directory" => [TmuxState, TmuxFormat] }, literalized = ["name", "start_directory"], nested = [], self_bounded = false, always_load = false, ) )] pub async fn create_window( &self, Parameters(CreateWindow : Parameters<CreateWindowArgs>, ) -> Result<Json<WindowArgs { session, name, start _directory, }) View >, ToolError > -
- Parameters
-
-
Parameters(CreateWindowArgs { session, name, start_directory, })(Parameters<CreateWindowArgs>) #
-