rename_window
Replaces a window’s name. Change tmux state; no client-supplied executable input.
All Java tools · JSON · Source
Arguments
new_namerequired · string- The literal new window name.
window_idrequired · string- The window ID, such as @1.
Schemas
The schema defines required fields, nested values, defaults, and validation constraints.
Input schema
{ "additionalProperties": false, "properties": { "new_name": { "description": "The literal new window name.", "type": "string" }, "window_id": { "description": "The window ID, such as @1.", "type": "string" } }, "required": [ "window_id", "new_name" ], "type": "object"}Output schema
{ "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "id": { "type": "string" }, "index": { "type": "integer" }, "name": { "type": "string" }, "panes": { "type": "integer" }, "session_id": { "type": "string" }, "size": { "type": "string" } }, "required": [ "id", "index", "name", "session_id", "active", "panes", "size" ], "type": "object"}Tool annotations
{ "destructiveHint": true, "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, "title": "Rename a window"}