mcp.src.TmuxTools.get_tmux_variables
- #[tool_router(router = contract_router, vis = "pub(super)")] impl Tmux
Tools #[tool( description = "Read a bounded set of tmux variables against one pane. tmux reads a \ name it does not know as a format from its environment, so a name the \ server or session environment holds is refused unless the operator \ listed it in LIBTMUX_ENVIRONMENT_VALUES at startup.", title = "Get tmux Variables", meta = crate::capability_meta!( Inspect, None, effects = [Observe], outputs = [TmuxMetadata, ConfiguredCommand], secrets = true, untrusted = true, sinks = {"names" => [TmuxFormat], "pane" => [TmuxLookup]}, literalized = [], format_validated = ["names"], nested = [], self_bounded = false, always_load = false, ) )] pub async fn get_tmux_variables( &self, Parameters(VariablesArgs { names, pane }) : Parameters<VariablesArgs >, ) -> Result<Json<VariablesValue >, ToolError > -
- Parameters