rename_session
-
Change tmux state; no client-supplied executable input. Set a literal-safe session name.
- MCP request method
tools/callSendrename_sessionas the tool name, with the arguments below.- Wraps
Server.rename(_:to:)The library call this tool makes:Sources/LibTmuxMCP/CapabilityHandlers.swift:472.
Arguments
No other arguments are accepted.
Result
Returns object
No other properties are accepted.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Rename session"
Capability
- Toolset
- Manage Change tmux structure or presentation.
- Process reach
none- tmux effects
changeobserve
Every Swift 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": {"name": {"description": "Caller-controlled name.","type": "string"},"session": {"description": "Caller-controlled session.","type": "string"}},"required": ["name","session"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"name": {"type": "string"},"sessionId": {"type": "string"}},"required": ["name","sessionId"],"type": "object"}