rename_session
Change tmux state; no client-supplied executable input. Rename a tmux session. Its id does not change, so anything holding one still works.
All C# tools · JSON · Source
Arguments
namerequired · string- The new session name.
sessionoptional · string | null- A session id or name. Omit for the first session.
Default:
null.
Schemas
The schema defines required fields, nested values, defaults, and validation constraints.
Input schema
{ "additionalProperties": false, "properties": { "name": { "description": "The new session name.", "type": "string" }, "session": { "default": null, "description": "A session id or name. Omit for the first session.", "type": [ "string", "null" ] } }, "required": [ "name" ], "type": "object"}Output schema
{ "properties": { "changed": { "type": "string" }, "paneId": { "default": null, "type": [ "string", "null" ] }, "sessionId": { "default": null, "type": [ "string", "null" ] }, "windowId": { "default": null, "type": [ "string", "null" ] } }, "required": [ "changed" ], "type": "object"}Tool annotations
{ "destructiveHint": true, "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, "title": "Rename session"}