MCPAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

rename_window

Change tmux state; no client-supplied executable input. Replaces a window’s name.

All Go tools · JSON · Source

Arguments

new_name required · string
the literal new window name
window_id required · 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": {
"name": {
"type": "string"
},
"windowId": {
"type": "string"
}
},
"required": [
"windowId",
"name"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"openWorldHint": true,
"title": "Rename a window"
}
Esc

Type to search.