teardown_session
-
Destroy an exact generation-bound session created by this application. Borrowed sessions are refused. Configured tmux hooks and aliases may have effects, including during observation.
- MCP request method
tools/callSendteardown_sessionas the tool name, with the arguments below.- Wraps
LibTmux.kill_sessionThe library call this tool makes:packages/LibTmuxMCP/src/tools.jl:972.- Tool selection
- Opt in with
--tool teardown_session.
Arguments
-
Valid UTF-8; at most 128 bytes
- maxLength
128
-
Valid UTF-8; at most 64 bytes
- maxLength
64
No other arguments are accepted.
Result
Matches one or more variants.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalse
Capability
- Toolset
- Teardown Delete tmux objects or retained scrollback. Not reversible.
- Process reach
none- tmux effects
observedelete
Every Julia tool advertises the same annotations, so a host that approves by annotation cannot tell tools apart. The capability row is what tells them apart.
Protocol data
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {"generation": {"description": "Valid UTF-8; at most 128 bytes","maxLength": 128,"type": "string"},"sessionId": {"description": "Valid UTF-8; at most 64 bytes","maxLength": 64,"type": "string"}},"required": ["sessionId","generation"],"type": "object"}Output schema
{"anyOf": [{"additionalProperties": false,"properties": {"completed": {"type": "boolean"},"generation": {"type": "string"},"sessionId": {"type": "string"}},"required": ["completed","sessionId","generation"],"type": "object"},{"properties": {"error": {"additionalProperties": false,"properties": {"code": {"type": "string"},"effects": {"enum": ["none","possible"]},"message": {"type": "string"},"output": {"type": "string"},"retryable": {"type": "boolean"}},"required": ["code","message","effects","retryable"],"type": "object"}},"required": ["error"],"type": "object"}],"type": "object"}