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

signal_channel

signal_channel( channel: string, seconds?: integer | null, )

Signal a tmux wait-for channel, releasing every current waiter. With no waiter, one signal is latched; signalling the same channel again clears that latch. Change tmux state; no client-supplied executable input.

MCP request method
tools/call Send signal_channel as the tool name, with the arguments below.
Wraps
server.Server.signal_channelThe library call this tool makes: crates/tmux-mcp/src/tools/control.rs:755.

Arguments

  • channel (string)

    The channel name, which is any string both sides agree on.

  • seconds? (integer | null)

    How long to wait, in seconds. Defaults to 30, capped at 600.

    minimum
    0

No other arguments are accepted.

Result

Returns object

Annotations

Advertised by the server

destructiveHint
false
idempotentHint
false
openWorldHint
false
readOnlyHint
false
title
"Signal Channel"

Capability

Toolset
Manage Change tmux structure or presentation.
Process reach
none
tmux effects
change

The capability row states what this tool reads, changes and reaches; the annotations are as the server advertises them.

Protocol data

Use the complete advertised contract for validation and client integration.

Input schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"channel": {
"description": "The channel name, which is any string both sides agree on.",
"type": "string"
},
"seconds": {
"description": "How long to wait, in seconds. Defaults to 30, capped at 600.",
"minimum": 0,
"type": [
"integer",
"null"
]
}
},
"required": [
"channel"
],
"type": "object"
}
Output schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"channel": {
"description": "The channel that was signalled.",
"type": "string"
}
},
"required": [
"channel"
],
"type": "object"
}
Esc
Search in

Type to search.

Reference previewOpen reference