set_pane_title
-
Change tmux state; no client-supplied executable input. Give a pane a title. Useful for labelling what an agent put where, since the title shows in list_panes and survives the command changing.
- MCP request method
tools/callSendset_pane_titleas the tool name, with the arguments below.- Wraps
pane.Pane.setTitleThe library call this tool makes:packages/mcp/src/tools/layout.ts:367.
Arguments
Result
Returns object
-
-
Whether this is its window’s active pane.
-
The command tmux reports running in it.
-
Its current working directory.
-
Whether its process exited and remain-on-exit kept it.
-
- minimum
-9007199254740991- maximum
9007199254740991
-
Stable pane id. Prefer this for entity-scoped targeting.
- pattern
"^%\\d+$"
-
- minimum
-9007199254740991- maximum
9007199254740991
-
A person is currently looking at this pane.
-
This is the pane this MCP server runs in.
-
Whether every projected metadata string is complete.
-
omittedMetadataBytes(integer)UTF-8 bytes omitted from projected metadata strings.
- minimum
0- maximum
9007199254740991
-
Later placements omitted.
- minimum
0- maximum
9007199254740991
-
Retained session and window indexes through which this pane is reachable.
-
Whether placements contains every placement.
-
- minimum
-9007199254740991- maximum
9007199254740991
-
Stable window id, e.g. @1.
- pattern
"^@\\d+$"
No other properties are accepted.
-
No other properties are accepted.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalse
Capability
- Toolset
- Manage Change tmux structure or presentation.
- Process reach
none- tmux effects
observechange
Every TypeScript 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
{"$schema": "http://json-schema.org/draft-07/schema#","properties": {"paneId": {"description": "Stable pane id, e.g. %1.","pattern": "^%\\d+$","type": "string"},"title": {"description": "The pane's new title.","type": "string","x-libtmux-tmux-format": "literalized-once"}},"required": ["paneId","title"],"type": "object"}Output schema
{"$schema": "http://json-schema.org/draft-07/schema#","additionalProperties": false,"properties": {"pane": {"additionalProperties": false,"properties": {"active": {"description": "Whether this is its window's active pane.","type": "boolean"},"command": {"description": "The command tmux reports running in it.","type": "string"},"cwd": {"description": "Its current working directory.","type": "string"},"dead": {"description": "Whether its process exited and remain-on-exit kept it.","type": "boolean"},"height": {"maximum": 9007199254740991,"minimum": -9007199254740991,"type": "integer"},"id": {"description": "Stable pane id. Prefer this for entity-scoped targeting.","pattern": "^%\\d+$","type": "string"},"index": {"maximum": 9007199254740991,"minimum": -9007199254740991,"type": "integer"},"isAttended": {"description": "A person is currently looking at this pane.","type": "boolean"},"isCallerPane": {"description": "This is the pane this MCP server runs in.","type": "boolean"},"metadataComplete": {"description": "Whether every projected metadata string is complete.","type": "boolean"},"omittedMetadataBytes": {"description": "UTF-8 bytes omitted from projected metadata strings.","maximum": 9007199254740991,"minimum": 0,"type": "integer"},"omittedPlacements": {"description": "Later placements omitted.","maximum": 9007199254740991,"minimum": 0,"type": "integer"},"placements": {"description": "Retained session and window indexes through which this pane is reachable.","items": {"additionalProperties": false,"properties": {"index": {"description": "The window index in this session.","maximum": 9007199254740991,"minimum": -9007199254740991,"type": "integer"},"sessionId": {"description": "Stable session id, e.g. $1.","pattern": "^\\$\\d+$","type": "string"},"sessionName": {"type": "string"}},"required": ["index","sessionId","sessionName"],"type": "object"},"type": "array"},"placementsComplete": {"description": "Whether placements contains every placement.","type": "boolean"},"title": {"type": "string"},"width": {"maximum": 9007199254740991,"minimum": -9007199254740991,"type": "integer"},"windowId": {"description": "Stable window id, e.g. @1.","pattern": "^@\\d+$","type": "string"},"windowName": {"type": "string"}},"required": ["active","command","cwd","dead","height","id","index","isAttended","isCallerPane","metadataComplete","omittedMetadataBytes","omittedPlacements","placements","placementsComplete","title","width","windowId","windowName"],"type": "object"}},"required": ["pane"],"type": "object"}