MCPconceptTools

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

Concept example A working example of the core library. It can change without notice. What concept means

tool MCP

set_synchronize_panes

set_synchronize_panes( enabled?: boolean, window_id: string, )

Change tmux state; no client-supplied executable input. Sets the window synchronization default (synchronize-panes); pane-level overrides still decide which panes receive later input.

MCP request method
tools/call Send set_synchronize_panes as the tool name, with the arguments below.
Wraps
tmux.Window.SetOptionThe library call this tool makes: mcp/capability_handlers.go:725.

Arguments

No other arguments are accepted.

Result

Returns object

No other properties are accepted.

Annotations

Advertised by the server

destructiveHint
true
idempotentHint
false
openWorldHint
true
readOnlyHint
false
title
"Set synchronized panes"

Capability

Toolset
Execute Start or drive pane processes, or store state that can control later execution.
Process reach
none
tmux effects
change

Every Go 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": {
"enabled": {
"description": "whether pane input is synchronized",
"type": "boolean"
},
"window_id": {
"description": "the window id, such as @1",
"type": "string"
}
},
"required": [
"window_id"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"enabled": {
"type": [
"null",
"boolean"
]
},
"name": {
"type": "string"
},
"target": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
Esc
Search in

Type to search.

Reference previewOpen reference